diff options
Diffstat (limited to 'editors/mg/patches/patch-aa')
-rw-r--r-- | editors/mg/patches/patch-aa | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/editors/mg/patches/patch-aa b/editors/mg/patches/patch-aa new file mode 100644 index 00000000000..3a814c4fa37 --- /dev/null +++ b/editors/mg/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/02/13 11:04:14 abs Exp $ + +--- dired.c.orig 2008-12-30 12:40:28.000000000 +0000 ++++ dired.c +@@ -570,11 +570,11 @@ d_makename(struct line *lp, char *fn, si + ep = lp->l_text + llength(lp); + p++; /* skip action letter, if any */ + for (i = 0; i < NAME_FIELD; i++) { +- while (p < ep && isspace(*p)) ++ while (p < ep && isspace((unsigned char)*p)) + p++; +- while (p < ep && !isspace(*p)) ++ while (p < ep && !isspace((unsigned char)*p)) + p++; +- while (p < ep && isspace(*p)) ++ while (p < ep && isspace((unsigned char)*p)) + p++; + if (p == ep) + return (ABORT); |