kim
06f0e05806
Fix paths to match the current code.
1998-09-06 06:25:59 +00:00
lukem
72549586a8
distclean is a synonym for cleandir
1998-09-05 14:57:41 +00:00
ross
b1934d6034
{} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs.
1998-08-27 20:31:00 +00:00
mikel
f48c684893
handle negative arguments correctly
1998-08-04 04:33:15 +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
mycroft
160249f79c
const poisoning.
1998-07-26 15:48:43 +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
mrg
5ddb76d383
remove some register
1998-03-30 02:29:14 +00:00
perry
75a6e03535
change includes to fix compiler warning
1998-02-03 04:55:59 +00:00
mikel
332409ce59
update to match new reality (/usr/lib/supfiles -> /etc/supfiles)
1998-01-21 09:10:40 +00:00
mikel
ef33c3eddc
Add -DEE_XXX to CPPFLAGS so that system supfiles are obtained from
...
/etc/supfiles instead of /usr/lib/supfiles.
1998-01-21 09:07:04 +00:00
perry
3fe138c146
RCS Id Police.
1998-01-09 08:03:16 +00:00
msaitoh
6bbe51cef1
fix typo
1997-11-15 17:42:07 +00:00
thorpej
0e42d89fac
Oops! Forgot this yesterday: Add read_line.o goo.
1997-11-13 17:09:04 +00:00
thorpej
481e558f6c
Oops! Forgot to commit this: build read_line.o
1997-11-13 17:05:20 +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
lukem
0a94f4f077
use CPPFLAGS instead of CFLAGS
1997-10-25 06:57:53 +00:00
mycroft
6af5bbb01a
Use S_IS*(), not S_IF*.
1997-10-19 19:53:54 +00:00
mrg
a62207fee8
fix compile warnings on the alpha.
1997-10-19 09:56:10 +00:00
lukem
9f6ff4ad6f
use string.h instead of strings.h
1997-10-18 07:05:31 +00:00
lukem
31bc9c50ba
WARNSify
1997-10-17 13:59:34 +00:00
mikel
0ed58c18f2
fix typo in CLEANFILES
1997-10-16 08:26:50 +00:00
veego
98d951955c
s/CURDIR/.CURDIR/ and add a missing "
1997-10-08 18:59:38 +00:00
thorpej
b7b213b4f5
Add a README describing how to build this on a non-NetBSD system (yes,
...
that's actually useful :-) using the Makefile in the source/ subdirectory.
1997-10-07 01:33:30 +00:00
thorpej
b92a5b9b37
Add NetBSD Makefile infrastructure for building the sup programs.
1997-10-07 01:31:07 +00:00
thorpej
42d99e64c5
Garbage-collect the USE_CRYPT stuff.
1997-10-07 01:27:14 +00:00
christos
1b45de5df5
String overflow bugs (from OpenBSD)
1997-09-22 13:57:36 +00:00
christos
8c55e294ce
Add -q flag for quiet operation.
1997-08-04 22:03:52 +00:00
christos
afc018f838
If a directory gets deleted in the master tree, but the client has it in
...
his last.<collection> list, this directory did not get removed in the client
since the code just tried rmdir(foo) and gave up when that failed. This
has been changed to be more agressive and do an rm -fr when rmdir fails.
1997-07-30 15:35:13 +00:00
christos
6613161476
- Don't botch varargs: the are not always an array of void * in the stack...
...
Write a separate function to convert a list of function parameters to
an argv array.
- explain why execv failed.
1997-07-30 15:33:22 +00:00
christos
7d52497961
When in compress mode, don't overwrite the destination file directly,
...
write a temp file and use rename when it is done. (From James Mathiesen
<james@deshaw.com>)
1997-07-15 18:15:55 +00:00
perry
b5b0d91666
c-style rcsid comments changed to nroff style, from Dave Huang in pr-3855
1997-07-12 14:50:44 +00:00
mikel
abbcc05d81
avoid last.temp filename collision by using rel-suffix;
...
from Scott Stevens <s.k.stevens@ic.ac.uk>
1997-07-08 05:01:15 +00:00
mikel
e513e4a964
include release suffix when reporting update times; from my PR bin/1344.
1997-07-08 04:37:11 +00:00
christos
801ce09dea
Make sure you set _base, otherwise we core dump.
1997-06-18 15:25:42 +00:00
christos
c7a226af02
When creating directories, make sure you remove previous non-directories
...
before doing so, otherwise sup fails.
1997-06-18 15:23:52 +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
12f6930b5a
Avoid coredump in svrfinishup.
1997-06-17 18:37:59 +00:00
christos
cb8aa82b0c
compare only the prefix "nfs", not the whole word, so we match "nfs3" too.
1997-02-26 15:06:46 +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
4a55cd8d26
Use a better fix for vsnprintf on svr4. Apparently, svr4 stdio does not
...
have _IOSTRG, but it uses _IOREAD to indicate that _doprnt() should print
to the buffer and not to the file stream.
1996-09-30 04:19:55 +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
1949f5ea6b
- runio fails when result != 0 not only < 0
...
- print vis-encoded file in the scanner.
1995-10-29 23:54:45 +00:00
glass
8d3a219347
if the function returns nothing, declare it void
1995-09-16 19:12:14 +00:00
glass
9f5762d576
if the function returns nothing, declare it void
1995-09-16 19:01:25 +00:00
christos
363e119397
- Don't use system(3) to fork processes. It is a big security hole.
...
- Encode the filenames in the scan files using strvis(3), so filenames
that contain newlines or other weird characters don't break the scanner.
1995-06-24 16:21:33 +00:00
christos
695670c5fa
fixed bug related to the ascii `when' files previous fix, where the -t
...
option would fail to read the timestamp files.
1995-06-09 04:33:34 +00:00