<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/miscutils/ts.c, branch cron_changes</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=cron_changes</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=cron_changes'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2024-08-14T12:10:19+00:00</updated>
<entry>
<title>win32: use 64-bit time on 32-bit platforms</title>
<updated>2024-08-14T12:10:19+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2024-08-14T11:52:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6481bb22b5e6d60909d09cf6179412c4f34b9b3c'/>
<id>urn:sha1:6481bb22b5e6d60909d09cf6179412c4f34b9b3c</id>
<content type='text'>
To avoid problems with dates in 2038 and beyond use 64-bit time
values on 32-bit platforms.

- Mostly this just requires a few preprocessor macros to choose
  the appropriate functions, structs and typedefs.

- We have our own implementations of nanosleep(), clock_gettime()
  and clock_settime().  Omit the Windows include file that declares
  them.

- Apply the hack for struct timeval in the 'ts' applet on 32-bit.

Adds 1624 bytes on 32-bit, none on 64-bit.

(GitHub issue #446)
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2023-07-13T07:06:26+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-07-13T07:06:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bd978d0256fd3a67de1a7dd54f1a37f9435be363'/>
<id>urn:sha1:bd978d0256fd3a67de1a7dd54f1a37f9435be363</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update applet size estimates</title>
<updated>2023-07-10T15:25:21+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-07-10T15:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5353df91cba7b397b9407701681708d0a1518df6'/>
<id>urn:sha1:5353df91cba7b397b9407701681708d0a1518df6</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-06-28T06:46:32+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-06-28T06:46:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e1ad66c0b8fd58a7158d40771175a7dab224202d'/>
<id>urn:sha1:e1ad66c0b8fd58a7158d40771175a7dab224202d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>*: more --help tweaks, mostly expanding ts --help</title>
<updated>2021-06-13T01:12:09+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-06-13T01:12:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1849285a2098b503b829038f00f25abc52dbea6b'/>
<id>urn:sha1:1849285a2098b503b829038f00f25abc52dbea6b</id>
<content type='text'>
function                                             old     new   delta
packed_usage                                       33554   33596     +42

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2021-01-14T13:28:49+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2021-01-14T13:28:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=89963b524d211e1aec12b72b3725be05ee95c8cf'/>
<id>urn:sha1:89963b524d211e1aec12b72b3725be05ee95c8cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libbb: introduce and use xgettimeofday(), do not truncate 64-bit time_t in shells</title>
<updated>2020-12-30T22:48:01+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-12-30T22:48:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3c13da3dab539eac948de48640d8862857d0c8d0'/>
<id>urn:sha1:3c13da3dab539eac948de48640d8862857d0c8d0</id>
<content type='text'>
function                                             old     new   delta
xgettimeofday                                          -      11     +11
get_local_var_value                                  280     281      +1
svlogd_main                                         1323    1322      -1
change_epoch                                          67      66      -1
timestamp_and_log                                    461     458      -3
hwclock_main                                         301     298      -3
fmt_time_bernstein_25                                135     132      -3
step_time                                            331     326      -5
script_main                                         1207    1202      -5
machtime                                              34      28      -6
curtime                                               61      54      -7
ts_main                                              423     415      -8
nmeter_main                                          761     751     -10
gettime1900d                                          67      46     -21
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/12 up/down: 12/-73)           Total: -61 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ts: correct output in 64-bit build</title>
<updated>2020-07-19T09:39:43+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-19T09:39:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0bc672a9be9caf0482bf1f2b1e528b6b20b8eaaf'/>
<id>urn:sha1:0bc672a9be9caf0482bf1f2b1e528b6b20b8eaaf</id>
<content type='text'>
ts failed to output the correct time when built for 64-bit Windows.

In 64-bit builds time_t is a 64-bit quantity whereas the tv_sec
member of struct timeval is 32-bit.

   https://sourceforge.net/p/mingw-w64/bugs/783/

Use a temporary time_t value in 64-bit builds.
</content>
</entry>
<entry>
<title>ts: do call localtime() when neither -s nor -i specified</title>
<updated>2019-03-26T10:51:21+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-03-26T10:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=fe78c9a8b727b0145fa93505cca621fe7962b9e9'/>
<id>urn:sha1:fe78c9a8b727b0145fa93505cca621fe7962b9e9</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ts: use gettimeofday - we don't use nanoseconds here</title>
<updated>2019-03-26T10:44:48+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-03-26T10:44:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=973698d7b119114c4d5621f0f811efc04f4bc6d9'/>
<id>urn:sha1:973698d7b119114c4d5621f0f811efc04f4bc6d9</id>
<content type='text'>
function                                             old     new   delta
ts_main                                              398     376     -22

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
