Boris Gjenero
a00db1abf4
Limit packet size for Ultrix netload.
2020-10-23 22:57:44 -04:00
Boris Gjenero
cbbfdf3108
Map different program types to different files, for Ultrix netload.
2020-10-23 20:55:11 -04:00
joerg
12a9caaf9b
loop.c owns iflist
2020-04-22 23:57:56 +00:00
mrg
e469d4c46d
introduce some common variables for use in GCC warning disables:
...
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
2019-10-13 07:28:04 +00:00
christos
e87ffe7de2
Quick+Dirty port to linux
2016-06-08 01:11:49 +00:00
snj
dc7585852f
src is too big these days to tolerate superfluous apostrophes. It's
...
"its", people!
2014-10-18 08:33:23 +00:00
riastradh
898609a4a4
Merge riastradh-drm2 to HEAD.
2014-03-18 18:20:35 +00:00
christos
f73ad3bad9
fix unused variable warnings.
2013-10-19 17:16:37 +00:00
wiz
becb6b8fff
Use Mt for email addresses.
2013-07-20 21:39:55 +00:00
joerg
9b3bb3443b
Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply
...
to Clang. Add a few cases of HAVE_LLVM for -fno-strict-aliasing.
2012-08-10 12:10:27 +00:00
joerg
ef3e6e6424
ANSIfy + __printflike + __dead
2011-08-30 19:49:10 +00:00
mrg
174f8a4a36
remove most of the remaining HAVE_GCC tests that are always true in
...
the modern world.
2011-06-20 07:43:56 +00:00
joerg
e56c1f58dd
Kill redundant ()
2011-05-24 13:08:16 +00:00
drochner
fa3eebf9dc
ANSIfy, sprinkle "const"
2009-11-17 18:58:07 +00:00
snj
59ff02bd7c
Follow upstream's lead and remove third and fourth clauses (except on
...
from usr.sbin/mopd/common/pf.c, where only the ad clause is removed,
because it has a shared UCB copyright) on Mats O Jansson's files.
thorpej OK'd usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c, where he shares
copyright.
2009-10-20 00:51:13 +00:00
joerg
fe7d874daf
Fix markup. Handle the DECnet documentation like a journal.
2009-10-04 20:53:23 +00:00
lukem
75f93ed674
Fix WARNS=4 issues (many -Wshadow, -Wcast-qual)
2009-04-17 04:16:57 +00:00
joerg
879255f896
Fix preamble
2009-03-11 13:59:33 +00:00
gmcgarry
8c68c4f018
Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
2008-08-29 00:02:21 +00:00
mrg
2d66b4f2c1
use -Wno-pointer-sign with GCC4.
2006-05-12 01:54:57 +00:00
mrg
64f5cca084
remove a couple of extra externs
2006-05-12 01:54:32 +00:00
simonb
729be59562
s/the the/the/ (only in sources that aren't regularly imported from
...
elsewhere).
2004-04-23 02:58:27 +00:00
wiz
3be975349e
Remove trailing whitespace.
2004-01-23 20:55:19 +00:00
fair
1a50cff2d7
Commit patch from PR 22539 to document adding ".SYS" to filenames.
...
New sentence, new line. Change date. Expand "MOP" as Maintenance
Operations Protocol for permuted index.
2004-01-23 20:46:38 +00:00
thorpej
fae2a5b032
Allow more than one interface to be specified on the command line.
2002-11-05 14:18:04 +00:00
wiz
7691a1e86b
Fix a typo.
2002-07-19 10:12:49 +00:00
mrg
18077452dd
add a "-s <mopdir>" argument to mopd so that it doesn't require one place
...
files in /tftpboot/mop.
2002-07-19 10:05:34 +00:00
itojun
f0b3ac6a24
use snprintf. inspired by openbsd change
2002-07-13 11:35:35 +00:00
wiz
f097d23d4b
Xref mopcopy instead of mopa.out. Mark up AUTHORS section.
2002-06-07 11:23:55 +00:00
thorpej
1e3eaa9c63
Add support for converting Elf32 images on-the-fly into MOP images.
...
(This involved some infrastructure changes to the various mopd
support programs/libraries.)
2002-02-18 22:00:36 +00:00
wiz
03f8eba809
Whitespace nits, sort SEE ALSO.
2002-01-19 03:37:38 +00:00
cgd
3857fe5343
convert to use getprogname()
2001-02-19 23:22:40 +00:00
cgd
57ac6470b4
comment or delete text after CPP directives.
2001-01-16 02:50:27 +00:00
lukem
a5958267ca
when calling openlog():
...
- don't use LOG_CONS
- use explicit name rather than __progname
2001-01-11 01:42:50 +00:00
bouyer
57113a6902
Fix bin/11253: seg-fault in mopd
...
Once we found the correct slot, make sure dle points to it. dle was left
pointing out of the array by the for(;;) loop.
Fix from Ken Wellsch <kwellsch@tampabay.rr.com >
2000-11-19 16:40:16 +00:00
matt
3dcc9f5795
A little cleanup. Deal with lost packets
2000-08-11 23:11:12 +00:00
mjl
68e920f189
Increase buffer size to maximum allowed by spec (filename may be
...
up to 128 chars long).
Ignore filenames longer than this.
Use syslog with %s as format, just in case.
The above changes come from OpenBSD.
Also use #define instead of magic constants.
2000-07-21 12:37:00 +00:00
ragge
6ca7e961b8
Need special tweaking for VAX8200 etc...
2000-06-27 18:57:41 +00:00
abs
78582a5a56
fix bug that caused first load to fail - from jkunz@unixag-kl.fh-kl.de
2000-01-10 19:33:18 +00:00
thorpej
07414356ac
Use pidfile(3).
1999-06-06 02:52:16 +00:00
lukem
334438cb6a
- WARNsify
...
- KNFify (a bit)
- use int32_t & u_int32_t instead of long and u_long
- clean up man pages a bit
1997-10-16 23:24:50 +00:00
lukem
6d97281944
- compile common code once (into libcommon.a), and link that in.
...
cut's compilation time by half!
- build a common version.c in libcommon.a
- don't build version.h - nothing uses it
- comment out the ifdef INFO and -DINFO stuff - it's always compiled in
- XXX: don't compile mopprobe with -DNODL (which actually changes the
compilation of stuff in common/*). nothing else does this, and it
meant that mopprobe would have had different behaviour. if this behaviour
is desired, a workaround can be put in place
1997-10-16 07:36:12 +00:00
christos
0032f58a4b
- Move common definitions to Makefile.inc
...
- Revert change common/os.h -> os.h. From Mats O Jansson.
1997-04-17 21:08:57 +00:00
christos
6c9c784d7f
Tyop oplice.
1997-04-16 13:48:46 +00:00
christos
7ede515580
Don't include "os.h", include "common/os.h" like it does for the other
...
includes.
1997-04-16 13:30:57 +00:00
christos
26d7e3ccae
Don't need to .PATH: .. or -I${.CURDIR}/common and -I${.CURDIR}; it will
...
actually break things in the future.
1997-04-16 13:29:57 +00:00
thorpej
fba7d611d2
RCS id police.
1997-03-25 03:06:58 +00:00
christos
af77741020
Makefile cleanups
1997-03-24 22:02:40 +00:00
cjs
8673e0be2e
Import of Mats O Jansson's MOP boot program for DEC machines.
1997-03-16 22:23:34 +00:00