Commit Graph

21 Commits

Author SHA1 Message Date
christos
3cd2d0576e rename salloc to estrdup. 2006-04-02 01:39:48 +00:00
christos
03cbcf1149 check error return from malloc and bail. 2004-12-21 16:20:09 +00:00
wiz
9115df8c49 success, not sucess. Noted by mjl. 2003-01-28 22:35:02 +00:00
wiz
09e4390a6e De-lint a bit. 2002-07-10 21:28:13 +00:00
wiz
a330b47ad5 Cleanup, part 2:
Remove 'register'. ANSIfy. indent(1). Static -> static.
Change some ``#include <header.h>'' to ``#include "header.h"'' for
local headers.
Fix function declaration mistakes uncovered by ANSIfication.
2002-07-10 20:19:38 +00:00
wiz
77085dee52 Cleanup, part 1:
Remove sysent.h, unneeded.
Remove __P().
unifdef __STDC__
Remove some #if 0 parts.
Start ANSIfication.
2002-07-10 18:53:56 +00:00
wiz
456dff6cb8 Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
erh
131ee1a7b6 Replace the provided read_line function with calls to the fparseln function in libutil. Maintain compatibility on machines without fparseln through the NEED_READ_LINE define. 1999-08-02 05:36:05 +00:00
christos
717ef4f35b Add -u flag, that prevents sup from attempting to restore a and m times
on the received files.
1999-06-17 05:11:47 +00:00
pk
5c3c96216b Software_Distribution => Software.Distribution. 1999-04-12 20:48:07 +00:00
frueauf
d7e113cce6 Use the variable u instead of p in line 641 to prevent sup coredumping. 1998-07-30 21:03:48 +00:00
mycroft
c77b5a980c const poisoning. 1998-07-27 01:07:01 +00:00
thorpej
e6889efbce Make sup(1) handle lines continued with '\'. Fixes PR #4430, from
Ty Sarna <tsarna@endicor.com>.
1997-11-13 01:05:28 +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
2c22a216ba 64 bit patches (mostly long -> time_t) from Matthew Jacob (?)
sup now works on the alpha!
1996-12-31 18:08:00 +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
glass
9f5762d576 if the function returns nothing, declare it void 1995-09-16 19:01:25 +00:00
brezak
3e9304df33 Changes from nate for gzip'ed sup 1993-08-04 17:46:14 +00:00
brezak
256dbd11db Remove netcrypt.c. Remove unneeded files. Cleanup make. 1993-05-24 17:57:19 +00:00
cgd
a1e510b12f initial import of CMU's SUP to NetBSD 1993-05-21 14:52:16 +00:00