summaryrefslogtreecommitdiffstats
path: root/gl/stripslash.c
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-08-19 23:27:12 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-19 23:27:12 +0200
commit26fbe7f1e68bb0c96da32491efcf3696fe6c299b (patch)
treec4d95289187a64e9c7517bf73d8208026c3d2fb3 /gl/stripslash.c
parent5f79e3e9f62ca5487d9881973149136ba1d19d3e (diff)
downloadmonitoring-plugins-26fbe7f1e68bb0c96da32491efcf3696fe6c299b.tar.gz
Sync with the latest Gnulib code (6f2d632)
Diffstat (limited to 'gl/stripslash.c')
-rw-r--r--gl/stripslash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/stripslash.c b/gl/stripslash.c
index 3a5996fd..0e452a95 100644
--- a/gl/stripslash.c
+++ b/gl/stripslash.c
@@ -1,6 +1,6 @@
1/* stripslash.c -- remove redundant trailing slashes from a file name 1/* stripslash.c -- remove redundant trailing slashes from a file name
2 2
3 Copyright (C) 1990, 2001, 2003-2006, 2009-2010 Free Software Foundation, 3 Copyright (C) 1990, 2001, 2003-2006, 2009-2013 Free Software Foundation,
4 Inc. 4 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
@@ -35,7 +35,7 @@ strip_trailing_slashes (char *file)
35 bool had_slash; 35 bool had_slash;
36 36
37 /* last_component returns "" for file system roots, but we need to turn 37 /* last_component returns "" for file system roots, but we need to turn
38 `///' into `/'. */ 38 "///" into "/". */
39 if (! *base) 39 if (! *base)
40 base = file; 40 base = file;
41 base_lim = base + base_len (base); 41 base_lim = base + base_len (base);