file system handling patch for libiberty (rev 2)

Alexandre Oliva aoliva@cygnus.com
Thu Apr 27 12:32:00 GMT 2000


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



More information about the Gcc-patches mailing list