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/basename.c | |
parent | 5f79e3e9f62ca5487d9881973149136ba1d19d3e (diff) | |
download | monitoring-plugins-26fbe7f1e68bb0c96da32491efcf3696fe6c299b.tar.gz |
Sync with the latest Gnulib code (6f2d632)
Diffstat (limited to 'gl/basename.c')
-rw-r--r-- | gl/basename.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gl/basename.c b/gl/basename.c index 24da93ac..d73fd41a 100644 --- a/gl/basename.c +++ b/gl/basename.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* basename.c -- return the last element in a file name | 1 | /* basename.c -- return the last element in a file name |
2 | 2 | ||
3 | Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2010 Free Software | 3 | Copyright (C) 1990, 1998-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 |
@@ -40,8 +40,8 @@ base_name (char const *name) | |||
40 | if (ISSLASH (base[length])) | 40 | if (ISSLASH (base[length])) |
41 | length++; | 41 | length++; |
42 | 42 | ||
43 | /* On systems with drive letters, `a/b:c' must return `./b:c' rather | 43 | /* On systems with drive letters, "a/b:c" must return "./b:c" rather |
44 | than `b:c' to avoid confusion with a drive letter. On systems | 44 | than "b:c" to avoid confusion with a drive letter. On systems |
45 | with pure POSIX semantics, this is not an issue. */ | 45 | with pure POSIX semantics, this is not an issue. */ |
46 | if (FILE_SYSTEM_PREFIX_LEN (base)) | 46 | if (FILE_SYSTEM_PREFIX_LEN (base)) |
47 | { | 47 | { |