summaryrefslogtreecommitdiff
path: root/lib/stripslash.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/stripslash.c
parentad17b1551241a0fbaa9f9557016cbe440cc6338b (diff)
downloadguile-f0007cade095c5a2878ebbb8ea8c9b40810e4509.tar.gz
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/stripslash.c')
-rw-r--r--lib/stripslash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stripslash.c b/lib/stripslash.c
index 31034cb5d..63b77cd39 100644
--- a/lib/stripslash.c
+++ b/lib/stripslash.c
@@ -1,6 +1,6 @@
/* stripslash.c -- remove redundant trailing slashes from a file name
- Copyright (C) 1990, 2001, 2003-2006, 2009-2011 Free Software Foundation,
+ Copyright (C) 1990, 2001, 2003-2006, 2009-2012 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
@@ -35,7 +35,7 @@ strip_trailing_slashes (char *file)
bool had_slash;
/* last_component returns "" for file system roots, but we need to turn
- `///' into `/'. */
+ "///" into "/". */
if (! *base)
base = file;
base_lim = base + base_len (base);