Commit Graph

551 Commits

Author SHA1 Message Date
David E. O'Brien
11fbd93222 accidently changed some white space 1998-08-27 07:25:25 +00:00
David E. O'Brien
13bcc37c02 Properly create db files vs. dbm files.
Obtained from:	NetBSD
1998-08-27 02:56:47 +00:00
Bruce Evans
0f79d73473 Support printf format checking of FreeBSD kernel formats %[Dbrz].
This is enabled by the undocumented option -fformat-extensions.
This option should be named better and/or give more control over
the extensions.

Fixed a message - don't warn about the field width when it's the
precision that has the wrong type.  Didn't fix excessive checking
for the precision relative to the type - ANSI requires both to be
ints, but gcc permits the field width to be either int or unsigned
int.
1998-08-24 06:33:52 +00:00
David E. O'Brien
274bbe3187 * Check getopt()'s return with -1, not EOF
* protect a few potential buffer overflows

Obtained from:	NetBSD
1998-08-23 22:52:09 +00:00
David E. O'Brien
aad735d675 more files we don't need. 1998-08-23 22:51:11 +00:00
David E. O'Brien
2020f841b6 Two more files FreeBSD doesn't need. 1998-08-23 22:43:27 +00:00
David E. O'Brien
104d85584f upgrade instructions. 1998-08-23 22:09:19 +00:00
David E. O'Brien
9522ac24d5 This commit was generated by cvs2svn to compensate for changes in r38494,
which included commits to RCS files with non-trunk default branches.
1998-08-23 22:07:21 +00:00
David E. O'Brien
ab38884b94 Virgin import of AMD (am-utils) v6.0a16 1998-08-23 22:07:21 +00:00
John Birrell
2fbedc25cd Use %p and void * casts to print pointers.
Cast the hash value returned to long instead of int.
1998-08-20 21:33:31 +00:00
John Birrell
d8a6b1e31e Add #include string.h to get prototypes. 1998-08-18 01:47:44 +00:00
John Birrell
87e904fdcf Add #include string.h to get prototypes.
Cast a pointer to u_long instead of u_int32_t to avoid a warning. This
is cosmetic because the code is just looking for the remainder.
1998-08-18 01:46:58 +00:00
Julian Elischer
55d80b2df1 Handle the case of moving a directory onto the top of a sibling's
child of the same name.

Submitted by:	Kirk Mckusick with fixes from luoqi Chen
Obtained from:   Whistle test tree.
1998-08-12 20:46:47 +00:00
Dag-Erling Smørgrav
c8dde19133 Add missing .TP in "INTERACTIVE MODE" section. 1998-08-12 10:38:37 +00:00
Wolfram Schneider
f3b2c2d1d3 Merge from stable: support for the o, order, command 1998-08-12 09:58:15 +00:00
Poul-Henning Kamp
54ae3aa75b None of the header files for the packet capture library
are suitable to include in a C++ file.

PR:		7229
Reviewed by:	phk
Submitted by:	Craig Spannring <cts@internetcds.com>
1998-08-07 06:20:58 +00:00
Dag-Erling Smørgrav
e7cdb97253 Add -t option ('t' in interactive mode) to make top(1) ignore itself.
Attempts to contact the author of top(1) (William LeFebvre) have so
far been unsuccessful.

PR:		7253
Submitted by:	Yours Truly
1998-08-04 14:10:48 +00:00
Peter Wemm
05b73c60a4 I obviously cannot read. I misread the ifdef in the Makefile - DONT_FSYNC
was not on by default.. Back previous change out.
1998-08-04 13:56:32 +00:00
Peter Wemm
aa0c66bc41 Invert the sense of the -s flag (local addition). Instead of compiling
in the behavior via the previously default #define DONT_FSYNC, use the
-s flag to turn the fsync() behavior on.  This can be configured in
sendmail.cf without recompiling mail.local.
1998-08-04 13:46:46 +00:00
Peter Wemm
d615a19295 Copy original revs 1.2,1.3 - nofsync/nobiff support, usage update. 1998-08-04 13:14:21 +00:00
Peter Wemm
e3de8dc3d1 Copy original revs 1.2,1.3 - sort xrefs, document new -b and -s flags. 1998-08-04 13:11:42 +00:00
Peter Wemm
c97fb50e13 Copy original rev 1.2 - fix usage line to match reality. 1998-08-04 13:09:38 +00:00
Peter Wemm
1bceb5b259 Copy original rev 1.2 - path updates for 4.4BSD so smrsh is more useable. 1998-08-04 13:08:41 +00:00
Peter Wemm
829be59c37 Copy original rev 1.2 - immediate delivery rather than queueing and -Wall. 1998-08-04 13:07:03 +00:00
Peter Wemm
663f78a4e8 Copy original revs 1.19,1.15 - setusercontext() support and __FreeBSD__>=2
Copy original revs 1.9,1.8,1.7 - set PS_STRINGS correctly.
1998-08-04 13:04:55 +00:00
Peter Wemm
4ec6f1f332 Copy original rev 1.3 - fix cosmetic typo in example
Copy original rev 1.2 - sort xrefs
1998-08-04 12:59:12 +00:00
Peter Wemm
f897fed538 Copy original rev 1.5 - sort/fix xrefs
Copy original rev 1.4 - correct path to /usr/share/misc/sendmail.hf
1998-08-04 12:57:34 +00:00
Peter Wemm
b2ee1660ba Copy respective revisions from usr.sbin/sendmail/*/* - use -1 with getopt. 1998-08-04 12:53:30 +00:00
Peter Wemm
b26579db36 Copy rev 1.2 of usr.sbin/sendmail/cf/sh/makeinfo.sh: Use LC_TIME=C date. 1998-08-04 12:47:09 +00:00
Peter Wemm
bb9b311a11 Copy across rev 1.2 of usr.sbin/sendmail/cf/ostype/bsd4.4.m4:
Remove the legacy -d option from the arguments to mail.local in 4.4bsd.
1998-08-04 12:45:34 +00:00
Peter Wemm
8c7de60340 Copy across rev 1.2 of usr.sbin/sendmail/cf/m4/cfhead.m4: Record envelope
sender in each Received: header along the way. Great for spammer hunting.
1998-08-04 12:44:19 +00:00
Peter Wemm
809dcea5da This commit was generated by cvs2svn to compensate for changes in r38032,
which included commits to RCS files with non-trunk default branches.
1998-08-03 05:56:20 +00:00
Peter Wemm
c2aa98e247 Import sendmail-8.9.1 (slightly trimmed) onto a fresh branch under
src/contrib as per various discussions.  I will copy across our changes
and then point the Makefiles across once the dust has settled..
1998-08-03 05:56:20 +00:00
Bruce Evans
bb6ae0a4a9 Fixed printf format errors. 1998-08-02 16:44:18 +00:00
Bruce Evans
c513aafea1 Fixed printf format errors. 1998-08-02 15:18:45 +00:00
Bruce Evans
d983fa4305 Fixed printf format errors. gcc should have a macro HOST_PTR_PRINTF_TYPE
to go with its HOST_PTR_PRINTF[_FORMAT], since if %p is wrong for the
format then `void *' is probably wrong for the type.
1998-08-02 14:57:00 +00:00
John Polstra
3bc25faee6 Add support for a new archetype "printf0" for the "format" function
attribute.  It is like the existing "printf" archetype, except that
it doesn't complain if the format string is a null pointer.  See
the node "Function Attributes" in the GCC info pages if you don't
know what this is all about.

This change will allow us to add format string checking for the
err(3) family of functions.
1998-07-15 04:22:45 +00:00
Dmitrij Tejblum
c713c527bb Add XPG4.2. 1998-07-08 15:05:05 +00:00
Bruce Evans
22694ebad5 Fixed printf format errors. 1998-07-06 21:01:54 +00:00
Bruce Evans
a0f9f69e20 Declared version_string() properly (1970's style). 1998-07-06 20:40:57 +00:00
Bruce Evans
2512f2fe3b Fixed printf format errors. 1998-06-30 20:14:13 +00:00
Bruce Evans
c15a5b80be Fixed printf format errors. 1998-06-30 19:53:09 +00:00
Bruce Evans
3e55a1b2c6 Fixed (1970's/old-GNU style) a missing declaration of a function that
doesn't return int.
1998-06-30 19:19:10 +00:00
Bruce Evans
f39030436d Fixed printf format errors. 1998-06-30 18:12:26 +00:00
Bruce Evans
9f15c7ece5 Fixed printf format errors. 1998-06-30 18:06:23 +00:00
Bruce Evans
82890f2bb9 Don't assume that time_t is long. Don't assume that time_t's can be
represented by ints.  Keep assuming that time_t's can be represented
by longs.
1998-06-29 16:30:43 +00:00
Bruce Evans
39470616b1 Don't assume that time_t is long. 1998-06-29 15:52:49 +00:00
Peter Wemm
dd21baedfd Merge 3.2.3 -> 3.2.7 changes into mainline. 1998-06-20 18:43:25 +00:00
Peter Wemm
847a1ab264 This commit was generated by cvs2svn to compensate for changes in r37074,
which included commits to RCS files with non-trunk default branches.
1998-06-20 18:29:38 +00:00
Peter Wemm
9b632708fe Import trimmed version of ipfilter 3.2.7.
Obtained from:  Darren Reed via http://cheops.anu.edu.au/~avalon/
1998-06-20 18:29:38 +00:00