summaryrefslogtreecommitdiff
path: root/lib/dirname-lgpl.c
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-01-16 23:49:21 +0100
committerLudovic Courtès <ludo@gnu.org>2012-01-16 23:49:21 +0100
commitf0007cade095c5a2878ebbb8ea8c9b40810e4509 (patch)
treecc6c2631aea42ba8ab20d26701dae099348b5b43 /lib/dirname-lgpl.c
parentad17b1551241a0fbaa9f9557016cbe440cc6338b (diff)
Update Gnulib to v0.0-6827-g39c3009; use the `dirfd' module.
* m4/gnulib-cache.m4: Use `dirfd'. * libguile/filesys.c: Include Gnulib's <dirent.h> directly. (dirfd): Remove. Suggested by Bruno Haible <bruno@clisp.org>.
Diffstat (limited to 'lib/dirname-lgpl.c')
-rw-r--r--lib/dirname-lgpl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/dirname-lgpl.c b/lib/dirname-lgpl.c
index 934c271cd..5d0cc074b 100644
--- a/lib/dirname-lgpl.c
+++ b/lib/dirname-lgpl.c
@@ -1,6 +1,6 @@
/* dirname.c -- return all but the last element in a file name
- Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2011 Free Software
+ Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2012 Free Software
Foundation, Inc.
This program is free software: you can redistribute it and/or modify
@@ -25,7 +25,7 @@
/* Return the length of the prefix of FILE that will be used by
dir_name. If FILE is in the working directory, this returns zero
- even though `dir_name (FILE)' will return ".". Works properly even
+ even though 'dir_name (FILE)' will return ".". Works properly even
if there are trailing slashes (by effectively ignoring them). */
size_t
@@ -53,9 +53,9 @@ dir_len (char const *file)
}
-/* In general, we can't use the builtin `dirname' function if available,
+/* In general, we can't use the builtin 'dirname' function if available,
since it has different meanings in different environments.
- In some environments the builtin `dirname' modifies its argument.
+ In some environments the builtin 'dirname' modifies its argument.
Return the leading directories part of FILE, allocated with malloc.
Works properly even if there are trailing slashes (by effectively