Bruce Evans
1b1ddfa527
Simplified by using new yacc rules. The new lex rules can't be used
...
here, at least without ifdefs for the bootstrap.
1998-05-04 19:10:20 +00:00
Bruce Evans
2cf0660cea
Simplified using new yacc rules and by not generating y.tab.h. The
...
lex source is still handled bogusly.
1998-05-04 18:40:18 +00:00
Steve Price
e1f4275a7c
Be picky about the format of the commandline and cleanup
...
a warning related to qsort.
PR: 6420
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-05-03 23:22:37 +00:00
Steve Price
7c50fe7bb0
Add the year to the 'wtmp begins...' line.
...
PR: 6421
Submitted by: phk
1998-05-03 23:19:15 +00:00
Steve Price
b2ab9053e3
Remove (now) invalid .Xr trsp 8
...
PR: 6494
Submitted by: Don Morrison <dmorrisn@u.washington.edu>
1998-05-03 21:34:34 +00:00
Peter Wemm
f0b57f8b59
Update for bind-8
1998-05-03 05:16:58 +00:00
Doug Rabson
c474c6d309
Add ELF support.
1998-05-01 08:40:11 +00:00
Peter Wemm
c8ff18082f
*blush*, typo during last minute editing..
1998-04-30 16:50:07 +00:00
Peter Wemm
159da44105
Change euid while reading the user's .login_cap file in case the homedir
...
is on a NFS partion without root read access. Also, flip euid again for
the duration of the chdir() to the homedir for the same reason.
PR: 5145
Submitted by: Joel.Faedi@esial.u-nancy.fr
Also tested by: A Joseph Koshy <koshy@india.hp.com>
1998-04-30 16:48:20 +00:00
Andrey A. Chernov
3ccb32a975
Use NL_CAT_LOCALE to activate LC_MESSAGES
1998-04-30 12:49:11 +00:00
Andrey A. Chernov
d95038c45e
Add (unsigned char) cast to ctype macros
1998-04-30 10:31:38 +00:00
Andrey A. Chernov
3492193d0e
Make 'y' command 8bit clean
...
PR: 6458
1998-04-29 21:58:36 +00:00
Warner Losh
3a42f937f1
Use historically correct error message in some cases, optionally.
1998-04-28 05:08:10 +00:00
Dag-Erling Smørgrav
574a97f5ce
Check that user really typed "who am {I,i}", and that no stray
...
arguments are given.
Note that usage() and the manpage disagree...
PR: bin/6294
Suggested by: Ruslan Ermilov and Bruce Evans
Submitted by: Ruslan Ermilov (partly)
1998-04-26 19:10:51 +00:00
Bruce Evans
22450dd8c1
Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus
...
dependencies of generated .c files on generated headers (these made
`make -JN' work provided `depend' was made first). Sorted sources lists.
1998-04-26 16:31:14 +00:00
Poul-Henning Kamp
64400b18cc
When all transformation rules to or from a suffix disappeared, make tries
...
to free the suffix. I think, it is a very strange idea. (Or, maybe, it is a
POSIX requirement?) And it is done incorrectly. Apparently, it even don't
update the list of known suffixes (but it is an other bug).
PR: 4254, 4692, 4783
Reviewed by: phk
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1998-04-26 09:44:48 +00:00
Poul-Henning Kamp
f24a941b31
fix ncal.1 grammar
...
PR: 6394
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-04-26 06:21:29 +00:00
David Greenman
ca67f4589b
Output mbuf clusters as current/peak/max. Requires new kern.ipc.nmbclusters
...
sysctl variable (previously committed).
1998-04-24 04:30:27 +00:00
Poul-Henning Kamp
384606eb2c
netstat truncates info in sockaddr* between kgetsa and p_sockaddr
...
by dereferencing pointer to smaller structure
PR: 5256
Reviewed by: phk
Submitted by: Gregory D. Moncreaff <moncrg@bt340707.res.ray.com>
1998-04-22 06:54:31 +00:00
Eivind Eklund
7b206e114e
Add a forgotten 'static'.
1998-04-21 02:44:12 +00:00
Eivind Eklund
e3e9c8eed9
Make brandelf test for known brands, and introduce a '-f' option to
...
bypass the testing.
Partially submitted by: Brian Feldman <green@feldman.dyn.ml.org>
1998-04-21 02:31:09 +00:00
Joerg Wunsch
6738ac4ff3
Define '\t' as a printable character, so it can be displayed on the
...
screen. isprint(3) doesn't do this, but isprt() apparently expected
this to be the case.
1998-04-20 13:37:29 +00:00
Philippe Charnier
5f03edf130
Correctly operate on hardlink when source and destination are not on the same
...
device.
PR: bin/3158 (part 2)
1998-04-20 06:20:24 +00:00
Poul-Henning Kamp
3d65e4d1f8
Like most Unices FreeBSD should have a larger tty field at least
...
as large as UT_LINESIZE (/usr/include/utmp.h). If the tty name is logged
with this size why isn't the w command reporting it?
(We should probably report the tty/cua prefix then as well ? /phk)
PR: 4187
Reviewed by: phk
Submitted by: Jorge M. Goncalves <ee96199@tom.fe.up.pt>
1998-04-19 18:32:01 +00:00
Poul-Henning Kamp
c5d1ef4169
The current version of netstat does not print the interface
...
name for AF_LINK routing entries. This makes debugging
network problems more difficult.
PR: 4182
Reviewed by: phk
Submitted by: Craig Leres <leres@ee.lbl.gov>
1998-04-19 18:18:25 +00:00
Poul-Henning Kamp
d459926593
Ctags write to buffer beyond the end of it when the source file
...
doesn't end with '\n'. It brings segmentation fault.
PR: 4812
Reviewed by: phk
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>
1998-04-19 18:00:49 +00:00
Poul-Henning Kamp
f934279d20
mt should report the compression status.
...
PR: 5276
Reviewed by: phk
Submitted by: Matt Dillon <dillon@best.net>
1998-04-19 17:28:14 +00:00
Daniel O'Callaghan
7e3662b819
PR: 4866
...
Submitted by: fenner
Make man page reflect reality.
1998-04-14 22:08:48 +00:00
Peter Wemm
46fec6d189
Add mktemp directory
1998-04-14 07:40:47 +00:00
Peter Wemm
4ca332d5bf
Bring in an old faithful tool I've been using for just over 4 years now
...
(originally on a different OS without mkstemp()), albeit somewhat
bashed and hacked into something that doesn't look too much like
the original any more. It should be upwardly compatable with
OpenBSD's mktemp(1) but does a couple of extra things.
I've taken OpenBSD's mktemp.1 man page and adapted it to suit.
1998-04-14 07:39:57 +00:00
Poul-Henning Kamp
acf1dcdc9c
Better SYNOPSIS
...
PR: 6294
Reviewed by: bde, phk
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 06:42:18 +00:00
Poul-Henning Kamp
651cabf8b3
add strings(1) to what(1) "SEE ALSO"
...
PR: 6289
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-04-14 06:31:23 +00:00
Steve Price
2d5be945b8
Document the use of sendmail options on the commandline.
...
PR: 4778
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:59:29 +00:00
Steve Price
2a453c238f
Don't let secs variable wrap if <= 2.
...
PR: 6290
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:23:54 +00:00
Peter Wemm
eb1c943900
Add a new -F flag which is a superset of -f. It will cause tail to
...
stat() the file being followed and do a close/reopen if the file has been
renamed and/or rotated. This is damn useful for leaving running on files
in /var/log when newsyslog(8) rotates them.
1998-04-06 16:13:49 +00:00
Philippe Charnier
52e8a120a3
Prevent rdist from dumping core: do not free() pointer before using it.
...
Add rcsid. Document -D flag (debug mode). Remove unused includes.
PR:bin/3158 (part 1)
1998-04-06 06:18:32 +00:00
Daniel O'Callaghan
5c1bad3122
PR: bin/6193
...
Submitted by: Max Euston <meuston@jmrodgers.com>
Make times between 0000-0059 and 1200-1259 show as 12:xx, not 0:xx
1998-04-01 21:34:10 +00:00
Mark Murray
9de765d73b
Rats. I was too fast here. Re-enable SUID mode for the non-Kerberos
...
case.
1998-03-26 19:43:06 +00:00
Mark Murray
42873e5755
Quite a while back KTH (who are the good folks who wrote our KerberosIV)
...
announced a K4 weakness with their rsh/rlogins. We were not put in any
danger by this, as we were not using KTH rlogin/rsh, but the patches
in themselves, had some good points. This lot means we can run our
rlogin without it being SUID root. Win win win. There are other KTH
cleanups as well.
1998-03-26 18:03:41 +00:00
Mark Murray
17515961ec
Remove unneeded crud.
1998-03-26 17:55:27 +00:00
Eivind Eklund
bd41cae5e3
Remove special global tags support; we don't do it that way anymore.
1998-03-26 16:12:14 +00:00
John Birrell
df93fef29b
Ouch, that nm is aout which is not alpha-friendly. Make it i386
...
specific.
1998-03-24 01:43:45 +00:00
Bruce Evans
8faed1b0dc
Ifdefed conditionally-unused variables.
1998-03-23 14:14:24 +00:00
Philippe Charnier
306005e78c
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 07:48:45 +00:00
Philippe Charnier
a31bd3d64c
Add rcsid. Sort #includes.
1998-03-23 07:47:31 +00:00
Philippe Charnier
3508975f96
Add const to rcsid.
1998-03-23 07:46:23 +00:00
Philippe Charnier
6363467d81
.Nm nice -> .Nm.
1998-03-23 07:45:40 +00:00
Philippe Charnier
522571b32e
Add rcsid. Correct -Wall warning.
1998-03-23 07:41:49 +00:00
Steve Price
a76f172954
Reword using who.1 as a good example of where to start.
...
Submitted by: bde
1998-03-22 17:39:08 +00:00
John Birrell
1b31c7dd49
Remove a bunch of unsupported machines, and the 'other' case where
...
some subdirs were only processed for install and clean (which caused
builds to fail on alpha). Install and clean should always follow
SUBDIRS.
1998-03-22 08:55:28 +00:00
Peter Wemm
01c855ca0a
merge ppp-2.3.3 changes onto mainline
1998-03-21 20:47:53 +00:00
Bruce Evans
7eda6c03ce
Honour -static in LDFLAGS.
...
Install using ${INSTALL}, not `install'. Install generated files using
${COPY}, not -c. Install using a single command when this is easy.
1998-03-21 12:51:44 +00:00
Bruce Evans
e1d3476a8e
Don't use beforedepend to break things. The usual fix of putting
...
generated sources in SRCS breaks because compile_et uses an evil
include of one .c file in another. Use a worse fix. Perhaps
DPSRCS is useful after all.
Don't put *.y in SRCS. Put the generated file in SRCS instead.
This fixes incomplete dependencies (mkdep can't work on *.y).
Don't override the default .l.c rule. Just use LFLAGS.
Fixed some style bugs.
1998-03-20 16:21:39 +00:00
Bruce Evans
861999b4c1
Updated MISSING list.
1998-03-20 12:34:21 +00:00
John Birrell
5c931089a9
Some things only work on i386.
1998-03-13 19:41:06 +00:00
Peter Wemm
6593044822
Import intial version of an a.out/elf tool wrapper/selector. It is
...
not active yet, just a work-in-progress.
1998-03-10 05:20:58 +00:00
John Birrell
4933ffaed9
cksum does a 32-bit checksum, so it needs to use u_int32_t variables,
...
not u_long. With this change, cksum stops core dumping on alpha (not
a good sign!) and actually computes the same values as it does on i386.
1998-03-10 05:03:49 +00:00
Andrey A. Chernov
0c312497c7
Localize it
1998-03-08 20:56:43 +00:00
Wolfram Schneider
8b91ab6a61
Change default temporary directory (TMPDIR) from /tmp to /var/tmp.
...
Mosts users seems to have a larger /var/tmp partition
than /tmp - IMHO silly but who cares?
1998-03-08 16:09:31 +00:00
Wolfram Schneider
a294b5d81b
Improve shell variable substitution.
1998-03-08 15:28:37 +00:00
Peter Wemm
e8eb82a81c
Rewrite script as a select loop rather than as a twin reader/write process.
...
This allows simple logging of keys sent to a session (turned on with -k).
Also allow specifying the script file flush interval.
1998-03-08 14:19:18 +00:00
Wolfgang Helbig
2c7dad3eea
Replaced by ncal
1998-03-08 09:19:48 +00:00
John Dyson
4d5459f794
Support a couple of new "-s" stats.
1998-03-07 23:40:23 +00:00
Andrey A. Chernov
9b0c02c058
Prevent passwd locking database forever waiting for user input
...
Submitted by: Antti Kaipila <anttik@iki.fi>
1998-03-07 21:42:07 +00:00
John Birrell
36dbb7ddef
Fix a #ifndef that became a #ifdef and changed the default
...
behaviour of rpcgen.
Noticed by: bde
1998-03-07 05:43:59 +00:00
Bruce Evans
99c91e5acc
Fixed `make -jN' for large N. Just put the generated file y.tab.h in
...
SRCS and add a dummy rule to create it. This and cleaning of yacc
output files should all be handled by bsd.prog.mk.
1998-03-06 14:25:45 +00:00
Bruce Evans
8408ce6f64
Fixed `make -jN' for large N, as usual.
1998-03-06 14:02:04 +00:00
Bruce Evans
10b2c6839a
Fixed `make -jN' for large N. Just put all generated headers in SRCS.
1998-03-06 13:51:18 +00:00
Steve Price
0ad8c69ad4
Fix a few minor typos and style nits.
...
PR: 5883
Submitted by: hnokubi@yyy.or.jp
1998-03-01 18:58:03 +00:00
Alexander Langer
098fd386f6
Use .Nm rdist for second .Nm occurrence in synopsis.
1998-03-01 00:18:25 +00:00
Alexander Langer
cb72607e75
Use .Nm id' instead of
.Nm' for the synopsis lines.
...
PR: 5876
1998-02-28 21:37:54 +00:00
James Raynard
09831267df
Don't assume sigset_t and int are equivalent.
1998-02-28 16:02:24 +00:00
Mike Smith
fce0b07815
Don't claim XMS isn't implemented (it is).
...
Attempt to explain the "X11 support not compiled in" diagnostic.
Submitted by: philip@rmit.edu.au (Philip Musumeci)
1998-02-26 07:53:02 +00:00
Bruce Evans
03ceff03f6
Added a prototype for a qsort comparision function and fixed the usual
...
type mismatch uncovered by this.
1998-02-25 02:29:58 +00:00
Bruce Evans
3cb5ecc8c2
Fixed the usual type mismatch for a qsort comparison function.
1998-02-25 02:25:50 +00:00
Bruce Evans
92ddd8c652
Fixed the usual type mismatch for a signal handling function.
1998-02-25 02:24:04 +00:00
Steve Price
7db98de957
Add a -p option which is the same as the -m option but provided
...
for SVR4 compatibility.
PR: 5826
1998-02-24 16:57:49 +00:00
Mike Smith
86740c3409
Add Back-Tab functionality. (Ie. shift-tab)
...
Submitted by: Randall Hopper <rhh@ct.picker.com>
1998-02-22 23:36:54 +00:00
John Birrell
f2af83ab9e
Change a (defaulted) int arg to a long so that a cast from a pointer
...
doesn't throw anything away. I don't want to re-code the app, just
port it!
1998-02-20 19:59:59 +00:00
John Birrell
9ddaa53328
Add #include <string.h> to get prototypes. Note that this program
...
also has a local "string.h" which is included too.
1998-02-20 19:56:01 +00:00
John Birrell
e4fcd28b7f
Add #include <string.h> to get prototypes.
1998-02-20 19:53:12 +00:00
John Birrell
58a76373c2
Add #include <stdlib.h> to get prototypes.
1998-02-20 19:50:10 +00:00
Bruce Evans
e5eb0d8db1
Don't create an unused obj directory.
1998-02-20 11:18:57 +00:00
John Birrell
5362bb64c5
gcc wants to see long long variables passed to %q printf formats, so
...
cast to that instead of quad_t.
1998-02-20 05:11:42 +00:00
John Birrell
2ffc763234
time() needs a pointer to a time_t, but tv_sec in a timeval is a
...
long (yuk). So give time() what it wants and let the compiler
promote the variable when it is assigned to tv_sec.
1998-02-20 05:08:53 +00:00
John Birrell
56d73492e1
localtime() needs a pointer to time_t which is not necessarily a long.
...
So use a time_t in the chdr structure so that no casts are required.
1998-02-20 05:01:05 +00:00
John Birrell
ae25b713c6
Can't use ~0L to compare against a uint32. Use ~((uint32) 0) instead.
1998-02-20 04:57:33 +00:00
John Birrell
2a0373c39a
Add #include <string.h> to get prototypes.
1998-02-20 04:54:00 +00:00
John Birrell
b212561dcb
Initialise variable that gcc lies awake at night worrying about.
1998-02-20 04:50:50 +00:00
John Birrell
32744e40cd
Add #include <string.h> to get prototypes.
1998-02-20 04:48:37 +00:00
John Birrell
a8b1e5be58
Replace incomplete malloc prototype with #include <stdlib.h>
...
to get the proper one.
1998-02-20 04:38:20 +00:00
John Birrell
9c26f2aeaf
Add #include <stdlib.h> to get prototype for malloc().
1998-02-20 04:34:08 +00:00
John Birrell
5b116430fc
Add #include <string.h> to get prototypes.
1998-02-20 04:33:03 +00:00
John Birrell
c93bd87aba
Add #include <stdlib.h> to get prototype for malloc(). Without this,
...
the compiler assumes an int return. On alpha this is enough to ruin
ya day.
1998-02-20 04:21:46 +00:00
John Birrell
6216c30a1c
Add #include <string.h> to get prototypes for functions that gcc
...
has builtin (and wants to know that the prototypes match).
1998-02-20 04:13:29 +00:00
Garrett Wollman
a00fe97d5a
Make it more convenient to query NICs other than InterNIC. Explain in the
...
man page what each database contains.
1998-02-19 19:07:50 +00:00
Steve Price
a81b76b3e8
Missing newline when euid != ruid.
...
PR: 5778
Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>
1998-02-18 17:35:16 +00:00
John Birrell
1ecfd4575d
Add #include <string.h> to get prototype for memcpy().
1998-02-15 04:15:47 +00:00
John Birrell
90836d4e24
gcc on alpha complains about nested comments. A comment in this
...
file referred to a path ending in "/*" which was reasonable to me,
but gcc wasn't so sure. So now the comment refers to a path ending in
"*".
1998-02-15 04:09:48 +00:00
Steve Price
3eb7ce85b1
Cleanup code so that long lines to be quoted don't get truncated.
...
PR: 5679
Reviewed by: Bruce Evans <bde@zeta.org.au>
1998-02-14 15:38:29 +00:00
Peter Wemm
373e363e34
Fix top sorting of idle processes. top used p_cpticks as a tie-breaker
...
but that isn't suitable (it gets zeroed each second apparently).
PR: bin/4957
Submitted-by: Dan Nelson <dnelson@emsphone.com>
1998-02-14 13:34:59 +00:00
Andrey A. Chernov
c8b701a4af
Fix very rare but dangerous bug:
...
for some DES passwords
crypt(real_password, salt)
is equal to
crypt("", salt);
It means that this user (and not only he) can login without
entering password at all, just pressing Return.
So if empty password entered and crypted password is not empty,
invalidate any crypt result by assigning ":"
1998-02-13 21:02:53 +00:00
Bruce Evans
5f61dae347
Fixed a comment. The module size is (unfortunately) in K, but it is not
...
in pages.
1998-02-12 23:58:54 +00:00
Steve Price
8583a41b1e
Update to reflect the current Jewish calendar.
...
PR: 5683
Submitted by: jgrosch@MooseRiver.com
1998-02-08 22:57:59 +00:00
Alexander Langer
c32bb532e4
locate(1) is no longer started by /etc/weekly.
1998-02-07 05:30:14 +00:00
Guido van Rooij
e28be89140
Reset SGINT and SIGQUIT handling to default when asking for passwords.
...
Otherwise, when pressing the INT ke at the password prompt, the password
will be displayed. Now login will be killed.
Probably the same will have to be done for the LOGIN_CAP_AUTH case.
I have not done that.
Reviewed by: Joerg Wunsch
1998-02-05 18:37:02 +00:00
Philippe Charnier
fb9d8a6886
Convert to mdoc. Move Id to the top.
1998-02-04 07:29:20 +00:00
Paul Traina
5099706acd
Don't print garbage when user enters EOF at name prompt.
...
PR: 5565
Submitted by: Jens Schweikhardt
1998-02-03 20:53:25 +00:00
Chris Timmons
2801a0cd47
PR: bin/5529
...
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>
Do not misinterpret file names with a digit in the 2nd column as
a tab stop specification.
1998-02-02 07:10:59 +00:00
Philippe Charnier
be6eb0fb17
Convert to mdoc format. Header -> Id.
1998-02-02 07:09:36 +00:00
Wolfgang Helbig
8927843705
Search for proper executables, ignore directories
1998-02-01 20:01:29 +00:00
Steve Price
e258cf49b3
ulimit does not have its own manpage as it is a shell builtin.
...
PR: 5582
Submitted by: Craig Leres <leres@ee.lbl.gov>
1998-02-01 06:19:56 +00:00
Philippe Charnier
76cd8d66fe
Add rcsid. RU#. Use err(3) instead of local redefinition. Convert man page to
...
mdoc format. Add usage(). Remove rcs $ Log $ -> use cvs log instead.
1998-01-28 07:36:25 +00:00
Wolfram Schneider
dfe64147d2
Add two new options:
...
-i Do not overwrite files.
-s Do not strip output pathname to base filename. By default uuencode
deletes any prefix ending with the last slash '/' for security
purpose.
1998-01-25 19:26:05 +00:00
Steve Price
9e7a1d01b0
Use -literal to make for a more pleasing list.
...
PR: 5547
Submitted by: Matthew Hunt <mph@pobox.com>
1998-01-25 16:38:42 +00:00
John Birrell
b0ed821446
Add a sysmk -> /dev/null definition ready for a coming change to
...
makesyscalls.sh.
1998-01-25 09:09:48 +00:00
Steve Price
86fb910326
Random data is no longer based on the time of day, rather the random
...
number device. Also clearly state that sequential data is the default.
PR: 5553
Submitted by: Jonathan Hanna <pangolin@rogers.wave.ca>
1998-01-24 03:32:33 +00:00
Mike Smith
f5d7bf3c0b
Printers under FreeBSD are /dev/lpt*
1998-01-22 02:44:54 +00:00
Jonathan Lemon
462232c223
Fix DOS keyboard handling to use standard pointer addresses instead of
...
an index into a private array.
Submitted by: Randall Hopper <rhh@ct.picker.com>
1998-01-21 21:37:02 +00:00
Bruce Evans
8339e4f43d
Converted to Lite2 mount interface - don't use numeric filesystem
...
types. The NetBSD compatibility cruft was more correct for -current
than FreeBSD's own code. It just used NetBSD #defines instead of
string literals for the filesystem names. NetBSD's MOUNT_UFS is
"ffs", so using a literal "ufs" gives wrong results, but this is
unimportant, especially for bootstrapping.
Fixed style bugs in trymmap().
Fixed some disordered declarations.
1998-01-20 13:52:32 +00:00
Bruce Evans
d63b9ba46a
Converted to Lite2 mount interface - decide filesystem types by name
...
instead of by number.
1998-01-20 12:53:43 +00:00
Bruce Evans
eae79dd1c0
Merged from Lite2. This was mostly already done, mostly indirectly
...
via wollman's changes in rev.1.2 being adopted by Lite2 and the
nfsv3 changes in rev.1.3 being adopted by both FreeBSD and Lite2.
We were only missing lookup of the type number for nfs (MOUNT_NFS
doesn't exist in Lite2).
1998-01-20 12:27:38 +00:00
Bruce Evans
87f01287d2
Removed definition of _NEW_VFSCONF. The new vfsconf interface is now
...
the default.
1998-01-20 10:40:18 +00:00
Bruce Evans
10abc80013
Started getting rid of the compatibility cruft for the Lite1 mount()
...
and the pre-Lite2 vfsconf interfaces.
For lsvfs, use the new interface for getvfsbyname(), and use the
old interface for getvfsent() explicitly instead of depending on
macro hacks in <sys/mount.h>. This is an intermediate step.
1998-01-17 16:24:27 +00:00
Wolfgang Helbig
630d15bbf9
Handle option -j correctly.
...
Synchronize usage message with man page.
PR: bin/5488
1998-01-15 10:23:34 +00:00
John Birrell
02de434c29
Add #ifdefs for __NetBSD__ in the rest of the places where __FreeBSD__
...
is defined so that this program behaves the same when built with
either set of tools. The only difference is where the pre-processor
is found. And that is a bug - it should check the CPP environment
variable and the path before just assuming that the compiled in
path is OK. I guess we should be using -Y ${WORLDPATH}/usr/bin/cpp
during a bootstrap build.
1998-01-15 08:46:58 +00:00
Philippe Charnier
20868061ee
Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) and
...
add usage().
1998-01-14 07:21:14 +00:00
Philippe Charnier
8659113475
Add rcsid, remove unused #includes, change exit(-1).
1998-01-14 07:14:11 +00:00
Alexander Langer
01b67e0e07
Change MAP_FAILED to type void *.
...
Typo fix.
1998-01-13 02:12:43 +00:00
Philippe Charnier
029cde2cd7
Change message 103, trailing \n is not needed when using errx(3).
1998-01-12 07:53:17 +00:00
Philippe Charnier
20f99d2a62
Use Id instead of Header. Change message 103, trailing \n is not needed
...
when using errx(3).
1998-01-12 07:52:15 +00:00
Philippe Charnier
8e64a8bfed
Use Id instead of Header. Sort #includes. Use err(3) and change exit(-1).
1998-01-12 07:51:07 +00:00
David E. O'Brien
81b199e2f1
changed 1st appeared in clause -- about to import into -stable
1998-01-12 05:02:57 +00:00
Steve Price
fa15c4ed1b
Update for new common calendar.
...
Submitted by: Josef Grosch <jgrosch@superior.mooseriver.com>
1998-01-12 03:31:17 +00:00
Steve Price
de48a0f797
Reword the synopsis line so that it makes sense.
1998-01-12 00:47:52 +00:00
Peter Wemm
ff8962446b
Add an option (-M) to install to disable use of mmap(2). This is kinda
...
handy at the moment with -current's mmap+unlink interactions.. The
problems seem worst when using INSTALL="install -C" in /etc/make.conf.
This could well come in handy in the future too.
1998-01-11 11:43:36 +00:00
John Birrell
94aacc4fb8
A partial frontal lobotomy for find if using the NetBSD libc which
...
doesn't know about getvfsbyname() and the vfsconf structure. This
disables the -fstype option if compiled with a pre-processor that
defines __NetBSD__. With the FreeBSD built pre-processor, find can only
be built with the FreeBSD libc. So when running with a NetBSD kernel,
FreeBSD's libc will have to return ENOSYS for things that NetBSD
doesn't support. That's life in a hybrid world.
1998-01-10 21:36:34 +00:00
Mike Smith
51151497c8
Revert to previous behaviour, only generate NLST for explicit "nlist"
...
command.
Submitted by: wollman
1998-01-09 13:45:11 +00:00
Sean Eric Fagan
e46b99366d
Revert the changes yet again, after some email from Bruce. Sorry.
1998-01-09 09:31:42 +00:00
John Birrell
d7c089b7a9
Add __NetBSD__ in a couple of places to allow this program to
...
compile under NetBSD, but behave like FreeBSD. For the time being,
look for NetBSD's cpp in /usr/bin.
1998-01-09 06:32:54 +00:00
John Birrell
d9b8124d7d
Allow install to build from FreeBSD source using NetBSD tools and
...
headers during the port of FreeBSD to a NetBSD supported architecture.
FreeBSD needs to be able to install itself from very early on.
1998-01-09 06:05:13 +00:00
Sean Eric Fagan
19db2a3c0b
Proper way to do the previous mis-commit. Still not quite right, because
...
some header files (e.g., <err.h>) include <machine/something.h>, and this
will not pick up the right header files, so it may be removed eventually
anyway. But some people who are not willing to build the right way
apparantly want this, so this is for them.
1998-01-09 00:39:10 +00:00
Sean Eric Fagan
41ccb63223
Get rid of the bogus include -- it is incomplete (as it doesn't handle
...
anything other than <sys/*.h>), and unnecessary in most cases. (The
situations where it is necesary can be dealt with by manually-made symlinks,
which is acceptable since they should only occur during testing. Remember:
the tree does not compile well if you do not have matching header files
installed. Half-baked -I directives don't cover enough of the cases.)
1998-01-09 00:22:50 +00:00
David E. O'Brien
0cd829f2f9
Mention S/key and the skey /etc files.
1998-01-07 10:42:57 +00:00
Philippe Charnier
a99e456443
Sync usage and synopsis. Add rcsid.
1998-01-07 07:46:33 +00:00
Philippe Charnier
8e59a4734d
Something important happened last year. And this file was last updated
...
in 82.
PR: misc/5416
1998-01-07 07:40:54 +00:00
John-Mark Gurney
ad6af66e58
include sys so it builds on 2.2.x
...
also, fix misspelling of -1 (as EOF for getopt)
1998-01-07 06:19:50 +00:00
Warner Losh
545b0f4db7
Wait for job to finish and exit if exec fails.
...
Obtained from: OpenBSD (Theo de Raadt)
1998-01-07 00:05:20 +00:00
Wolfgang Helbig
2d3b8b64a8
1. Don't reject 0145 if started at 22XX.
...
Applied suggested fix from Andrew Andrew <andrew@ugh.net.au> with
some stylistic changes. Thanks.
2. #include <sys/time.h> -> #include <time.h>
3. Removed #include <sys/param.h>
4. Use setlocale(3) and strftime(3) instead of ctime(3).
5. Clean up -Wall warnings.
6. Make sure, time to leave are integral minutes if the argument
is absolute. (i. e. without "+"). If started at 10:10:55 with
argument "1020" it computed time to leave as 10:20:55 instead of
10:20:00.
PR: 5395
1998-01-06 17:27:09 +00:00
Wolfgang Helbig
f8a0edba2c
1. Don't be confused if the first day of a month is dropped due to
...
Gregorian Reformation. E. G. in Albania December 1, 1912 doesn't exist.
2. Add some countries in the switch table (BE, FI, LN, LU)
3. Correct some entries from the new found source of calendar knowledge:
http://www.pip.dknet.dk/~c-t/calendar.html ,
That is Claus Tondering's Calendar FAQ.
1998-01-06 00:46:11 +00:00