<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/uptime.c, branch v6.7</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.7</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2006-08-22T17:42:21Z</updated>
<entry>
<title>BeOS portability.</title>
<updated>2006-08-22T17:42:21Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-22T17:42:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cafb7947b5a1c658a97cfd5251500dbd5f86028c'/>
<id>urn:sha1:cafb7947b5a1c658a97cfd5251500dbd5f86028c</id>
<content type='text'>
* src/uptime.c: Include OS.h if it exists.
(print_uptime): On BeOS, use the get_system_info function (actually a
macro). Loop through utmp entries only if utmp.h or utmpx.h exists.
(uptime): Call read_utmp only if utmp.h or utmpx.h exists.
* m4/boottime.m4 (GNULIB_BOOT_TIME): Test also for utmp.h, utmpx.h,
OS.h. Don't require to have utmp.h or utmpx.h. Enable boottime
support if &lt;OS.h&gt; is found.
</content>
</entry>
<entry>
<title>Fix bugs when printing plurals of numbers that are not</title>
<updated>2006-08-16T19:36:46Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-08-16T19:36:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b96f5ea4925854db9eae61f98a7ec44568ecae7d'/>
<id>urn:sha1:b96f5ea4925854db9eae61f98a7ec44568ecae7d</id>
<content type='text'>
unsigned long int values.
* src/system.h (select_plural): New function.
* src/md5sum.c (digest_check): Use select_plural to avoid bug.
* src/uptime.c (print_uptime): Likewise.
* src/dd.c (print_stats): Likewise.  Also, don't use ngettext to
print a floating point number, as reducing to 0 or 1 doesn't work
for some languages.  Instead, just use "s" for seconds since it
doesn't need a plural form.
</content>
</entry>
<entry>
<title>(print_uptime): Move decl of local `upsecs' into scope where it's used.</title>
<updated>2005-12-03T23:24:46Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-12-03T23:24:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a936ac291c4a5b3e7eb6e3ace9731fde40488440'/>
<id>urn:sha1:a936ac291c4a5b3e7eb6e3ace9731fde40488440</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(print_uptime): Remove unnecessary parens in `#if defined (SYMBOL)' expressions.</title>
<updated>2005-08-23T15:03:48Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-08-23T15:03:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=68c6c7db8e0853226db08c11466705c2866eadbe'/>
<id>urn:sha1:68c6c7db8e0853226db08c11466705c2866eadbe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update FSF postal mail address.</title>
<updated>2005-05-14T07:58:31Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-05-14T07:58:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=44d59bb168eaf820bdfd13ee9df442cde795f9c7'/>
<id>urn:sha1:44d59bb168eaf820bdfd13ee9df442cde795f9c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update FSF postal mail address.</title>
<updated>2005-05-14T06:57:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-05-14T06:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c0c815af8db441526ef112700b9185df6006c771'/>
<id>urn:sha1:c0c815af8db441526ef112700b9185df6006c771</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(uptime): New arg OPTIONS.  All uses changed.</title>
<updated>2005-03-30T05:22:30Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-03-30T05:22:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=733abad3edff116fffc3151eed98b44c476d14a9'/>
<id>urn:sha1:733abad3edff116fffc3151eed98b44c476d14a9</id>
<content type='text'>
(main): Check PIDs when invoked with zero arguments.
</content>
</entry>
<entry>
<title>(print_uptime): Use NULL, not `0'.</title>
<updated>2005-03-28T18:15:16Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-03-28T18:15:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=79c88de2ccbd89e9c97cdac84c53d36761d1a0c2'/>
<id>urn:sha1:79c88de2ccbd89e9c97cdac84c53d36761d1a0c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(print_uptime): Use IS_USER_PROCESS and</title>
<updated>2004-11-30T21:40:29Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-11-30T21:40:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=78a436fb0b497d613309a4cf7a61098dbfa072cc'/>
<id>urn:sha1:78a436fb0b497d613309a4cf7a61098dbfa072cc</id>
<content type='text'>
UT_TYPE_BOOT_TIME instead of by-hand code.
</content>
</entry>
<entry>
<title>(main): Use getopt_long rather than getopt.</title>
<updated>2004-11-17T00:56:25Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-11-17T00:56:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d1bc398fa0cb7d53d42060149007d0255c5ae9cf'/>
<id>urn:sha1:d1bc398fa0cb7d53d42060149007d0255c5ae9cf</id>
<content type='text'>
</content>
</entry>
</feed>
