Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/gettext Fix expand() to process successive escape se...
details: https://anonhg.NetBSD.org/src/rev/5ee514ea18bd
branches: trunk
changeset: 338682:5ee514ea18bd
user: enami <enami%NetBSD.org@localhost>
date: Wed Jun 03 23:15:22 2015 +0000
description:
Fix expand() to process successive escape sequences correctly.
diffstat:
usr.bin/gettext/gettext.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 1952828cb4a7 -r 5ee514ea18bd usr.bin/gettext/gettext.c
--- a/usr.bin/gettext/gettext.c Wed Jun 03 23:09:49 2015 +0000
+++ b/usr.bin/gettext/gettext.c Wed Jun 03 23:15:22 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gettext.c,v 1.1 2015/06/03 14:32:17 christos Exp $ */
+/* $NetBSD: gettext.c,v 1.2 2015/06/03 23:15:22 enami Exp $ */
/*-
* Copyright (c) 2015 William Orr <will%worrbase.com@localhost>
@@ -26,7 +26,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: gettext.c,v 1.1 2015/06/03 14:32:17 christos Exp $");
+__RCSID("$NetBSD: gettext.c,v 1.2 2015/06/03 23:15:22 enami Exp $");
#include <err.h>
#include <errno.h>
@@ -116,6 +116,7 @@
*sp++ = '\\';
break;
}
+ continue;
}
*sp++ = *fp++;
}
Home |
Main Index |
Thread Index |
Old Index