Commit Graph

28926 Commits

Author SHA1 Message Date
jb
f21cd75f30 Add #include stdlib.h to get prototypes. 1998-05-09 09:24:12 +00:00
jb
005dd2f7a4 Change prototype for addbuf to make it compatible with tputs now that
there is a prototype to check it against.
1998-05-09 09:22:33 +00:00
jb
6ebc5834dc Add #include string.h, stdlib.h and termcap.h to get prototypes.
Change prototype for addbuf to make it compatible with tputs now that
there is a prototype to check it against.
1998-05-09 09:21:28 +00:00
jb
93326f26e1 Add #include string to get prototypes. 1998-05-09 09:19:24 +00:00
jb
11929d69ae Add 'extern' to those arrays that are declared and initialised
in other files.
1998-05-09 09:18:33 +00:00
des
e80744306c Arrggghhhh... forgot to strip the / after outputting %2f 1998-05-09 08:56:07 +00:00
jb
f7925067df Add #include string.h to get prototypes. 1998-05-09 08:46:53 +00:00
jb
2289cf3713 Add #include stdlib.h to get prototypes. 1998-05-09 08:45:53 +00:00
des
bc55335b0d Map a leading / in -c argument to %2f instead of dropping it silently.
PR:		bin/6558
1998-05-09 08:41:23 +00:00
jb
6061aa32dc Add #include string.h to get prototypes. 1998-05-09 08:17:46 +00:00
jb
4b1fdc389c Alphas don't necessarily have speakers. 1998-05-09 08:16:53 +00:00
fenner
014829c6bf Describe absolute paths in FTP URL's. This patch has been sitting
around uncommitted for 2 months =(
1998-05-09 07:33:09 +00:00
jb
babe8d3976 Of these programs, only df and ps aren't compatible with FreeBSD/Alpha.
All the rest work! Actually, I don't know if chio works because I can't
test that. df can be built using NetBSD's mount.h. ps depends on libkvm
so there is no point trying.
1998-05-09 06:42:52 +00:00
jkh
dcef58e481 Well, nobody objected, so here's my -u (unlink) flag to restore. 1998-05-09 05:23:02 +00:00
jb
9c0f3d45b1 Fix the problem people are having building -current on a -stable system.
The headers that are installed in WORLDTMP are part of the interface
that includes libraries like libc, so they must be installed together.
This means that lib-tools and build-tools should be merged. The FreeBSD
build only works in hosted form where it is assumed that the installed
version contains adequate tools to build the latest release.
1998-05-08 21:29:35 +00:00
phk
a10731d857 Add jetdirect 9100/tcp
PR:		5195
Reviewed by:	phk
Submitted by:	Cy Schubert <cschuber@uumail.gov.bc.ca>
1998-05-08 20:40:15 +00:00
phk
bade6f18a8 Add a crucial missing _ in NO_SENDMAIL
PR:		6545
Reviewed by:	phk
Submitted by:	Jos Backus <jbackus@plex.nl>
1998-05-08 20:15:39 +00:00
guido
656f78b87c Unblock SIGPIPE before execv(); convert from sigvec to sigaction
Obtained from: OpenBSD
1998-05-08 19:15:44 +00:00
max
3d49c4c947 In the SEE ALSO section, {get,set}rlimit are said to be in the section
3 which are actually in the section 2.
Pointed out by:	Brian Reichert <reichert@numachi.com>
PR:		6480
1998-05-08 14:46:23 +00:00
jkh
02bf655efa Try experimenting with the split size a little in an effort to
move our installation structure a little further into the 20th century
(just before it's over).
Instigated by:	Dag-Erling Coidan <dag-erli@ifi.uio.no>
1998-05-08 13:49:16 +00:00
bde
c6240f5b9e Translated to C (parameters in a function definition have the same scope
as variables declared in the main block in the function, so shadowing
of parameters by variables declared in the main block is not just an
obfuscation).

Found by:	lint
1998-05-08 07:56:48 +00:00
bde
ff58493209 Simplified by using new yacc rules. 1998-05-08 06:43:07 +00:00
bde
16b46848f9 Simplified by using new yacc rules and by not generating y.tab.h. 1998-05-08 06:41:06 +00:00
bde
ea52868070 Moved lex and yacc source handling from bsd.prog.mk to bsd.dep.mk
so that it applies to libraries (and lkms) as well as programs.
1998-05-08 06:31:05 +00:00
jb
1baebded07 This is a hack to workaround source that is coded to use long variables
but also assumes that they are 32-bits. This is one place where I don't
think it is appropriate to change 'long' to 'int'. I don't see why the
code couldn't be fixed so that using natural long variables does the
right thing. It's spaggetti code so it'll take some effort. Obviously
NetBSD thought so too because they change 'long' to 'int32_t' etc
and left it at that. As a temporary measure FreeBSD/Alpha can use the
NetBSD code and put this on the list of things to fix.
1998-05-08 05:41:57 +00:00
jb
444dd67e6d Remote the NetBSD kludge for vfprintf.c 1998-05-08 05:17:11 +00:00
jb
de6ae1a8e2 Don't assign the va_list variable 'ap' directly to the argtable because
va_list is not a pointer on alpha. Instead, use the va_arg() macro
to return the address that is stored in the argtable.
1998-05-08 05:10:32 +00:00
ache
ad9978bc4a Add new named configuration template and remove old template 1998-05-07 23:42:33 +00:00
guido
779723654b Redo tcpmux stuff. tcpmux handling is now performed after inetd
forks. Furthermore, invalid input for tcpmux does not lead to
an exiting inetd.
This patch is recommended for people running tcpmux (which is NOT
enabled by default)
1998-05-07 18:32:00 +00:00
jmg
952a7718da fix a core dump problem when you don't give -f a parameter... also compare
results of strcmp against 0 instead of !'ing results...

Closes PR: 6538
1998-05-07 14:13:16 +00:00
julian
37c51920d5 An effort to make SLICE/DEVFS play with SCSI.
Apparently I didn't make my plans to make dev_t and devsw[] go away
under DEVFS quite clear enough to Peter Dufault as he stitched the SCSI
system together using them when he redid the configuration side of things.
This made is rather an effort to remove all vestiges of dev_t and
devsw[] entries from sd.c in DEVFS/SLICE mode.
1998-05-07 12:13:47 +00:00
kato
d33c372290 Sync with sys/i386/isa/wd.c revision 1.166. 1998-05-07 08:37:27 +00:00
kato
2974fd32fa Sync with sys/i386/isa/fd.c revision 1.112. 1998-05-07 08:36:48 +00:00
msmith
964ce778b1 In the words of the submitter:
---------
Make callers of namei() responsible for releasing references or locks
instead of having the underlying filesystems do it.  This eliminates
redundancy in all terminal filesystems and makes it possible for stacked
transport layers such as umapfs or nullfs to operate correctly.

Quality testing was done with testvn, and lat_fs from the lmbench suite.

Some NFS client testing courtesy of Patrik Kudo.

vop_mknod and vop_symlink still release the returned vpp.  vop_rename
still releases 4 vnode arguments before it returns.  These remaining cases
will be corrected in the next set of patches.
---------

Submitted by:	Michael Hancock <michaelh@cet.co.jp>
1998-05-07 04:58:58 +00:00
julian
a64c77cceb cleanup: remove duplicated dump code.
fix oversight on SLICE ioctl code.
1998-05-07 02:05:21 +00:00
julian
8df47b0c2f cleanup:
take out duplicated dump code
1998-05-07 01:15:23 +00:00
eivind
70fdf8aef9 Unbotch whitespace and change switch with two cases to if.
Noticed by:	bde
1998-05-07 00:42:25 +00:00
brian
5cc7cdec73 Make syslogd function in non-secure mode.
Log the correct ^2 packet as per the last commit comment.
1998-05-07 00:39:56 +00:00
julian
d07b83de55 There is no dump routine for fd so give it an explicit NULL entry
in the SLICE table.
1998-05-06 23:35:36 +00:00
julian
86398c50a1 Don't call a dump routine if there isn't one. (e.g. in floppy driver) 1998-05-06 23:32:48 +00:00
julian
0cb054bfea Add dump support to the DEVFS/slice code.
now we can actually catch our crashes :-)

Submitted by: Luoqi Chen <luoqi@chen.ml.org> (the man who's everywhere)
1998-05-06 22:14:48 +00:00
bde
719d62b3b0 Only include bsd.dep.mk in `mk'files that handle C sources. Abuse
bsd.obj.mk instead of bsd.dep.mk for defining the _SUBDIR target
and a default tags target.  Abuse bsd.obj.mk for defining default
cleandepend and depend targets.
1998-05-06 18:44:04 +00:00
andreas
e10a5f74a6 Overlooked, that newer naming convention is xxx_program instead of xxx_prog.
So changed it to ntpdate_program and xntpd_program.
Backout last change, now we have again named_program, sorry.
1998-05-06 17:36:16 +00:00
andreas
e222e3b541 document ntpdate_prog and xntpd_prog
fix: named_program -> named_prog to reflect "real life"
(I suggest keeping this shorter name convention as it is
actually used in the config file)
1998-05-06 17:26:48 +00:00
wosch
3329d1e567 Delete stale comment.
Pointed out by: bde
1998-05-06 16:53:53 +00:00
bde
196c9f6d89 Backed out previous backout. Put y.tab.h back in SRCS. 1998-05-06 15:33:59 +00:00
bde
b11e33ba51 Backed out previous backout. Put y.tab.h back in SRCS. 1998-05-06 15:27:57 +00:00
bde
bed88a664a Backed out previous backout.
Added y.tab.h to SRCS.  Dependencies on it were missing until recently.
1998-05-06 15:23:53 +00:00
bde
e6e7e77dcf Regress to generating foo.c from foo.y via y.tab.c for crufty applications
that want a y.tab.h file.  This want must be specified by putting y.tab.h
in SRCS (and defaulting to or putting -d in YFLAGS).  This only works if
there is only one yacc parser, of course.  One improvement:  copy y.tab.c
to foo.c instead of renaming it, so that `#line...y.tab.c' statements in
it refer to an existing file.

Regress to not generating explicit rules for .l and .y sources containing
slashes.  This case is unusual and hard to handle properly.

Don't generate an unused dependency when -d is not in YFLAGS.
1998-05-06 15:01:18 +00:00
bde
216aef2a42 Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries, so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Use `DIR!= cd ...libbind; make -V .OBJDIR' to find libbind's object dir
if it doesn't seem to be in its usual place relative to ${.OBJDIR}.
This fixes `cd /usr/src/usr.sbin/nslookup; mkdir obj; make'.
1998-05-06 13:23:39 +00:00