Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/less/less kill a stray semicolon which made that the...
details: https://anonhg.NetBSD.org/src/rev/2ee87301969b
branches: trunk
changeset: 749077:2ee87301969b
user: drochner <drochner%NetBSD.org@localhost>
date: Mon Nov 16 19:40:17 2009 +0000
description:
kill a stray semicolon which made that the "-p <cmd>" option in
POSIX mode didn't work as expected
diffstat:
usr.bin/less/less/optfunc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2ae4e60d68cc -r 2ee87301969b usr.bin/less/less/optfunc.c
--- a/usr.bin/less/less/optfunc.c Mon Nov 16 17:21:26 2009 +0000
+++ b/usr.bin/less/less/optfunc.c Mon Nov 16 19:40:17 2009 +0000
@@ -267,7 +267,7 @@
* In "more" mode, the -p argument is a command,
* not a search string, so we don't need a slash.
*/
- if (!less_is_more);
+ if (!less_is_more)
ungetsc("/");
break;
}
Home |
Main Index |
Thread Index |
Old Index