Typos in bucomm.c
H. J. Lu
hjl@lucon.org
Thu Jan 11 20:22:00 GMT 2007
Hi Alan,
Your patch:
http://sourceware.org/ml/binutils/2007-01/msg00109.html
won't compile if HAVE_DOS_BASED_FILE_SYSTEM is defined. There are
#ifdef HAVE_DOS_BASED_FILE_SYSTEM
{
/* We could have foo/bar\\baz, or foo\\bar, or d:bar. */
char *bslash = strrchr (path, '\\');
if (slash == NULL || (bslash != NULL && bslash > slash))
slash = bslash;
if (slash == NULL && path[0] != '\0' && path[1] == ':')
slash = filename + 1;
}
#endif
But filename is never defined.
H.J.
More information about the Binutils
mailing list