phk
7d1a30911b
Many places in the code NULL is used in integer context, where
...
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.
PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
joerg
4413ba9ddf
Activate c89(1).
1997-09-17 20:46:58 +00:00
joerg
a230912f9f
This commit was generated by cvs2svn to compensate for changes in r29544,
...
which included commits to RCS files with non-trunk default branches.
1997-09-17 20:44:54 +00:00
joerg
07f8a58416
c89 is the Posix.2 name for a C compiler that accepts ANSI/ISO C source
...
code. Basically a shortcut to cc -ansi -trigraphs.
1997-09-17 20:44:54 +00:00
jkh
5936a00188
revert: The warning was supposed to irritate someone into fixing this.
1997-09-15 11:02:10 +00:00
jkh
c690933a0d
Proper casting for clnt_broadcast() args.
1997-09-15 09:47:16 +00:00
jkh
7e556d5c0f
Silence a warning with a cast.
1997-09-15 09:46:42 +00:00
jkh
e5bfd4a0c7
unsigned char -> caddr_t for mmap's return value.
1997-09-15 08:31:20 +00:00
phk
2fe1db4a20
Fix a comment.
...
Submitted by: Mikael Karpberg <karpen@ocean.campus.luth.se>
1997-09-15 08:20:27 +00:00
ache
2a41ac33fd
Change manual declarations of some functions to proper includes
...
Rewrote allowed character test to be more efficient
Fix screen position calculations: control and 8bit characters was
not counted properly
1997-09-15 01:03:16 +00:00
ache
68edd5c44a
Allow backspace too
1997-09-15 00:42:04 +00:00
ache
e9758c8723
Oops, fix upper controls test
1997-09-15 00:17:38 +00:00
ache
2c85186533
Localize it. High controls disabled in any case.
...
Shut compiler warning about signal argument.
PR: 4466
1997-09-15 00:08:19 +00:00
wosch
0db75253f4
Install gencat.1 manpage.
...
Obtained from: OpenBSD.
1997-09-14 20:23:02 +00:00
phk
c083d9eff8
In these days, waiting one full second for more to appear is far too long.
...
Let's try 250ms.
1997-09-14 19:02:13 +00:00
peter
c771c1467b
When calling strip, temporarily close the file, call strip and then
...
reopen it after strip has finished. This makes it work when
/usr/bin/strip replaces the file rather than doing an in-place edit
(such as the binutils-2.8 strip, which is a variation of objcopy).
This is necessary if install(1) and strip(1) are going to cooperate
on an ELF system.
1997-09-14 08:21:44 +00:00
wosch
9da070fe78
PR: docs/4383
...
su manpage ambiguous regarding command prompt
Submitted by: sheldonh@iafrica.com
1997-09-13 17:44:20 +00:00
wosch
07b6e5147d
spelling corrections.
...
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
wosch
0d629ebede
Add manpage links ypchpass.1, ypchfn.1, ypchsh.1
1997-09-13 12:21:25 +00:00
ache
bbeef177db
Document newly added -d option and fix usage string
1997-09-12 02:26:12 +00:00
ache
fa1b31c010
The "-d" option dumps out the entire process list on a per controlling
...
tty basis, instead of just the top level process.
Submitted by: terry
1997-09-12 02:22:21 +00:00
joerg
049216220f
Teach comm(1) and uniq(1) about an option for case-insensitive work.
...
PR: 3042
Submitted by: graphix@iastate.edu (Kent Vander Velden)
1997-09-07 15:09:22 +00:00
nate
56fd09e765
"lmd" -> "-lmd"
...
Submitted by: Vincent Poy <vince@venus.gaianet.net>
1997-09-05 18:15:29 +00:00
peter
88ecdcf97d
If elf, don't add libmd.a just because we link against libskey.so.
...
A
1997-09-05 12:04:31 +00:00
peter
d2a5784f5c
If building elf, don't link in libmd.a just for libskey.so to use. Under
...
elf, libskey.so will not expose it's implementation on it's caller.
1997-09-05 12:00:01 +00:00
nate
dcf9ac5fa6
- Changed default PAGER from 'less' to 'more', since we don't have less
...
in the base system.
PR: bin/4471
Submitted by: Dmitry Khrustalev <dima@xyzzy.machaon.ru>
1997-09-05 04:24:22 +00:00
tegge
20ab107d43
Added an replacement for callrpc that uses tcp as primary transport method.
...
This enables larger reply messages.
1997-09-04 21:21:56 +00:00
jdp
5e90835a82
Touch up the code that implements "ldd -v".
...
Bring the style of sods.c into better conformance. Add code to
print the contents of each datum being relocated. Correct the logic
that distinguishes between programs, shared libraries, and object
files. Make the entire program "-Wall" clean.
1997-09-02 21:54:39 +00:00
wosch
cb32690aba
Fix file names.
1997-08-31 21:33:27 +00:00
alex
15660962b9
Display file size as an unsigned long.
1997-08-31 01:27:04 +00:00
jmg
fe87b6f70d
fix a few spelling changes
...
Submitted by: Josh Gilliam
Closes PR's: 4429, 4431-4438
PS: He has agreed to submit all contrib fixes back to the original author.
1997-08-30 12:22:49 +00:00
jmg
ff6c8aa923
fix misspelling
...
Submitted-by: Josh Gilliam
Closes PR:4428
1997-08-30 11:10:56 +00:00
imp
1c8f279c7b
Add -execdir which will execute the exec command in the dir of the file
...
in question. This change and the fts changes should be merged into 2.2-stable
as soon as they are vetted in -current. This should allow cleaning of files
in /tmp to be reneabled.
Obtained from: OpenBSD
1997-08-29 23:09:45 +00:00
charnier
656dd561aa
Use err(3). Cosmetic in usage(). Delay the compute of defaultdomain (from
...
OpenBSD).
Obtained from: OpenBSD.
1997-08-29 11:56:51 +00:00
charnier
e3d800ad26
Use err(3). Add Xreferences. Delay the compute of default domain.
...
Obtained from: OpenBSD
1997-08-29 11:52:52 +00:00
charnier
7f49be26af
Use err(3). Add references to others man pages. Wait for the user to
...
supply the domain before computing a default one.
Obtained from: OpenBSD
1997-08-29 11:48:50 +00:00
wosch
3a492240ff
du(1) always exit with value zero.
...
$ du /foobar
du: /foobar: No such file or directory
$ echo $?
0
1997-08-29 11:40:00 +00:00
itojun
43dcdc30aa
more sanity check before making output.
...
bark when sed fails.
Submitted by: wosch@apfel.de
1997-08-29 00:44:34 +00:00
jlemon
83408a9c6f
Make X11 support in doscmd dependent on the actual libX11.a library and
...
include directory, rather than X11BASE. This fixes the build for people
who only have the shared X11 distribution installed.
Requested-by: A Joseph Koshy <koshy@india.hp.com>
1997-08-28 18:23:40 +00:00
itojun
0186fab0e8
To cope with shell archive file generated by GNU sharutils 4.2.
...
(it assumes that shar will bark if there's invalid argument specified)
Patch suggested by Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>.
Reviewed by: joerg_wunsch@uriah.heep.sax.de
1997-08-28 14:35:09 +00:00
charnier
16a280858c
Use err(3). Rewrote man page in mdoc format. The user visible change is that
...
report of s/r and r/r conflicts is now printed in two separate lines beginning
by `yacc: '.
1997-08-28 06:33:53 +00:00
charnier
35724bfde0
Use err(3). Add usage and prototypes. Use getopt(). Document -v flag.
1997-08-28 06:28:08 +00:00
imp
c7f78f499e
Stop parsing args before user supplied to argument in sendmail.
...
Submitted by: Oliver Friedrichs <oliver@silence.secnet.com>
1997-08-28 04:40:51 +00:00
jkh
e04776f271
Don't preferentially execute Makefiles in ${OBJDIR} - it just causes
...
confusion and suffering. Tested by "make world".
Submitted by: gibbs
1997-08-27 06:31:27 +00:00
charnier
0da82d0dd8
Uncomment sccsid string and enclose it inside #if 0/#endif.
...
Cosmetic in man page.
1997-08-27 06:29:23 +00:00
charnier
65ba7761d3
Use err(3) instead of local redefinition.
1997-08-27 06:26:23 +00:00
peter
f4d76fa2a9
Adapt to recent smp tree changes..
1997-08-27 03:48:25 +00:00
charnier
93c390f386
Use err(3). Add usage() and prototypes.
1997-08-26 11:23:37 +00:00
charnier
922c635ef9
Cosmetic in usage string.
1997-08-26 11:17:16 +00:00
charnier
1b85fd48a9
Use err(3).
1997-08-26 11:16:08 +00:00