This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Typos in bucomm.c
- From: "H. J. Lu" <hjl at lucon dot org>
- To: amodra at bigpond dot net dot au
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 11 Jan 2007 12:22:30 -0800
- Subject: Typos in bucomm.c
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.