summaryrefslogtreecommitdiffstats
path: root/gl/dirname-lgpl.c
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-08-19 21:27:12 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-19 21:27:12 (GMT)
commit26fbe7f1e68bb0c96da32491efcf3696fe6c299b (patch)
treec4d95289187a64e9c7517bf73d8208026c3d2fb3 /gl/dirname-lgpl.c
parent5f79e3e9f62ca5487d9881973149136ba1d19d3e (diff)
downloadmonitoring-plugins-26fbe7f1e68bb0c96da32491efcf3696fe6c299b.tar.gz
Sync with the latest Gnulib code (6f2d632)
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