* fhandler_disk_file.cc (path_conv::ndisk_links): Fix problem where search
characters overwrote the path instead of being tacked on the end.
This commit is contained in:
parent
fb3dd71676
commit
21d7ec1928
|
@ -1,3 +1,9 @@
|
|||
2003-09-12 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* fhandler_disk_file.cc (path_conv::ndisk_links): Fix problem where
|
||||
search characters overwrote the path instead of being tacked on the
|
||||
end.
|
||||
|
||||
2003-09-12 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* dcrt0.cc (_dll_crt0): Accommodate breaking apart of early_stuff_init.
|
||||
|
|
|
@ -53,9 +53,9 @@ path_conv::ndisk_links (DWORD nNumberOfLinks)
|
|||
}
|
||||
|
||||
if (len == 0 || isdirsep (fn[len - 1]))
|
||||
strcpy (fn, s + 1);
|
||||
strcpy (fn + len, s + 1);
|
||||
else
|
||||
strcat (fn, s);
|
||||
strcpy (fn + len, s);
|
||||
|
||||
WIN32_FIND_DATA buf;
|
||||
HANDLE h = FindFirstFile (fn, &buf);
|
||||
|
|
Loading…
Reference in New Issue