Commit Graph

17 Commits

Author SHA1 Message Date
bde
86c863abe8 Really eliminated includes of the "temporary" backwards compatibility
header <sys/dir.h> in applications.  My previous sweep didn't find the
places that included it without needing it.
1996-09-24 08:43:04 +00:00
bde
d2512c2bf9 Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications.  Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
1996-09-24 08:08:11 +00:00
peter
39220f3d9a Turn on SO_KEEPALIVE on network connections. Since we limit the number
of connections, we cannot afford to allow "disappeared" client to cause
us to leave one of the 14 connections open and hanging in a read() forever.

(SO_KEEPALIVE causes probe packets to be sent after a few hours of IDLE
time where no data has been transferred.  Sup should NEVER do this, so the
only time it will have an effect is if it looses the remote machine)
1996-09-06 16:08:32 +00:00
peter
2e47243854 Rewrite part of the compression support so that it does not leave
files in /var/tmp.  Sup needs to send the file size, so that
prevents running gzip in a pipeline (sigh).

It now opens a temporary file, and immediately unlinks it.  It sends
gzip's output to the temp file, and when gzip is done, it rewinds the
file and sends it. When the last fd is closed, the file storage is
reclaimed.  With luck, this will stop those 15MB
gzip < emacs-19.30.tgz > /var/tmp/tmp.xxxx files from being left behind
and blowing out /var on freefall.

While I have the platform, let me quote a fortune entry which sup reminds
me of:  "It is a crock of sh!t, and it stinks!"
1996-09-06 15:40:08 +00:00
bde
11546f4616 Fixed DPADD. 1996-09-05 17:16:10 +00:00
jkh
8eb37231d4 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
pst
f0d10418a5 Oops, accidently committed makefile change, back it out 1996-02-06 19:04:41 +00:00
pst
6935bcb93e make setproctitle display smaller 1996-02-06 19:03:58 +00:00
pst
2dfb242145 Setproctitle some useful information 1996-02-06 18:48:03 +00:00
peter
9575405f03 Restore the changes I made after my last brain hiccup...
Document /var/log/sup.rename instead of the old name
Couple of lib build cleanups (like, not installing the library, and clean
all files)

It should be safe now.. :-)
1996-01-04 16:10:42 +00:00
peter
f9393509e0 revert usr/bin change.. /var/log/renamelog is the kicker... 1995-12-26 22:39:27 +00:00
peter
56cc4a570d redirect sup executable into /usr/bin.... 1995-12-26 22:33:03 +00:00
peter
ed0e2a47cb get rid of non-applicable files... 1995-12-26 22:32:29 +00:00
peter
2be77fc494 Shamelessly steal Garrett Wollman's bmakefiles... 1995-12-26 05:15:20 +00:00
peter
256260b5eb Apply ports/net/sup/patches/patch-ab 1995-12-26 05:11:06 +00:00
peter
0f0c1319be Apply ports/net/sup/patches/patch-aa... 1995-12-26 05:03:11 +00:00
peter
6cfdf3a92b Import the unmodified version of the sup that we are using.
The heritage of this version is not clear.  It appears to be NetBSD
derived from some time ago.
1995-12-26 04:54:48 +00:00