summaryrefslogtreecommitdiffstats
path: root/gl/dirname-lgpl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/dirname-lgpl.c')
-rw-r--r--gl/dirname-lgpl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gl/dirname-lgpl.c b/gl/dirname-lgpl.c
index d4506e0..82f6630 100644
--- a/gl/dirname-lgpl.c
+++ b/gl/dirname-lgpl.c
@@ -1,6 +1,6 @@
1/* dirname.c -- return all but the last element in a file name 1/* dirname.c -- return all but the last element in a file name
2 2
3 Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2010 Free Software 3 Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2013 Free Software
4 Foundation, Inc. 4 Foundation, Inc.
5 5
6 This program is free software: you can redistribute it and/or modify 6 This program is free software: you can redistribute it and/or modify
@@ -25,7 +25,7 @@
25 25
26/* Return the length of the prefix of FILE that will be used by 26/* Return the length of the prefix of FILE that will be used by
27 dir_name. If FILE is in the working directory, this returns zero 27 dir_name. If FILE is in the working directory, this returns zero
28 even though `dir_name (FILE)' will return ".". Works properly even 28 even though 'dir_name (FILE)' will return ".". Works properly even
29 if there are trailing slashes (by effectively ignoring them). */ 29 if there are trailing slashes (by effectively ignoring them). */
30 30
31size_t 31size_t
@@ -53,9 +53,9 @@ dir_len (char const *file)
53} 53}
54 54
55 55
56/* In general, we can't use the builtin `dirname' function if available, 56/* In general, we can't use the builtin 'dirname' function if available,
57 since it has different meanings in different environments. 57 since it has different meanings in different environments.
58 In some environments the builtin `dirname' modifies its argument. 58 In some environments the builtin 'dirname' modifies its argument.
59 59
60 Return the leading directories part of FILE, allocated with malloc. 60 Return the leading directories part of FILE, allocated with malloc.
61 Works properly even if there are trailing slashes (by effectively 61 Works properly even if there are trailing slashes (by effectively