Commit Graph

92 Commits

Author SHA1 Message Date
mycroft
5087e52718 Kill .NOPATH, and fix some DPADDs. 2001-01-18 03:28:19 +00:00
cgd
d594ce939b comment or delete text after CPP directives. 2001-01-16 02:50:27 +00:00
christos
d4f4672be8 move target definition after including bsd.prog.mk so that target protection
works.
2001-01-14 10:36:11 +00:00
christos
b4d783f6b6 move target after including bsd.prog.mk so that target protection works. 2001-01-14 10:34:57 +00:00
lukem
443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
enami
270db080e9 Use PRINTOBJDIR. 2001-01-07 08:00:54 +00:00
martin
8d2fdb358e Don't duplicate system declarations (vsprintf and friends) already
present in system headers. Even worse: those declarations have slightly
different argument types (va_list vs. _BSD_VA_LIST_)
2000-12-30 21:36:23 +00:00
scw
eee03f150e No need to initialise a global to zero. 2000-12-13 23:00:32 +00:00
is
d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
tron
fd8ae9c4ea Use correct argument type in call to "fparseln(3)". Fix supplied by
Motoyuki Konno in PR bin/10645.
2000-07-21 16:03:14 +00:00
enami
edea8c9791 You can't just define read_line as fparseln since former keeps the storage
internally but latter allocates everytime.
2000-07-19 07:52:44 +00:00
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
kristerw
2220c68654 Typos (from OpenBSD) 1999-11-18 19:02:31 +00:00
bouyer
28602510ee Add libwrap support to supfilesrv, as annnounced 2 weeks ago on tech-userlevel,
conditioned by #ifdef LIBWRAP (on by default).
I renamed '-l' (the 'live' mode) to '-d' and '-l' is now used to enable
logging of successfull connections, to be consistent with what other NetBSD
daemon use.
These changes are on on sup2.fr.netbsd.org since 2 weeks.
1999-08-24 15:52:52 +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
lukem
7e1c62baf8 set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-13 23:17:46 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
kleink
3ed4fcf61e In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
of errno.
1999-01-11 22:39:59 +00:00
kim
be631b22d4 Type mismatch in declaration... NOT (reverted previous change). 1998-11-02 04:00:24 +00:00
kim
98c529f1c2 Type mismatch in declaration. 1998-10-14 08:42:21 +00:00
kim
b894c055c6 Before running "rm -rf" on a directory chmod the directory and its parent
to u+rwx to make our chances of success better.  The modes for directories
are reset at the end of a sup run, so we don't need to worry about that.

This possibly might mess up the mode of the parent of the top-level dir,
if the top-level changed to a non-directory.  This is probably rare enough
not to care too much about.

XXX: Should probably chmod the containing directory for each non-directory
removal as well, so there wouldn't be complaints about them.  Please feel
free to send in your opinions on that...
1998-10-12 05:19:48 +00:00
kim
cc01fea167 Before running "rm -rf" on a directory try to turn on the S_IRWXU bits. 1998-09-12 07:36:49 +00:00
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