summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2002-05-25typo fixes; S@mSmith.netTheo de Raadt
2002-05-24examples subsection; s@msmith.netTheo de Raadt
2002-05-16Xref netstart(8) instead of rc(8) now, PR #2657Miod Vallat
2002-05-09Remove setuid bit; non-root uses will have rsh(1) invoked on their behalf.Todd C. Miller
This does mean that we cannot set IPTOS_THROUGHPUT. If this is a problem we may be able to add an option to rsh(1).
2002-05-06Kill/adjust r(login|exec)d? references now that those are no longer inTodd C. Miller
the tree.
2002-05-06rlogin: Lived with JoyTheo de Raadt
2002-05-04Clean up the logic in install_url():Kenneth R Westerback
a) Eliminate extraneous cat invocations that are piped to grep by simply calling grep with the file name. b) Eliminate the only use of isnumeric() by using a ksh'ism left exposed in sh: '+([0-9])'. Eliminate isnumeric(). c) Test for a http/ftp list index of '0' and treat as an out of range error rather than an IP address. d) Reorganize to make smaller and more clear. Add documentation to sh(1) for ksh patterns that are available. ok millert@, miod@
2002-04-29Typo; Brian PooleTodd C. Miller
2002-04-29wierd -> weirdPeter Valchev
2002-04-22Do not hardcode mvme88k-specific compilation flags here, especially sinceMiod Vallat
the new flags happen to be no different from those set in <sys.mk>
2002-04-17getopt idiotTheo de Raadt
2002-04-06Fix a typo and sync usage() with man page; Brian PooleTodd C. Miller
2002-03-24Kill unneeded longs; fixes some minor 64 bit issues. deraadt@ OKTodd C. Miller
2002-03-19Fix unitialized variable in non-setgid case; Gregory SteuckTodd C. Miller
2002-03-14Fix 'cat -se'; the '$' was not being printed for blank lines.Todd C. Miller
Based on a patch from Denis Afonin.
2002-03-14kill more registers.Mike Pechkin
millert@ ok
2002-03-12o Remove local prototypes for group_from_gid() and user_from_uid()Todd C. Miller
since they are prototyped in grp.h and pwd.h. o Increase size of 'buf' to 21 since we store the string representation of a u_quad_t in it (max 20 chars + the NUL). o Minor KNF wrt pointers in boolean context. From Denis Afonin
2002-03-01this is needed tooMarc Espie
2002-03-01Kill hand-made memory allocation code, that is definitely buggy.Marc Espie
Replace with simple wrapper around malloc, at least this works, and it's easier to debug anyways.
2002-02-27Fix three off-by-one errors. ok espie@, millert@, miod@Daniel Hartmeier
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-18change -pr to -PRp (ok mpech@, millert@)Mark Grimes
Closes PR2258
2002-02-17Mention deprecated '-' flag (same as -s) since it is listed in theTodd C. Miller
SYNOPSIS.
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-17A couple temporary workarounds for vax toolchain bugs.Hugh Graham
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-16Add '#' to the list of escaped characters during vi/emacs filename completion.Todd C. Miller
From Matt Bing.
2002-02-14Avoid overflow in usage percent calculation. ok deraadt@Thomas Nordin
2002-02-14spellingTheo de Raadt
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2002-02-10remove pre-ansi, SCCS workaround cruft; ok deraadt@Christian Weisgerber
2002-02-01avoid SEGV on out-of-range argument reference ("echo $020129163642").Jun-ichiro itojun Hagino
2002-01-30right, just check more for nulls; from Dan Harnett <danh@wzrd.com>Michael Shalayeff
2002-01-30always check for kvm_openfiles failure; pointed out by juan@coredump.com.ar ↵Michael Shalayeff
in pr/2362
2002-01-25Put space back at the end of the line, it's required there.Aaron Campbell
2002-01-25Stat source path at the top of do_move() and return an error ifTodd C. Miller
this fails. Previously, "mv nonexistent file_with_no_write_perms" would prompt whether or not to overwrite the file w/o write perms even though 'nonexistent' would fail to lstat() later on.
2002-01-24as early as v3 it seems to beMichael Shalayeff
2002-01-24fix the history refsMichael Shalayeff
2002-01-24this both were in v4, before v6Michael Shalayeff
2002-01-24restore a little bit of historical materialMichael Shalayeff
2002-01-20Swap TEST_BLOCK_LEN and TEST_BLOCK_COUNT in benchmark printf.Camiel Dobbelaar
ok millert@
2002-01-16missed some registers, kill'em!Mike Pechkin
millert@ ok
2002-01-16A better way to escape the punctuation chars in the examples.Marco S Hyman
Fix other examples. Thanks to wiz@danbala.ifoer.tuwien.ac.at
2002-01-16Use the volatile specifier to fix warnings about variables beingTodd C. Miller
clobbered by longjmp / vfork instead of the gcc "(void)&foo;" hack.
2002-01-15sometimes trailing spaces are required for proper formatingMarco S Hyman
2002-01-02Grammar. deraadt@ okThomas Nordin
2001-12-21Initial patch for a new mdoc issue.Mike Pechkin
Powered by @mantoya: o) kill extra line in the end of file; o) kill extra space in the end of line; o) replace blank lines with .Pp; millert@ ok
2001-12-19When writing tar and ustar archives, zero out the header before weTodd C. Miller
do anything else to it. This lets us restore the strlcpy() calls and remove a buch of memset()s that were zeroing out individual fields of the header.
2001-12-19More strlcpy() backout. Various tar programs require ustar headerTodd C. Miller
elements to be zero padded too.
2001-12-19Back out a strncpy -> strlcpy conversion. When writing old styleTodd C. Miller
tar files we need to zero-pad the file name or many tars will get a directory checksum error trying to unpack the archive. This does not affect ustar archives (pax's default) though whether or not padding matters there still needs to be determined.