mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
2007-01-11 H.J. Lu <hongjiu.lu@intel.com>
* bucomm.c (template_in_dir): Fix typo.
This commit is contained in:
parent
fd3efd452f
commit
2946671ecd
@ -1,3 +1,7 @@
|
||||
2007-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* bucomm.c (template_in_dir): Fix typo.
|
||||
|
||||
2007-01-11 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* embedspu.sh: New file.
|
||||
|
@ -394,7 +394,7 @@ static char *
|
||||
template_in_dir (const char *path)
|
||||
{
|
||||
#define template "stXXXXXX"
|
||||
char *slash = strrchr (path, '/');
|
||||
const char *slash = strrchr (path, '/');
|
||||
char *tmpname;
|
||||
size_t len;
|
||||
|
||||
@ -406,7 +406,7 @@ template_in_dir (const char *path)
|
||||
if (slash == NULL || (bslash != NULL && bslash > slash))
|
||||
slash = bslash;
|
||||
if (slash == NULL && path[0] != '\0' && path[1] == ':')
|
||||
slash = filename + 1;
|
||||
slash = path + 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user