projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include aculib in cleanup
[unix-history]
/
usr
/
src
/
usr.bin
/
ftp
/
main.c
diff --git
a/usr/src/usr.bin/ftp/main.c
b/usr/src/usr.bin/ftp/main.c
index
554f45c
..
5f18842
100644
(file)
--- a/
usr/src/usr.bin/ftp/main.c
+++ b/
usr/src/usr.bin/ftp/main.c
@@
-1,5
+1,5
@@
#ifndef lint
#ifndef lint
-static char sccsid[] = "@(#)main.c 4.
7
(Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 4.
8
(Berkeley) %G%";
#endif
/*
#endif
/*
@@
-101,14
+101,14
@@
main(argc, argv)
if (argc > 0) {
if (setjmp(toplevel))
exit(0);
if (argc > 0) {
if (setjmp(toplevel))
exit(0);
- sig
set
(SIGINT, intr);
- sig
set
(SIGPIPE, lostpeer);
+ sig
nal
(SIGINT, intr);
+ sig
nal
(SIGPIPE, lostpeer);
setpeer(argc + 1, argv - 1);
}
top = setjmp(toplevel) == 0;
if (top) {
setpeer(argc + 1, argv - 1);
}
top = setjmp(toplevel) == 0;
if (top) {
- sig
set
(SIGINT, intr);
- sig
set
(SIGPIPE, lostpeer);
+ sig
nal
(SIGINT, intr);
+ sig
nal
(SIGPIPE, lostpeer);
}
for (;;) {
cmdscanner(top);
}
for (;;) {
cmdscanner(top);