projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed debugging statement and added comments to the duplicate check
[mmh]
/
uip
/
prompter.c
diff --git
a/uip/prompter.c
b/uip/prompter.c
index
872d742
..
795e472
100644
(file)
--- a/
uip/prompter.c
+++ b/
uip/prompter.c
@@
-109,10
+109,10
@@
main (int argc, char **argv)
snprintf (buffer, sizeof(buffer), "%s [switches] file",
invo_name);
print_help (buffer, switches, 1);
snprintf (buffer, sizeof(buffer), "%s [switches] file",
invo_name);
print_help (buffer, switches, 1);
- done (1);
+ done (0);
case VERSIONSW:
print_version(invo_name);
case VERSIONSW:
print_version(invo_name);
- done (1);
+ done (0);
case ERASESW:
if (!(erasep = *argp++) || *erasep == '-')
case ERASESW:
if (!(erasep = *argp++) || *erasep == '-')
@@
-396,9
+396,7
@@
getln (char *buffer, int n)
static void
intrser (int i)
{
static void
intrser (int i)
{
-#ifndef RELIABLE_SIGNALS
- SIGNAL (SIGINT, intrser);
-#endif
+ NMH_UNUSED (i);
if (wtuser)
longjmp (sigenv, NOTOK);
if (wtuser)
longjmp (sigenv, NOTOK);