Commit Graph

10 Commits

Author SHA1 Message Date
abs fd407a99b7 If we fail due to not being able to lookup our own hostname, display the
name in question in an attempt to reduce the number of people who have to ask
how to get sup working...
2000-03-12 12:16:49 +00:00
mycroft f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
pk 5c3c96216b Software_Distribution => Software.Distribution. 1999-04-12 20:48:07 +00:00
mrg 32f519716b - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
christos 1933233e0b Cleanup unsigned char -> char and #if __STDC__ -> #ifdef __STDC__
inconsistencies
1997-06-17 21:38:23 +00:00
christos 7a1ede0553 - add $NetBSD$
- remove all $Log$ instances and the extra logs caused by our local changes.
1997-06-17 18:56:02 +00:00
christos 9d10a25919 - add missing prototypes.
- fix function call inconsistencies
- fix int <-> long and pointer conversions
It should run now on 64 bit machines...
1996-12-23 19:42:01 +00:00
christos b33b1aed5c - for portability make sure that we never use "" as a pathname, always convert
it to "."
- include sockio.h if needed to define SIOCGIFCONF (for svr4)
- use POSIX signals and wait macros
- add -S silent flag, so that the client does not print messages unless there
  is something wrong
- use flock or lockf as appropriate
- use fstatfs or fstatvfs to find out if a filesystem is mounted over nfs,
  don't depend on the major() = 255 hack; it only works on legacy systems.
- use gzip -cf to make sure that gzip compresses the file even when the file
  would expand.
- punt on defining vsnprintf if _IOSTRG is not defined; use sprintf...

To compile sup on systems other than NetBSD, you'll need a copy of daemon.c,
vis.c, vis.h and sys/cdefs.h. Maybe we should keep those in the distribution?
1996-09-05 16:50:01 +00:00
christos a6d86f0535 Changes to write ascii timestamps in the when files.
Looked into making it 64 bit clean, but it is hopeless.
Added little program to convert from the old timestamp files
into the new ones.
1995-06-03 21:21:48 +00:00
cgd a1e510b12f initial import of CMU's SUP to NetBSD 1993-05-21 14:52:16 +00:00