Alexey Zelkin
e0c90a7bd5
* Don't SEGFAULT on attempt to write nothing (if no source files were
...
specified)
* Don't print currline if it's NULL
MFC after: 3 days
2002-02-13 13:00:33 +00:00
Yoichi NAKAYAMA
9d6e4fa0a5
Add myself.
2002-02-11 13:13:02 +00:00
Peter Pentchev
fef3edecbb
Describe the '+' option in the -t trace string.
...
PR: 34668
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
Reviewed by: dd
Approved by: dd
MFC after: 1 week
2002-02-11 09:03:34 +00:00
Mark Murray
e35f9517d6
Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.
2002-02-08 23:07:37 +00:00
Mark Murray
91bd71d206
Remove leaf node WARNS?=2 (that mainly I added). This should
...
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +00:00
Dag-Erling Smørgrav
4525f3a803
Fix the code that selects the default binary type if the actual type can't
...
be determined.
PR: bin/34698
Submitted by: (in part) Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 1 weeks
2002-02-08 12:42:55 +00:00
Peter Wemm
77dcd09d42
GRR. Unbreak WARNS=2.
...
cc1: warnings being treated as errors
usr.bin/finger/lprint.c: In function `lprint':
usr.bin/finger/lprint.c:191: warning: precision is not type int (arg 2)
*** Error code 1
Pointy hat to: markm
2002-02-08 07:52:51 +00:00
Peter Wemm
cf467a82df
GRR. This was not WARNS=2 clean. You cannot printf a 'long' with
...
'%qd'.
usr.bin/du/du.c:288: warning: long long int format, long int arg (arg 2)
Pointy hat to: markm
2002-02-08 07:49:13 +00:00
Maxim Sobolev
97b79abc86
Inspect ELF header and reject any non-FreeBSD shared objects.
...
MFC after: 2 weeks
2002-02-08 04:08:57 +00:00
Andrew Gallatin
f9393c5e72
add missing <string.h> to give strcpy() a prototype
2002-02-08 03:01:03 +00:00
Maxim Konovalov
ccd5850d31
Add myself.
...
Reviewed by: ru
Approved by: ru
2002-02-07 09:24:44 +00:00
Mark Murray
23d79449c5
Backout -Werror protection. No need to walk all over the upcoming
...
GCC3 changeover.
2002-02-06 18:13:12 +00:00
Dag-Erling Smørgrav
dc584ddbc5
ANSIfy and remove some dead code.
...
Sponsored by: DARPA, NAI Labs
2002-02-06 15:26:07 +00:00
Dag-Erling Smørgrav
ed4d1c46a2
Apply the following mechanical transformations in preparation for
...
ansification and constification:
s{\s+__P\((\(.*?\))\)}{$1}g;
s{\(\s+}{\(}g;
s{\s+\)}{\)}g;
s{\s+,}{,}g;
s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g;
s{return ([^\(].*?);}{return ($1);}g;
s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g;
s{\s+$}{\n};g
Also add $FreeBSD$ where needed.
MFC after: 1 week
2002-02-06 13:30:31 +00:00
Alfred Perlstein
8858373f83
The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacks
...
were removed and replaced them with clnt_tp_create, now the af_local
support is fixed.
I also removed the hack how rpcinfo contacted rpcbind, now we can
relay on clnt_tp_create create the client-handle for us. Only
rpcbind itself needs a hardcoded socket-path.
Submitted by: mbr
Also add $FreeBSD
2002-02-05 19:26:04 +00:00
Maxim Sobolev
c6de4ce791
Allow ldd(1) be used on shared libraries in addition to executables.
2002-02-04 10:33:48 +00:00
Maxim Sobolev
fc41545e4e
GC meaningless assignment.
...
MFC after: 3 days
2002-02-04 10:23:23 +00:00
Kris Kennaway
c698668189
Silence some WFORMAT=1 warnings
2002-02-04 02:37:09 +00:00
Kris Kennaway
01d7192418
Mark a function as __printflike()
...
MFC after: 1 week
2002-02-04 02:12:49 +00:00
Mike Barcroft
f971bd0623
Use new ID scheme.
...
Fix a bug that caused .br domains to be queried twice, by only
recursively following ARIN referrals when querying ARIN.
PR: 34291
MFC after: 7 days
2002-02-03 07:35:32 +00:00
Maxim Sobolev
de78df64c7
Complete bzip2-1.0.2 import.
...
MFC in: 14 days
2002-02-01 16:33:40 +00:00
Mike Barcroft
4185049582
Add -a option (SUSv3) to split(1).
...
Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
MFC after: 1 month
2002-02-01 06:55:18 +00:00
Dag-Erling Smørgrav
c60ed00a43
Still with asbestos longjohns on, completely PAMify login(1) and remove
...
code made redundant by various PAM modules (primarily pam_unix(8)).
Sponsored by: DARPA, NAI Labs
2002-01-30 19:10:21 +00:00
Dag-Erling Smørgrav
554b9a6e8e
Back out rev 1.78, which is incorrect now that the PAM modules have been
...
fixed to accept a NULL PAM_RHOST.
2002-01-29 23:27:54 +00:00
Mike Barcroft
c3751af262
Add -o option (POSIX.1-2001) to uudecode(1). Deprecate the -p option
...
(which allows one to redirect output to stdout); `-o /dev/stdout' is
recommended instead.
Submitted by: Joseph Mallett <jmallett@xMach.org>
MFC after: 2 weeks
2002-01-27 18:21:23 +00:00
David Malone
ecca80bd97
Make usage message and man page synopsis reflect the fact that -n
...
and -c are mutually exclusive.
PR: 34233
Submitted by: Gary W. Swearingen <swear@blarg.net>
MFC after: 3 days
2002-01-24 22:27:50 +00:00
David Malone
24bd57cbbd
Add new option HAVE_STRERROR to CFLAGS.
2002-01-24 17:59:39 +00:00
Dag-Erling Smørgrav
905fd6f3ee
Don't set PAM_RHOST, this is a local login.
...
Sponsored by: DARPA, NAI Labs
2002-01-24 16:20:17 +00:00
Philippe Charnier
57906e00c6
Show arguments of command line options
...
Reviewed by: ru
2002-01-22 19:49:48 +00:00
Mike Barcroft
e1bc822ebe
o Remove the -V [version number] option, since our version of at(1) no
...
longer resembles the original.
o Remove references to `you' in the manual.
Submitted by: Joe Halpin <joe.halpin@attbi.com>
2002-01-22 03:04:15 +00:00
Dag-Erling Smørgrav
f2c44ccec8
When running on a local terminal, set PAM_RHOST to the local hostname.
...
Sponsored by: DARPA, NAI Labs
2002-01-21 16:19:38 +00:00
Mike Heffner
94ef258fee
Link mail(1) to mailx per POSIX. Mail(1) isn't 100% POSIX compliant,
...
but it is pretty close.
Not objected to by: -standards
2002-01-19 23:47:21 +00:00
Matthew Dillon
170ac683f2
I've been meaning to do this for a while. Add an underscore to the
...
time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx()
instead of time_to_xxx(), to make it more obvious that these are
stopgap functions & placemarkers and not meant to create a defacto
standard. They will eventually be replaced when a real standard
comes out of committee.
2002-01-19 23:20:02 +00:00
Andrey A. Chernov
07977587ab
Back out PAM_CRED_ERR addition
2002-01-19 18:06:05 +00:00
Andrey A. Chernov
3e4f7c7f99
Add PAM_CRED_ERR as valid failure case
2002-01-19 09:01:17 +00:00
Ruslan Ermilov
62eaa6eed1
mdoc(7) police: bump document date for the -p change, tidy up the markup.
2002-01-17 10:38:32 +00:00
Mike Barcroft
00e39e5ea1
Fix a typo introduced in the previous delta. The mistake was mine
...
rather than the submitter's.
2002-01-17 07:48:12 +00:00
Ruslan Ermilov
ab47d79913
Document fetch(1) reaction to SIGINFO.
...
PR: docs/33640
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
Approved by: des
2002-01-16 16:16:08 +00:00
Ruslan Ermilov
3e4f59ce06
Replace reference to ANSI C draft with standard.
...
PR: docs/30731
2002-01-16 14:55:18 +00:00
Ruslan Ermilov
491a842962
yp(4) -> yp(8).
...
PR: docs/30797
2002-01-14 16:59:03 +00:00
Yoshihiro Takahashi
1c6d3890d6
'uname -p' prints the value of hw.machine_arch instead of hw.machine.
...
Reviewed by: imp
No response from: -arch
MFC after: 3 weeks
2002-01-14 12:49:46 +00:00
Mike Barcroft
d81986de07
Implement the POSIX 1003.1-2001 -r and -t options in at(1). Fix some
...
minor issues in the rest of the source and manual.
Submitted by: Joe Halpin <joe.halpin@attbi.com>
Obtained from: touch(1) (partially)
MFC after: 1 month
2002-01-13 20:21:08 +00:00
Jens Schweikhardt
e3e5c7667e
Make substitutions in internal macros like $(@F:.o=.c) work.
...
This should not affect our build process, as
find /usr/src -name Makefile | xargs grep '@[DF]'
has no matches (other than FreeBSD.org email addresses :-)
PR: bin/24377
Submitted by: Mark Valentine <mark@thuvia.demon.co.uk>
Reviewed by: Matthew Emmerton <matt@gsicomp.on.ca>
MFC after: 4 weeks
2002-01-12 10:45:27 +00:00
Ruslan Ermilov
deba245176
Don't format lines that look like troff requests, for
...
compatibility with old fmt(1). New option -n permits
formatting of lines beginning with a dot character.
PR: bin/31392
MFC after: 3 days
2002-01-11 19:06:48 +00:00
Ruslan Ermilov
3e048b5912
mdoc(7) police: oops, forgot about those interim XXX'es.
2002-01-10 14:27:04 +00:00
Ruslan Ermilov
81135783d1
mdoc(7) police: tidy up.
2002-01-10 14:25:34 +00:00
Giorgos Keramidas
1309232c90
- Add 4-digit year variants in the manpage, since at(1) already
...
understands them.
PR: docs/32843
Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2002-01-10 08:21:31 +00:00
John Baldwin
a4e5fd57ac
Replace -I${.OBJDIR} with -I. and split the CFLAGS line up into two lines.
...
Requested by: bde
2002-01-08 11:08:20 +00:00
John Baldwin
72b1c1af40
Remove gcc specific compiler flags, at least one of which doesn't work with
...
gcc 3.0.2. (-fstrict-prototypes)
2002-01-08 08:53:12 +00:00
John Baldwin
e2bac28d84
Use -I${.OBJDIR} -I${.CURDIR} rather than -I. so that this compiles in a
...
cross-build environment.
2002-01-08 08:13:23 +00:00