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