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
cgd
c52d4f59e8
__progname not used here, so don't extern it
2001-02-13 00:14:58 +00:00
cgd
d2d8d25fe6
progname not used here, so don't extern it
2001-02-13 00:11:45 +00:00
bjh21
422a592092
__arm26__ || __arm32__ -> __arm__
2001-02-10 19:15:24 +00:00
christos
b023fbbf99
fix fix typo from @@@
2001-02-10 00:49:04 +00:00
christos
350f82175f
new man page from @@@
2001-02-09 17:50:44 +00:00
jdolecek
7053c53e8a
document systime(), strftime(), gensub(); for gensub(), note that the \n
...
sequences supported by GNU awk are not supported yet
xref stuff referenced within manpage in SEE ALSO, add reference to FSF's
"AWK Programming Language"
various other little fixes
2001-02-08 20:54:50 +00:00
jdolecek
efce34814d
strftime(), systime() added, gensub() partly done
...
actually, awk DOES support RSTART and RLENGTH, remove from list of variables
noticed the number of open files is limited to FOPEN_MAX (20), this should
be made dynamic
2001-02-08 20:45:09 +00:00
jdolecek
1370376fed
move sections so that the order is more like the one specified by
...
mdoc.samples(7)
2001-02-07 21:13:36 +00:00
jdolecek
4f8a23e8ac
use -R instead -w, to be compatible with OpenBSD
2001-02-07 21:00:05 +00:00
jdolecek
f6b0d130db
use -R instead of -w, since that's what OpenBSD is using and there is no reason
...
to be different
2001-02-07 20:58:09 +00:00
jdolecek
eb6e724e72
s/-T/-w/
2001-02-07 20:32:57 +00:00
jdolecek
14b38a0855
Since -T is used to select directory for temporary files in other sort
...
implementations, we should avoid using it for something else.
Use (new) flag -w for setting record delimiter, make -T noop.
2001-02-07 20:31:44 +00:00
jdolecek
44f2c62649
use errx(), not err() within section for '-t' flag
2001-02-07 19:47:44 +00:00
christos
74f15d98d3
PR/12147: TheMan: add -t option to od.
2001-02-07 18:32:21 +00:00