<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/usr.sbin/ac/ac.c, branch stable/6</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F6</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F6'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2004-03-08T20:02:23Z</updated>
<entry>
<title>Add a check for wtmp records which have invalid values for ut_time.  Wtmp</title>
<updated>2004-03-08T20:02:23Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-03-08T20:02:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e3b218cd7bf8e16229118fe40f6b958f2c18709d'/>
<id>urn:sha1:e3b218cd7bf8e16229118fe40f6b958f2c18709d</id>
<content type='text'>
records with time==0 get "the time of the last valid record", while records
where time goes backwards (compared to the previous record) are skipped.
Also prints a message saying how many records were changed or skipped due
to these checks. Check was inspired by a simpler check in OpenBSD's version.

This is all meant to sidestep problems that Tillman Hodgson noticed with 'ac'
when running sparc64 with 64-bit time_t's.  The real problem is whatever is
creating wtmp records with ut_time==0, of course, but I have not yet figured
out what is doing that.

Reviewed by:	no screams from freebsd-sparc64 or bde
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Add a debug-statement from NetBSD, and then rework all debug-statements</title>
<updated>2004-03-08T19:20:06Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-03-08T19:20:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b5a06c256e89c608526e96a2f6adbf56f1873813'/>
<id>urn:sha1:b5a06c256e89c608526e96a2f6adbf56f1873813</id>
<content type='text'>
so the program compiles without errors or warnings when DEBUG is defined on
sparc64 with 64-bit time_t's.  Also have debug statements include the year
when printing records from a different year than 'now'.  Also print out a
special timestamp in debug statements when ut_time==0.

Reviewed by:	freebsd-sparc, bde
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Minor style(9) fixes.  remove a register keyword, correct two indents.</title>
<updated>2004-03-03T02:44:52Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-03-03T02:44:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2adaffb0aac6dca5edc88e55614d0c6037cb8e38'/>
<id>urn:sha1:2adaffb0aac6dca5edc88e55614d0c6037cb8e38</id>
<content type='text'>
Noticed while comparing to OpenBSD version.
</content>
</entry>
<entry>
<title>Convert K&amp;R-style routine definitions to C89 style, partially to reduce</title>
<updated>2004-03-03T02:41:21Z</updated>
<author>
<name>Garance A Drosehn</name>
<email>gad@FreeBSD.org</email>
</author>
<published>2004-03-03T02:41:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7f761c522ee7c4d543c0fe16117a0c10bc2b08bd'/>
<id>urn:sha1:7f761c522ee7c4d543c0fe16117a0c10bc2b08bd</id>
<content type='text'>
diffs with OpenBSD.  This causes no changes to the object produced.
</content>
</entry>
<entry>
<title>Remove unused #includes. Eliminate castings by using size_t instead of int.</title>
<updated>2002-10-17T13:19:47Z</updated>
<author>
<name>Philippe Charnier</name>
<email>charnier@FreeBSD.org</email>
</author>
<published>2002-10-17T13:19:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b51547cf622e46dea6f49c571e1d65278fc1e486'/>
<id>urn:sha1:b51547cf622e46dea6f49c571e1d65278fc1e486</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix indentation broken in previous __P removal.</title>
<updated>2002-07-11T22:18:26Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2002-07-11T22:18:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=54b60d7e1528658e03c9abd5d1984f7ebd1af70b'/>
<id>urn:sha1:54b60d7e1528658e03c9abd5d1984f7ebd1af70b</id>
<content type='text'>
Grumbled about by: bde
</content>
</entry>
<entry>
<title>de-__P()</title>
<updated>2002-07-11T18:31:16Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2002-07-11T18:31:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d89167b4ea3fc14eaa1fb11a9d08b3381653f36e'/>
<id>urn:sha1:d89167b4ea3fc14eaa1fb11a9d08b3381653f36e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed some world breakage caused by not updating clients when &lt;timeconv.h&gt;</title>
<updated>2002-07-08T20:13:07Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2002-07-08T20:13:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=db774d6099d00dab5039787f56faa7ad9939c489'/>
<id>urn:sha1:db774d6099d00dab5039787f56faa7ad9939c489</id>
<content type='text'>
was split off from &lt;time.h&gt;.  This became fatal here when -Werror was
reenabled.
</content>
</entry>
<entry>
<title>I've been meaning to do this for a while.  Add an underscore to the</title>
<updated>2002-01-19T23:20:02Z</updated>
<author>
<name>Matthew Dillon</name>
<email>dillon@FreeBSD.org</email>
</author>
<published>2002-01-19T23:20:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=170ac683f26f1d05a019b0623b51b4b8f4576ada'/>
<id>urn:sha1:170ac683f26f1d05a019b0623b51b4b8f4576ada</id>
<content type='text'>
time_to_xxx() and xxx_to_time() functions.  e.g. _time_to_xxx()
instead of time_to_xxx(), to make it more obvious that these are
stopgap functions &amp; placemarkers and not meant to create a defacto
standard.  They will eventually be replaced when a real standard
comes out of committee.
</content>
</entry>
<entry>
<title>localtime() was being called with an int-pointer due to recent utmp</title>
<updated>2001-10-29T00:36:01Z</updated>
<author>
<name>Matthew Dillon</name>
<email>dillon@FreeBSD.org</email>
</author>
<published>2001-10-29T00:36:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2064ef1c81672461dfa2900e8546faecdce85ccb'/>
<id>urn:sha1:2064ef1c81672461dfa2900e8546faecdce85ccb</id>
<content type='text'>
fixes.
</content>
</entry>
</feed>
