Module Name:    src
Committed By:   christos
Date:           Thu Mar 11 22:31:19 UTC 2021

Modified Files:
        src/usr.bin/sed: compile.c

Log Message:
remove extra increment; fixes: echo o | sed -e 's/o/\a/'


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/usr.bin/sed/compile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/sed/compile.c
diff -u src/usr.bin/sed/compile.c:1.48 src/usr.bin/sed/compile.c:1.49
--- src/usr.bin/sed/compile.c:1.48	Sat Oct  5 16:23:55 2019
+++ src/usr.bin/sed/compile.c	Thu Mar 11 17:31:19 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: compile.c,v 1.48 2019/10/05 20:23:55 christos Exp $	*/
+/*	$NetBSD: compile.c,v 1.49 2021/03/11 22:31:19 christos Exp $	*/
 
 /*-
  * Copyright (c) 1992 Diomidis Spinellis.
@@ -38,7 +38,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: compile.c,v 1.48 2019/10/05 20:23:55 christos Exp $");
+__RCSID("$NetBSD: compile.c,v 1.49 2021/03/11 22:31:19 christos Exp $");
 #ifdef __FBSDID
 __FBSDID("$FreeBSD: head/usr.bin/sed/compile.c 259132 2013-12-09 18:57:20Z eadler $");
 #endif
@@ -531,7 +531,6 @@ unescape(char **pp, char **spp)
 		break;
 	case 'a':
 		*sp = '\a';
-		p++;
 		break;
 #if 0
 	// No, \b RE

Reply via email to