This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: file system handling patch for libiberty (rev 2)
- To: "Mark E." <snowball3 at bigfoot dot com>
- Subject: Re: file system handling patch for libiberty (rev 2)
- From: Alexandre Oliva <aoliva at cygnus dot com>
- Date: 27 Apr 2000 16:31:47 -0300
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: Cygnus Solutions, a Red Hat Company
- References: <39084F73.25142.1A5C5B@localhost>
On Apr 27, 2000, "Mark E." <snowball3@bigfoot.com> wrote:
> + IS_DIR_SEPARATOR(*f) || (f[1] == ':' && IS_DIR_SEPARATOR(f[2]))
Call me paranoid, but please add `f[0] != '\0' &&' before `f[1] == ':''.
:-)
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me