mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-15 14:01:04 +08:00
protoize.c (abspath): Preserve multiple leading slashes for _WIN32 and Interix.
* protoize.c (abspath): Preserve multiple leading slashes for _WIN32 and Interix. Co-Authored-By: Donn Terry <donn@interix.com> From-SVN: r25933
This commit is contained in:
parent
2aa0c933d1
commit
8ebf19db46
@ -1,3 +1,9 @@
|
||||
Tue Mar 23 22:51:48 1999 Mumit Khan <khan@xraylith.wisc.edu>
|
||||
Donn Terry <donn@interix.com>
|
||||
|
||||
* protoize.c (abspath): Preserve multiple leading slashes for
|
||||
_WIN32 and Interix.
|
||||
|
||||
1999-01-23 Mike Stump <mrs@wrs.com>
|
||||
|
||||
* arm/vxarm.h: Split out vxWorks support into separate headerfile
|
||||
|
@ -1287,7 +1287,7 @@ abspath (cwd, rel_filename)
|
||||
|
||||
outp = inp = abs_buffer;
|
||||
*outp++ = *inp++; /* copy first slash */
|
||||
#ifdef apollo
|
||||
#if defined (apollo) || defined (_WIN32) || defined (__INTERIX)
|
||||
if (inp[0] == '/')
|
||||
*outp++ = *inp++; /* copy second slash */
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user