summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2003-07-24mdoc version;Jason McIntyre
ok millert@
2003-07-23better ascii test for fewer false negatives. ok millert@Ted Unangst
2003-07-23Add '\n' to error messages in "atrm" mode.Mike Pechkin
millert@ ok
2003-07-23remove AFS; itojun@Markus Friedl
2003-07-23New version of invalid line number fix. Passes patch(1) regressions.Otto Moerbeek
ok millert@ deraadt@
2003-07-22Missed this in the rejname commit.Todd C. Miller
2003-07-22Make rejname[] static to patch.c and crank its size to NAME_MAX+1Todd C. Miller
2003-07-22Use getopt_long() to parse options instead of rolling our own.Todd C. Miller
OK deraadt@ and otto@
2003-07-22just about nothingTheo de Raadt
2003-07-22nicerTheo de Raadt
2003-07-22POSIX defines allowed commands as {a,c,d,i,s} but patch was onlyTodd C. Miller
recognizing {a,c,d}. We need to recognize 's' (substitute) for the "dot alone on a line" bug fix in diff(1).
2003-07-22More cleanup.Otto Moerbeek
ok millert@ tedu@
2003-07-22switch to our own diff/diff3 (sdiff goes bye bye)Theo de Raadt
2003-07-22- use :L variable modifier with ELF_TOOLCHAIN variableBrad Smith
- change 2 instances of the check from != "yes" to == "no" ok deraadt@
2003-07-22Add missing terminator to long options list.Todd C. Miller
2003-07-22remove (already disabled) KRB4/AFS support, re-enable -k in ssh(1);Markus Friedl
test+ok henning@
2003-07-22Fixed the "dot alone on a line" bug.Todd C. Miller
2003-07-22Bring FILES section up to date.Todd C. Miller
2003-07-22Implement the -L and -T options from GNU diff.Todd C. Miller
2003-07-22Historically, when comparing two directories in -e mode, BSD diffTodd C. Miller
printed a header that turned the output into an actual script that called ed(1) to make the changes. This conflicts with POSIX so the header has been removed and the standard diff header is used instead.
2003-07-22Don't print lines consisting solely of a dot ('.') in -e mode sinceTodd C. Miller
that will confuse ed(1). POSIX says "one way to fix this bug is to output two periods whenever a lone period is needed, then terminate the append command with a period, and then use the substitute command to convert the two periods into one period." This is exactly what I have done.
2003-07-22Install diff3.ksh with the correct name; noticed by TheoTodd C. Miller
2003-07-21Historically, the "Only in" messages produced in dir modeTodd C. Miller
were not printed when the output format was -e (ed) since this prevented the output from being used as an ed script. However, POSIX specifies that this message shall always be printed regardless of the output format (this is also what GNU diff does). Also do the same with the "Common subdirectory" message which POSIX lists as optional.
2003-07-21Add STANDARDS sectionTodd C. Miller
2003-07-21Don't print a trailing '/' in foo when printing "Only in foo: bar"Todd C. Miller
2003-07-21Fix printing of status when not in -l mode which was broken when theTodd C. Miller
-l support was added.
2003-07-21a little KNFHenning Brauer
2003-07-21POSIX-compliant output when there are two paths w/ the same name butTodd C. Miller
one is a file and the other is a directory in -r mode (cosmetic).
2003-07-21Back out invalid line number fix. It core dumps in some cases. Problem found byOtto Moerbeek
marc@. ok henning@
2003-07-21Updated license from nvi-1.81.5 since we will be pulling in patches from it.Todd C. Miller
2003-07-21Expand change records array as needed; passes Otto's new regression test.Todd C. Miller
2003-07-21fix headerTheo de Raadt
2003-07-21remove a bit more junkTheo de Raadt
2003-07-21knfTheo de Raadt
2003-07-21knf and other cleanup; ok ottoTheo de Raadt
2003-07-21Merge back some changes from skimo's tree, fixes endless recursionsDaniel Hartmeier
in vs_paint() for some option combinations. ok millert@
2003-07-20After some discussion on icb it seems a do {} while is what we wantTodd C. Miller
after all since there's no need to check an invariant the first time through. I've fixed the loop invariants (we need to take special care with the "j == fg->patternLen" case) and hopefully made things a tad bit clearer. tedu@ OK
2003-07-20Close PR 3358 by changing the loop from do {} while -> for; tdeval@ OKTodd C. Miller
2003-07-20document exit valuesTodd C. Miller
2003-07-19fix sftp filename parsing for arguments with escaped quotes. bz #517; ok markusDamien Miller
2003-07-19don't specify the leading "/" in MANSUBDIR (otherwise "//" occurs)David Krause
ok millert@
2003-07-18add missing includesDavid Krause
ok tedu@
2003-07-18Previously, "cat" mode (ie: zcat) was set if no input file was specified,Todd C. Miller
and input was read from the standard input. However, if the -o option is specified, we don't need (or want) cat mode since the user has told us where the output should go.
2003-07-18Change "nosave" back into a boolean for improved grokability.Todd C. Miller
It is now initialized to -1 and, if the user did not specify the -n or -N flags, is set equal to "decomp". In other words, unless overridden via -n/-N, it is false when compressing, and true when decompressing (which is what we want).
2003-07-18remove junk; ok otto teduTheo de Raadt
2003-07-18userid is unsigned, but well, force it anyways; andrushock@korovino.netTheo de Raadt
2003-07-17cc -O2 -pipe -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDIRENT=1 -DDYN_ALLOC -c ↵Todd C. Miller
unpGet rid of ugly hack in readhash() that appears to be there for machines with a 16 bit word size. Also replace (HALFLONG - 1) with a new define, HASHMASK since it really is a mask. None of this results in any actual change in behavior.
2003-07-17two calls is less than a loop for two; millert@ okMichael Shalayeff
2003-07-17o implement -l, -n and -N (including setting outfile + mtime)Todd C. Miller
o make -v behave like GNU gzip for compress/decompress stats o write a full gzip header w/ mtime and file name o for -t/-l just don't write data instead of writing to /dev/null o exit code is now more consistent with GNU gzip o a crc error on decompress no longer causes unlink(outfile) mickey@ OK
2003-07-17Fix merge error.Otto Moerbeek
ok millert@ tedu@