Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc



Module Name:    basesrc
Committed By:   lukem
Date:           Mon Sep 27 23:09:47 UTC 1999

Modified Files:
        basesrc/usr.bin/ftp: cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c
            main.c ruserpass.c util.c

Log Message:
* idle(): rename to idlecmd(). certain linux distributions have an incompatible
  prototype for idle() in <unistd.h> (which i thought was against namespace
  and sensibility guidelines, but...)
* consistently use xsignal() instead of signal(). we get known behaviour
  in all cases (SA_RESTART), which is good for some borken foreign systems.
* remove signal.h from most files; it's unnecessary now
* fetch_url(): use `long chunksize' instead of ssize_t; it's more portable, and
  we're setting chunksize with strtol() anyway
* xsignal(): only use SA_RESTART if it exists. SunOS 4.x doesn't have it
  but has the inverse (SA_INTERRUPT). the original function i was inspired
  from had this support (lib/signal.c, W. Richard Stevens' `UNP 2nd ed Vol 1').
* remove <termios.h> from util.c; it should be unnecessary now


To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 basesrc/usr.bin/ftp/cmds.c
cvs rdiff -r1.26 -r1.27 basesrc/usr.bin/ftp/cmdtab.c
cvs rdiff -r1.30 -r1.31 basesrc/usr.bin/ftp/complete.c
cvs rdiff -r1.12 -r1.13 basesrc/usr.bin/ftp/domacro.c
cvs rdiff -r1.76 -r1.77 basesrc/usr.bin/ftp/fetch.c
cvs rdiff -r1.66 -r1.67 basesrc/usr.bin/ftp/ftp.c
cvs rdiff -r1.51 -r1.52 basesrc/usr.bin/ftp/main.c
cvs rdiff -r1.23 -r1.24 basesrc/usr.bin/ftp/ruserpass.c
cvs rdiff -r1.63 -r1.64 basesrc/usr.bin/ftp/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index