Skip to content

Commit 3f5604d

Browse files
committed
Update from gnulib.
1 parent 9f1ef47 commit 3f5604d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2004-04-28 Bruno Haible <bruno@clisp.org>
2+
3+
* progreloc.c (ISSLASH, IS_PATH_WITH_DIR, FILE_SYSTEM_PREFIX_LEN):
4+
Treat Cygwin like Windows, since it now accepts Windows pathnames.
5+
16
2005-06-09 Bruno Haible <bruno@clisp.org>
27

38
* Makefile.in (mkinstalldirs): Use build-aux/ instead of autoconf/.

srclib/progreloc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@
6868
&& (P)[1] == ':')
6969
# define IS_PATH_WITH_DIR(P) \
7070
(strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P))
71-
# define FILESYSTEM_PREFIX_LEN(P) (HAS_DEVICE (P) ? 2 : 0)
71+
# define FILE_SYSTEM_PREFIX_LEN(P) (HAS_DEVICE (P) ? 2 : 0)
7272
#else
7373
/* Unix */
7474
# define ISSLASH(C) ((C) == '/')
7575
# define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL)
76-
# define FILESYSTEM_PREFIX_LEN(P) 0
76+
# define FILE_SYSTEM_PREFIX_LEN(P) 0
7777
#endif
7878

7979
#undef set_program_name

0 commit comments

Comments
 (0)