summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-07-19The last parameter to _dma_init for wdc code is flags, not read,drahn1-5/+6
mask of just the desired bit. ok grange@
2003-07-19Skip step optimization involving dynaddr, tables, no-route.cedric4-3/+167
Optimisation should be done on theses rules.
2003-07-19Simplify struct pf_pooladdr to include struct pf_addr_wrap directlycedric5-44/+45
instead of indirectly trough struct pf_rule_addr. Ryan McBride says: If I'm not mistaken, the code _used_ to use the ports in pf_rule_addr as well. The code was changed to fix some of the bugs with port ranges, but it was too late in the release cycle to make kernel API changes, so the structure was left as is. Needless to say: KERNEL/USERLAND SYNC REQUIRED. ok henning@ mcbride@
2003-07-19- sync with NetBSD or Niels' tarball where appropriatesturm11-94/+178
- keeps local changes - fixes a bug in profile feedback optimization and avoids symbol conflicts with errno - new feature: "ask" action itojun@ ok
2003-07-19redrew -> redraw;jmc2-4/+4
from Andrey Matveev.
2003-07-19Ericsson DCU-10 & DCU-11 is a simple USB->Serial device.cedric1-1/+3
ok+thanks todd@
2003-07-19synccedric2-4/+20
2003-07-19Ericsson DCU-10 & DCU-11, made by Susteen, Inc.cedric1-1/+5
ok+thanks todd@
2003-07-19regress test for sftp arguments with escaped quotes; ok markusdjm1-1/+11
2003-07-19fix sftp filename parsing for arguments with escaped quotes. bz #517; ok markusdjm1-16/+33
2003-07-19don't specify the leading "/" in MANSUBDIR (otherwise "//" occurs)david10-20/+20
ok millert@
2003-07-18add missing includesdavid14-25/+52
ok tedu@
2003-07-18add missing includesdavid9-15/+26
ok tedu@
2003-07-18caddr_t -> void *. ok millert@ tdeval@tedu2-4/+4
2003-07-18add missing includesdavid13-20/+37
ok tedu@
2003-07-18remove the extra / in pathdavid2-4/+4
ok deraadt@ millert@
2003-07-18#include "http_main.h" for the chroot functionsdavid15-13/+28
fixes some implicit declaration warnings ok henning@
2003-07-18Previously, "cat" mode (ie: zcat) was set if no input file was specified,millert1-3/+4
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.millert1-6/+9
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-18one time -h is enoughhenning1-4/+1
Bruno Saverio Delbono <bdelbono@leviathan.lucifer.at>
2003-07-18Document changes in the package repository area: no moreespie1-28/+31
ftp-packages/cdrom-packages. Renaming of files.
2003-07-18document old RESTRICTED, CAT/MAN stuff.espie1-2/+20
2003-07-18check v_mount for NULL before using. ok art@tedu1-4/+8
2003-07-18Fix print if minor of library used is is less than requested. ok tdeval@drahn2-8/+8
2003-07-18remove #if 0 portionitojun1-20/+1
2003-07-18Fix for builds with NOPROFILE set. PR3354, ok pval@.matthieu1-1/+5
2003-07-18Simplify handling of flags (-R, -N...). Remove PFCTL_FLAG_ALL.cedric3-40/+30
ok dhartmei@
2003-07-18syncgrange2-2/+7
2003-07-18Add Intel 82801EB/ER SATA controller found in the dmesg from todd@.grange1-1/+2
ok deraadt@
2003-07-18remove junk; ok otto teduderaadt17-1450/+445
2003-07-18userid is unsigned, but well, force it anyways; andrushock@korovino.netderaadt1-2/+2
2003-07-18unsigned uid; andrushock@korovino.netderaadt1-2/+2
2003-07-17cc -O2 -pipe -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDIRENT=1 -DDYN_ALLOC -c unpGet rid of ugly hack in readhash() that appears to be there formillert1-26/+7
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-17A set of regressions to test diff(1).otto21-0/+6482
Currently standard, context and unified diffs are tested by diffing two files and then applying the patch on a copy of the first file using patch(1). Next, the result is compared with the original first file using cmp(1). ok millert@ tedu@
2003-07-17note non-free parts that got yanked years ago; tom.cosgrove@arches-consulting.comderaadt1-27/+3
2003-07-17two calls is less than a loop for two; millert@ okmickey1-4/+4
2003-07-17o implement -l, -n and -N (including setting outfile + mtime)millert5-138/+380
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.otto1-4/+4
ok millert@ tedu@
2003-07-17test -fpvalchev1-3/+6
2003-07-17test grep -Cpvalchev2-2/+8
2003-07-17Make it clear what -C does w/o having to read the description of -A/-B.millert1-1/+2
Lack of clarity pointed out by Sam Smith, different fix suggested by jmc@
2003-07-17fix scrub frag reassembly after the stack's ip_len/ip_off flip correctionfrantzen1-20/+25
ok itojun@ and dhartmei@. heckling from henning@
2003-07-17add support for ESP decryption; ok deraadt@; feedback mickey@;markus4-29/+211
many manpage fixes from jmc@
2003-07-17topymickey1-2/+2
2003-07-16Deal with files that lack a final newline before EOF (you naughtymillert1-24/+42
emacs users!). In most cases this just means checking for EOF in addition to '\n'. However, we need to tread carefully in readhash(). There we return 0 on EOF iff it is the first char in a "line". Additionally, if the -b or -w flags were specified and the last character in one file was '\n' but the other file is missing '\n', pretend that we didn't see the newline in the one file. This is consistent with GNU diff. For the non-{b,w} case, print "\ No newline at end of file" when we see EOF before a newline in one file where the other file has one. Again, this is for consistency with GNU diff and patch(1) in -current knows how to interpret this message. OK tedu@ and otto@
2003-07-16some minor DPADD changesderaadt6-17/+16
2003-07-16When reallocing pattern, use sizeof(*pattern) not sizeof(int).millert1-3/+3
Fixes a problem on sparc64 where sizeof(int) != sizeof(pointer). Based on a patch from Brian Poole; tedu@ OK
2003-07-16Teach patch how to deal with \ No newline at end of file.otto1-2/+63
From NetBSD. ok deraadt@
2003-07-16sun disklabels need updating too. frag size -> 2048.tedu2-6/+6
pointed out by deraadt@
2003-07-16new default frag/block sizes.tedu2-8/+8
reminded by millert@