diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-19 23:27:12 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-19 23:27:12 +0200 |
commit | 26fbe7f1e68bb0c96da32491efcf3696fe6c299b (patch) | |
tree | c4d95289187a64e9c7517bf73d8208026c3d2fb3 /gl/dirname-lgpl.c | |
parent | 5f79e3e9f62ca5487d9881973149136ba1d19d3e (diff) | |
download | monitoring-plugins-26fbe7f1e68bb0c96da32491efcf3696fe6c299b.tar.gz |
Sync with the latest Gnulib code (6f2d632)
Diffstat (limited to 'gl/dirname-lgpl.c')
-rw-r--r-- | gl/dirname-lgpl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gl/dirname-lgpl.c b/gl/dirname-lgpl.c index d4506e06..82f66301 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 | ||
31 | size_t | 31 | size_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 |