fair
f97bb69df7
grammatical errors fix from PR#4409
1997-11-05 18:46:07 +00:00
lukem
71d53f5fd6
use in-house localhostname instead of gethostname - returns FQDN
1997-11-04 11:43:49 +00:00
lukem
1140eceb13
add { } in the right place; indentation alone isn't sufficient for
...
if (test1)
if (test2)
error()
else {
...
}
this happened when i changed test2 from a void statement to actually
checking its return value.
the effect of this? a YP_MASTER_KEY value wasn't being added to the
generated databases, which was Not Good.
1997-11-04 11:28:46 +00:00
ross
4b634c4e10
Much cleaner fix for alignment error bug.
1997-11-03 21:17:17 +00:00
lukem
a8b7ec8d99
ensure sizeof hostname buf for ether_(ntohost|line) is >= MAXHOSTNAMELEN + 1
1997-11-02 14:25:25 +00:00
lukem
c32b6d75d3
ensure sizeof hostname buf for ether_(ntohost|line) is >= MAXHOSTNAMELEN + 1
1997-11-02 14:25:23 +00:00
lukem
f4fb444bd9
* rewrite read_line(), partially based on get_line in netgroup_mkdb.c:
...
- use fgetln() instead of fgets()
- store info in internal buffer
- fix \\ support
- count line numbers internally, so \\ lines don't mess up count
* ypdb_store():
- ensure that the length of key or val doesn't exceed YPMAXRECORD
* makedbm, mknetid, revnetgroup, stdethers, stdhosts:
- improve error handling
- take advantage of rewritten read_line(), and cleanup line parsing
- don't print trailing ` ' for key/val pairs with an empty val
* Makefile.yp:
- fix up building of ypservers (from Chuck Cranor)
* ypinit.sh:
- remove leading spaces in variable assignment (from Chuck Cranor)
1997-11-01 14:24:50 +00:00
enami
af29cb2306
Sync with release branch so that it compiles.
...
- include arpa/inet.h in ipsopt.c
- declare yyerror() in iplang_l.l
1997-11-01 09:12:21 +00:00
lukem
3e8e744696
getopt returns -1 not EOF
1997-11-01 06:49:14 +00:00
ross
ba9c8e00db
Eliminate some alignment assumptions in packed IP/UDP frames. (port-alpha issue)
1997-10-31 23:32:24 +00:00
mrg
60c28e1f95
sigh. merge ipfilter 3.2 onto the trunk. merge to the branch was a mistake.
1997-10-30 16:08:54 +00:00
mrg
44c002beb1
import ip-filter 3.2
1997-10-30 05:27:24 +00:00
christos
1815a8d4a4
Resolve RCSID conflicts; hopefully this is the last time :-)
1997-10-26 00:24:41 +00:00
christos
5d8bee0f9f
New version from Erez
1997-10-26 00:02:11 +00:00
lukem
736ba086df
WARNSify, KNFify
1997-10-25 13:45:55 +00:00
fvdl
b592c266f8
3rd argument to msync() is now needed by NetBSD as well.
1997-10-25 10:49:36 +00:00
lukem
ad4916f857
fix spellos and incorrect man page references
1997-10-25 10:18:36 +00:00
lukem
0a94f4f077
use CPPFLAGS instead of CFLAGS
1997-10-25 06:57:53 +00:00
thorpej
bab116cf5f
To print a size_t, cast to u_long and use %lu printf format so that
...
this works on the Alpha.
1997-10-25 01:29:30 +00:00
enami
7a8787ba53
Make this compile again on NetBSD/alpha; cast off_t variable to long long
...
so that it matches printf format `%qd'.
1997-10-24 03:12:06 +00:00
mrg
bc13fc9251
prefer snprintf() to sprintf()
1997-10-24 01:41:47 +00:00
mrg
d23e58fc15
while catman doesn't `work' properly yet, use snprintf() when creating the
...
man paths, and add man section 9. hopefully, this program will actually
work soon.
1997-10-24 01:31:35 +00:00
enami
a5372bf523
Add missing newline at the end of exit message.
1997-10-23 12:35:12 +00:00
enami
758c6a0d0f
Work around GCC uninitialized variable warning.
1997-10-23 12:30:32 +00:00
enami
7ffe3c6167
Make this compile on NetBSD/alpha; to print size_t variable,
...
- use %lu instead of %d.
- cast the variable to (u_long) so that this also compiled on NetBSD/i386.
1997-10-23 12:26:02 +00:00
lukem
44c22033e4
use CPPFLAGS instead of CFLAGS
1997-10-23 06:31:59 +00:00
lukem
6e1d64c8d1
quieten gcc -Wall
1997-10-23 06:29:16 +00:00
lukem
f0fe153c0a
use CPPFLAGS instead of CFLAGS
1997-10-23 06:27:34 +00:00
fair
461f420e35
initialize "cp" in hasquota() to avoid gcc/sparc compiler error:
...
repquota.c:287: warning: `cp' might be used uninitialized in this function
1997-10-23 04:53:03 +00:00
fair
f23cf79ee0
Initialize "cp" to make gcc/sparc error go away:
...
quotaon.c:222: warning: `cp' might be used uninitialized in this function
1997-10-22 18:43:16 +00:00
christos
1175f55b11
Use a db(3) hash database instead of shared memory. Don't fork() to service
...
requests in the database when restarting.
1997-10-21 20:38:03 +00:00
is
3b81cd07b7
Only map 16MBytes of file, enough for some 16000 hosts on the LAN.
...
Stopgap fix for PR 4225 by Matthias Scheler (rpc.statd doesn't run on m68k).
XXX This should be done in a different way. XXX
Matthias proposes to use a PMAP capable of mapping more than 256 MB
per user process (You can do this by changing your vm_param constants
even now).
However, statd could use saner data structure to save on address space
easily. E.g., most host names will be much smaller than the allocated
1024(+1 for trailing zero) bytes. Using variable length names would
allow, depending on environment, a factor of 30 more hosts per address
space.
Btw, if anybody really needs more than 16k hosts handled by statd, the
data structure is unsuable anyway; currently, the array of entries is
linearly searched. Something like a DB_BTREE should be used.
1997-10-21 13:33:23 +00:00
mrg
6b8ca7ecc6
fix compile warning on the sparc (erik fair).
1997-10-21 06:40:40 +00:00
mellon
0cbb4ea470
NetBSD-style Makefile for statmsg
1997-10-21 00:04:47 +00:00
mellon
112397fa9d
NetBSD-style Makefile for sysconfd
1997-10-21 00:03:54 +00:00
mellon
75ed7158ea
Add sysconf.c
1997-10-21 00:02:55 +00:00
mellon
8f105dcd01
NetBSD 1.3 Alpha snapshot of ISC dhcp
1997-10-20 23:28:10 +00:00
drochner
24393e44bb
Oops, mrg had a reason to use %ld format.
...
We really need a cast to print off_t values.
1997-10-20 18:42:17 +00:00
drochner
462ad8b47d
fix printf format
1997-10-20 18:25:05 +00:00
drochner
41e3b9d2f4
The previous changes were not sufficient, we need more kvm reads.
1997-10-20 18:12:56 +00:00
drochner
c111d4e6c2
make compile after NFS (struct nfsnode) changes
1997-10-20 17:32:51 +00:00
drochner
2b0cbc07da
include <sys/cdefs> before __RCSID
1997-10-20 17:18:04 +00:00
veego
42d21d7042
Add a SEE ALSO section for other graphics manpages.
1997-10-20 14:31:18 +00:00
scottr
94cf433266
Add support for DTR/CTS flow control, from Bill Studenmund.
1997-10-20 08:07:47 +00:00
mycroft
6af5bbb01a
Use S_IS*(), not S_IF*.
1997-10-19 19:53:54 +00:00
mycroft
e8018f6da9
Use S_IS*(), not S_IF*.
1997-10-19 19:40:21 +00:00
mycroft
004f255040
Use S_IS*(), not S_IF*.
1997-10-19 19:27:40 +00:00
fvdl
88d9f0f6a9
Add a warning about exporting a filesystem using WebNFS and also exporting
...
it the normal way, read/write to specific clients.
1997-10-19 15:29:20 +00:00
mrg
a62207fee8
fix compile warnings on the alpha.
1997-10-19 09:56:10 +00:00
mrg
ca2afdd453
fix compile warnings on the alpha.
1997-10-19 09:39:35 +00:00