Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/seq seq.c: replace non-standard `\e` with standard c...
details: https://anonhg.NetBSD.org/src/rev/30c835e5c071
branches: trunk
changeset: 953788:30c835e5c071
user: cheusov <cheusov%NetBSD.org@localhost>
date: Sat Mar 20 22:10:17 2021 +0000
description:
seq.c: replace non-standard `\e` with standard compliant `\x1B`
diffstat:
usr.bin/seq/seq.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r a04591ab0ace -r 30c835e5c071 usr.bin/seq/seq.c
--- a/usr.bin/seq/seq.c Sat Mar 20 21:08:09 2021 +0000
+++ b/usr.bin/seq/seq.c Sat Mar 20 22:10:17 2021 +0000
@@ -31,7 +31,7 @@
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 2005\
The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: seq.c,v 1.11 2018/12/17 20:10:51 christos Exp $");
+__RCSID("$NetBSD: seq.c,v 1.12 2021/03/20 22:10:17 cheusov Exp $");
#endif /* not lint */
#include <ctype.h>
@@ -308,7 +308,7 @@
*orig = '\b';
continue;
case 'e': /* escape */
- *orig = '\e';
+ *orig = '\x1B';
continue;
case 'f': /* formfeed */
*orig = '\f';
Home |
Main Index |
Thread Index |
Old Index