summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-24 08:43:04 +0000
committerbde <bde@FreeBSD.org>1996-09-24 08:43:04 +0000
commit86c863abe8f56df1d8eb4b0ff115423a0f055a44 (patch)
treec38d3e1566928b2978ebda47d2307d0f9f3f39f6
parentd2512c2bf99a15faab2ee38b498042767afbfc50 (diff)
downloadFreeBSD-src-86c863abe8f56df1d8eb4b0ff115423a0f055a44.zip
FreeBSD-src-86c863abe8f56df1d8eb4b0ff115423a0f055a44.tar.gz
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.
-rw-r--r--gnu/usr.bin/gdb/bfd/trad-core.c1
-rw-r--r--gnu/usr.bin/gdb/gdb/coredep.c1
-rw-r--r--gnu/usr.bin/gdb/gdb/infptrace.c1
-rw-r--r--usr.bin/systat/pigs.c1
-rw-r--r--usr.sbin/sup/supfilesrv/supfilesrv.c16
5 files changed, 15 insertions, 5 deletions
diff --git a/gnu/usr.bin/gdb/bfd/trad-core.c b/gnu/usr.bin/gdb/bfd/trad-core.c
index 78a70a7..c79ac3a 100644
--- a/gnu/usr.bin/gdb/bfd/trad-core.c
+++ b/gnu/usr.bin/gdb/bfd/trad-core.c
@@ -34,7 +34,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
#include <sys/types.h>
#include <sys/param.h>
-#include <sys/dir.h>
#include <signal.h>
#include <sys/user.h> /* After a.out.h */
diff --git a/gnu/usr.bin/gdb/gdb/coredep.c b/gnu/usr.bin/gdb/gdb/coredep.c
index e27d2e4..db75ff6 100644
--- a/gnu/usr.bin/gdb/gdb/coredep.c
+++ b/gnu/usr.bin/gdb/gdb/coredep.c
@@ -29,7 +29,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* These are needed on various systems to expand REGISTER_U_ADDR. */
#ifndef USG
-#include <sys/dir.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/user.h>
diff --git a/gnu/usr.bin/gdb/gdb/infptrace.c b/gnu/usr.bin/gdb/gdb/infptrace.c
index 36a4b4c..05f448c 100644
--- a/gnu/usr.bin/gdb/gdb/infptrace.c
+++ b/gnu/usr.bin/gdb/gdb/infptrace.c
@@ -28,7 +28,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
#include <sys/param.h>
-#include <sys/dir.h>
#include <signal.h>
#include <sys/ioctl.h>
diff --git a/usr.bin/systat/pigs.c b/usr.bin/systat/pigs.c
index 002defc..fc12e51 100644
--- a/usr.bin/systat/pigs.c
+++ b/usr.bin/systat/pigs.c
@@ -41,7 +41,6 @@ static char sccsid[] = "@(#)pigs.c 8.2 (Berkeley) 9/23/93";
#include <sys/param.h>
#include <sys/dkstat.h>
-#include <sys/dir.h>
#include <sys/time.h>
#include <sys/proc.h>
#include <sys/user.h>
diff --git a/usr.sbin/sup/supfilesrv/supfilesrv.c b/usr.sbin/sup/supfilesrv/supfilesrv.c
index 0efbe74..e348c3b 100644
--- a/usr.sbin/sup/supfilesrv/supfilesrv.c
+++ b/usr.sbin/sup/supfilesrv/supfilesrv.c
@@ -42,6 +42,21 @@
* across the network to save BandWidth
*
* $Log: supfilesrv.c,v $
+ * Revision 1.5 1996/09/06 15:40:08 peter
+ * 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!"
+ *
* Revision 1.4 1996/02/06 19:03:58 pst
* make setproctitle display smaller
*
@@ -268,7 +283,6 @@
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/file.h>
-#include <sys/dir.h>
#if MACH
#include <sys/ioctl.h>
#endif
OpenPOWER on IntegriCloud