projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4be8db7
)
(valid_options): Don't segfault on `stty erase -'.
author
Jim Meyering
<jim@meyering.net>
Wed, 21 Jun 2000 07:29:03 +0000
(07:29 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 21 Jun 2000 07:29:03 +0000
(07:29 +0000)
src/stty.c
patch
|
blob
|
history
diff --git
a/src/stty.c
b/src/stty.c
index
3bbf0a6
..
c263747
100644
(file)
--- a/
src/stty.c
+++ b/
src/stty.c
@@
-680,7
+680,7
@@
valid_options (char *opt, const char *valid_opts,
{
char ch;
- if (*opt++ != '-')
+ if (*opt++ != '-'
|| *opt == 0
)
return 0;
while ((ch = *opt))