freebsd-dev/usr.sbin/sup/supfilesrv
Peter Wemm 40c20cfcd6 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
..
Makefile Fixed DPADD. 1996-09-05 17:16:10 +00:00
supfilesrv.c Rewrite part of the compression support so that it does not leave 1996-09-06 15:40:08 +00:00
supservers.8 Apply ports/net/sup/patches/patch-ab 1995-12-26 05:11:06 +00:00