projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dc1c3a
)
(dir_name): Use __MSDOS__ in favor of MSDOS.
author
Jim Meyering
<jim@meyering.net>
Sat, 29 Jul 2000 17:11:33 +0000
(17:11 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 29 Jul 2000 17:11:33 +0000
(17:11 +0000)
lib/dirname.c
patch
|
blob
|
history
diff --git
a/lib/dirname.c
b/lib/dirname.c
index 37f58586196eabcef1e5eea8fe3f418491a135ca..d332b5e4695fe73f54226a748b3fad6729b02141 100644
(file)
--- a/
lib/dirname.c
+++ b/
lib/dirname.c
@@
-65,7
+65,7
@@
dir_name (const char *path)
else
{
/* Remove any trailing slashes from the result. */
-#ifdef
MSDOS
+#ifdef
__MSDOS__
const char *lim = ((path[0] >= 'A' && path[0] <= 'z' && path[1] == ':')
? path + 2 : path);