jdolecek
5cf4138b21
Don't exit with status 1 for successfull (non-interrupted) run.
...
Reported and patch provided in bin/12372 by Jim Bernard.
2001-03-12 13:29:26 +00:00
eeh
7cb49c5859
Add svr4_32 info.
2001-03-11 21:28:59 +00:00
itojun
6924e04336
redo of previous: do not destroy v->val if str points to v->val.
...
XXX GC of v->val
2001-03-10 00:41:48 +00:00
itojun
4679105873
correct case with VAR_KEEP. if clause checked VAR_KEEP backwards,
...
and made str a dangling pointer.
2001-03-09 12:49:05 +00:00
simonb
1d86c612aa
Show pages used by executables.
...
Align the numbers in the summary lines.
2001-03-09 03:05:20 +00:00
simonb
21425f4507
Show number of pages used by executables now that they're are counted
...
by UVM.
2001-03-09 02:42:23 +00:00
ross
3a0778cdc4
lp64/printf
2001-03-08 06:28:14 +00:00
enami
33ee74b742
Print hopcount too when -rv is given.
2001-03-08 03:47:04 +00:00
fair
a672ba6fd5
Correct the HISTORY section, per PR 11192 and Robert Elz.
2001-03-08 02:59:25 +00:00
garbled
5d095e634b
Fix more problems noted in PR 6649
2001-03-07 22:34:35 +00:00
garbled
092307c43c
Fix problem noted in PR 6649 (nuke trailing whitespace in .Nm)
2001-03-07 22:32:36 +00:00
wiz
9d876c80cc
Sprinkle some const, and rename a shadow-variable.
2001-03-05 20:26:17 +00:00
wiz
8e6d01d5a7
Fix appearance of bogus 0xff at EOF reported by me in bin/12287.
2001-03-05 20:19:54 +00:00
sjg
cefcce2537
Test for non-existant LIB was incorrect (using cmtime cf. mtime).
2001-03-05 16:20:33 +00:00
hubertf
d0a42335a9
Don't play trailing garbage at end of RIFF WAVE (.wav) files
...
Patch sent by YAMAMOTO Takashi <takashi.yamamoto@bigfoot.com> in PR 12328
2001-03-04 15:27:35 +00:00
assar
93963c8db2
fix spelling of cpp symbol (ENCRYPT vs ENCRYPTION).
...
enable encryption with autologin.
fixes PR 12226
2001-03-04 01:51:05 +00:00
assar
e625c71295
add krb5 support to ssh/sshd. based on code initially from Daniel Kouril <kouril@informatics.muni.cz> and Björn Grönvall <bg@sics.se>
2001-03-04 00:41:27 +00:00
jdolecek
13cb1a6488
Don't coredump if format given via -w doesn't contain alphanumeric
...
character; in such case, warn user the format is invalid.
This addresses bin/12316 by Perry E. Metzger.
2001-03-02 21:17:31 +00:00
itojun
7806b5d1f3
increase ipstat.ips_badaddr if the packet fails to pass address checks.
2001-03-02 04:26:10 +00:00
cgd
82f3142780
fix NetBSD RCS id tags
2001-02-27 19:04:39 +00:00
cgd
fd8d16c72f
fix broken NetBSD RCS id tags
2001-02-24 00:43:50 +00:00
christos
3e343f9152
PR/12251: Thomas Klausner: Make core dumps on unclosed conditional.
...
Well, it should say 'make core-dumps on any error on the primary makefile'.
This was a result of the new changes to print the path to the parsed
Makefile... Made the code a lot more conservative, plus prepended <progname>:
to each message.
2001-02-23 21:11:38 +00:00
jdolecek
d906805397
Use MAXPATHLEN (which is 1024) instead of _POSIX_PATH_MAX (which is only 255).
...
This change tracks change in rev 1.25 of sort.c by Christos Zoulas.
While here, improve error messages slighly.
2001-02-23 08:59:49 +00:00
christos
e56e039c8c
- use MAXPATHLEN (1024) instead of _POSIX_PATH_MAX (255) for the temporary
...
path buffer
- provide better error messages about why the temp file creation is failing
- explicitly compare syscall return to -1 instead of < 0 and fdopen return
to NULL instead of 0.
2001-02-22 22:45:49 +00:00
christos
faf9e3e459
Fix problem when using sort >> foo
...
If no output file was specified sort fopened("/dev/stdout", "w").
This is *wrong* because "/dev/stdout" will truncate the output file,
thus undoing the append effect the shell had set up. The simple fix
here is to just arrange for outfp = stdout and don't play with /dev/stdout.
While I am here:
- KNF
- make pattern for mkstemp have 6 X's.
2001-02-21 19:24:30 +00:00
itojun
e79a9123a3
use u_quad_t for rtstat.
...
not sure if it really matters, but short (32K) looks way too small given
recent fat pipes connecting *BSD boxes, and our great uptime :-).
2001-02-21 05:45:11 +00:00
cgd
040de26f85
call setprogname(argv[0]) at start of main()
2001-02-21 00:06:22 +00:00
cgd
c2bdafab79
use getprogname()
2001-02-20 23:51:59 +00:00
jdolecek
9c52662e24
fsort(): don't call append() with zero nelem
...
This fixes the 'sort -f /dev/null' coredump reported on current-users.
2001-02-20 18:33:09 +00:00
cgd
a8ec668ddf
convert to use getprogname()
2001-02-19 23:03:42 +00:00
jdolecek
025b45e604
Pull in various cosmetic changes from OpenBSD version of this manpage - mostly
...
whitespace changes, which don't influence the layout of result manpage at all,
but also add -H to SYNOPSIS and state sort(1) appeared in v5, not v6 of
AT&T Unix.
2001-02-19 21:06:57 +00:00
jdolecek
affba8f2e9
Pull up various cosmetic (mostly whitespace) changes from OpenBSD.
...
This is primarily to ease syncing the two versions.
2001-02-19 20:50:17 +00:00
lukem
83a00b2109
- display a limited progress bar (containing bytes xferred and xfer rate)
...
when the file size is unknown
- disable progress bar during remglob()
2001-02-19 20:02:42 +00:00
jdolecek
21928fdd78
enterfield(): test the buffer size BEFORE assignment also for the other code
...
branch, since we might get called with tablepos == endkey for some special
input files (where an record would happen to fit exactly to the input
buffer) - BTW, this bug looks like it has been here ~forever ...
This seems to fix the sort crash for 'make british' build of ispell package,
as reported by Mark White at current-users@.
2001-02-19 19:52:27 +00:00
jdolecek
c499b18924
enterkey():
...
* move the test for keybuf size before keypos[-1] assignment, "just in case"
* move the keypos assignment to improve readability
2001-02-19 19:41:31 +00:00
jdolecek
e1a2c672d7
oops - wrong file, backoff local test change
2001-02-19 19:39:53 +00:00
jdolecek
552af1f3f4
enterkey():
...
* move the test for keybuf size before keypos[-1] assignment, "just in case"
* move the keypos assignment to improve readability
2001-02-19 19:36:59 +00:00
jdolecek
7f547730fd
cosmetic changes - make keylist[] static and remove extern definition
...
in fsort.h, move macro SALIGN() from sort.h to fsort.c
2001-02-19 19:31:29 +00:00
lukem
ac52e9e4de
minor knf
2001-02-19 18:15:28 +00:00
jdolecek
0fbdf074b5
put tmp.c back to Makefile, too
2001-02-19 17:45:24 +00:00
jdolecek
32138e0376
document -T and TMPDIR handling
...
resurrect ENVIRONMENT and FILES, adjust to be more correct
slighly adjust SYNOPSIS line, so that it looks little nicer :)
2001-02-19 16:27:04 +00:00
jdolecek
aa9a452a75
full -T support
2001-02-19 15:53:07 +00:00
jdolecek
5347005ed0
resurrect old ftmp() - it supports alternative directory for temporary
...
file, which is needed for -T support
2001-02-19 15:45:45 +00:00
kim
4a22726eab
Use the errno.h and signal.h passed in on the command line.
2001-02-18 18:38:18 +00:00
tsutsui
de539bb089
Define both NLIST_AOUT and NLIST_ELF32 on all m68k
...
rather than checking ${MACHINE}.
2001-02-18 05:22:46 +00:00
manu
1a6f014301
Cosmetic fix so that RET record after CALL execve get the appropriate syscall
...
even if the emulation changed
2001-02-16 23:28:44 +00:00
christos
853a8e1dfd
PR/9195: Tanaka Akira: od does not display short files containing nulls. Fix
...
from Andrew Brown.
2001-02-15 18:16:12 +00:00
itojun
531a3ed838
sync with 2/14.
...
openssh changes:
- SIGWINCH propagated correctly
- mitigate SSH1 traffic analysis
- sprintf -> snprintf and lots of other cleanups
netbsd local changes:
- include OpenBSD RCSID into binary again, which helps us diagnose later.
2001-02-14 01:06:48 +00:00
bjh21
d50dc71439
Since arm26 and arm32 now share a core file format, describe such a file
...
as a "NetBSD/arm core".
2001-02-13 23:56:13 +00:00
bjh21
27f2273eff
Advanced RISC Machines Limited officially became ARM Limited on 1998-05-21.
...
Update the ARM ELF magic to match.
2001-02-13 14:35:21 +00:00