diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-01-08 11:29:59 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-01-08 11:30:45 +0100 |
commit | 52400b5ae463c90f83538ad43a76d61ced97f71d (patch) | |
tree | 90ab43baeaa0d3129dc1899cb6bcf5759c8a7386 /gl/dirname-lgpl.c | |
parent | 3dc1f4ad374c3e986fb3ab3c78442e9adfcce018 (diff) | |
download | gnutls-52400b5ae463c90f83538ad43a76d61ced97f71d.tar.gz |
Updated gnulib and added usleep and getaddrinfo modules.
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 f5b0c0ff01..2895cbcb28 100644 --- a/gl/dirname-lgpl.c +++ b/gl/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 |