<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/cmp/regular.c, branch releng/4.9</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F4.9</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F4.9'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2001-11-21T10:47:54Z</updated>
<entry>
<title>Sync with -current:</title>
<updated>2001-11-21T10:47:54Z</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2001-11-21T10:47:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=21e83f0ea657fe5a2f3b9d887212b47b525313cb'/>
<id>urn:sha1:21e83f0ea657fe5a2f3b9d887212b47b525313cb</id>
<content type='text'>
	Make cmp work by mmapping chunks of a file.
	Don't use gcc -Wall flag.
	Make filenames const to avoid a few warnings.
	Add FreeBSD tags.
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2000-07-02T11:14:42Z</updated>
<author>
<name>Paul Saab</name>
<email>ps@FreeBSD.org</email>
</author>
<published>2000-07-02T11:14:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=77c58b102c28e099350c3bfcc21e00873ddd3609'/>
<id>urn:sha1:77c58b102c28e099350c3bfcc21e00873ddd3609</id>
<content type='text'>
[rev 1.9]  Fix warning I should have caught in the previous commit.
[rev 1.10] Make cmp -s work properly if skip values are given.
</content>
</entry>
<entry>
<title>MFC: Let cmp(1) grow in -x option to print differences in contemporarry</title>
<updated>2000-07-02T09:28:37Z</updated>
<author>
<name>Paul Saab</name>
<email>ps@FreeBSD.org</email>
</author>
<published>2000-07-02T09:28:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f2bcc562999328041548919873df6ce4b2e70ea9'/>
<id>urn:sha1:f2bcc562999328041548919873df6ce4b2e70ea9</id>
<content type='text'>
hex format rather than the mixed decimal/octal format of -l.
</content>
</entry>
<entry>
<title>Fix improper mmap length paramater which can result in improper behavior</title>
<updated>1999-07-29T23:26:22Z</updated>
<author>
<name>Brian Feldman</name>
<email>green@FreeBSD.org</email>
</author>
<published>1999-07-29T23:26:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ac0222655510fcce56727d718c4179c2d4a7543f'/>
<id>urn:sha1:ac0222655510fcce56727d718c4179c2d4a7543f</id>
<content type='text'>
or cmp crashing in specific cases.
</content>
</entry>
<entry>
<title>More egcs warning fixes:</title>
<updated>1999-04-25T22:37:58Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>1999-04-25T22:37:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=96846ff64680fa4945300ede843b93311fea74fc'/>
<id>urn:sha1:96846ff64680fa4945300ede843b93311fea74fc</id>
<content type='text'>
	o main returns int not void
	o use return 0 at end of main when needed
	o use braces to avoid potentially ambiguous else
	o don't default to type int
	o #ifdef 0 -&gt; #if 0

Reviewed by: obrien and chuckr
</content>
</entry>
<entry>
<title>Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).</title>
<updated>1998-12-06T22:58:23Z</updated>
<author>
<name>Archie Cobbs</name>
<email>archie@FreeBSD.org</email>
</author>
<published>1998-12-06T22:58:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fa146c53357ea20afd3661d8093ea1db44198d5f'/>
<id>urn:sha1:fa146c53357ea20afd3661d8093ea1db44198d5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Sweep through the tree fixing mmap() usage:</title>
<updated>1997-01-16T21:58:40Z</updated>
<author>
<name>Alexander Langer</name>
<email>alex@FreeBSD.org</email>
</author>
<published>1997-01-16T21:58:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8abdc2eb40c03b97153f2a01bdb53927f3a336c1'/>
<id>urn:sha1:8abdc2eb40c03b97153f2a01bdb53927f3a336c1</id>
<content type='text'>
  - Use MAP_FAILED instead of the constant -1 to indicate
    failure (required by POSIX).
  - Removed flag arguments of '0' (required by POSIX).
  - Fixed code which expected an error return of 0.
  - Fixed code which thought any address with the high bit set
    was an error.
  - Check for failure where no checks were present.

Discussed with:	bde
</content>
</entry>
<entry>
<title>Our mmap(2) has a limitation where the `offset' parameter must be</title>
<updated>1997-01-08T12:00:55Z</updated>
<author>
<name>Joerg Wunsch</name>
<email>joerg@FreeBSD.org</email>
</author>
<published>1997-01-08T12:00:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c28065c606fcaaf574eb9adfa8ddc32b7885e0cc'/>
<id>urn:sha1:c28065c606fcaaf574eb9adfa8ddc32b7885e0cc</id>
<content type='text'>
page-aligned.  cmp(1) should know about this flaw, and work around it.

While i was at it, fixed an uninitialized variable as reported by
-Wall.
</content>
</entry>
<entry>
<title>When mmap is used, do an madvise(MADV_SEQUENTIAL) to make things</title>
<updated>1996-12-11T05:20:20Z</updated>
<author>
<name>John Dyson</name>
<email>dyson@FreeBSD.org</email>
</author>
<published>1996-12-11T05:20:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2ae09ad8716384fb7ca9dae3a08c077788d0825d'/>
<id>urn:sha1:2ae09ad8716384fb7ca9dae3a08c077788d0825d</id>
<content type='text'>
go much more quickly when file input is really done.  Of course, the
fully cached case will make no difference.
</content>
</entry>
<entry>
<title>BSD 4.4 Lite Usr.bin Sources</title>
<updated>1994-05-27T12:33:43Z</updated>
<author>
<name>Rodney W. Grimes</name>
<email>rgrimes@FreeBSD.org</email>
</author>
<published>1994-05-27T12:33:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9b50d9027575220cb6dd09b3e62f03f511e908b8'/>
<id>urn:sha1:9b50d9027575220cb6dd09b3e62f03f511e908b8</id>
<content type='text'>
</content>
</entry>
</feed>
