<feed xmlns='http://www.w3.org/2005/Atom'>
<title>initscripts/src/usleep.c, branch 10.11.1</title>
<subtitle>Mageia fork of Fedora's Init Scripts</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/'/>
<entry>
<title>src/usleep.c: GCC warnings fixed</title>
<updated>2018-06-01T12:51:29+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2018-05-30T15:10:02+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=d8746bfc9d8d944082726cdcbee634b1ec72d45f'/>
<id>d8746bfc9d8d944082726cdcbee634b1ec72d45f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>usleep: change the error message to print the full replacement commandline</title>
<updated>2017-09-25T12:56:02+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2017-09-21T16:01:34+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=fc9eb02ecb6e2b435f01b682e3b72011db1c1ba6'/>
<id>fc9eb02ecb6e2b435f01b682e3b72011db1c1ba6</id>
<content type='text'>
Also drop the argv[0] as previx — the message already includes the
name of the program.

$ src/usleep 1
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 1e-06" instead...
$ src/usleep 10
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 1e-05" instead...
$ src/usleep 20
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 2e-05" instead...
$ src/usleep 100
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.0001" instead...
$ src/usleep 200
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.0002" instead...
$ src/usleep 300
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.0003" instead...
$ src/usleep 400
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.0004" instead...
$ src/usleep 1000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.001" instead...
$ src/usleep 10000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.01" instead...
$ src/usleep 100000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.1" instead...
$ src/usleep 1000000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 1" instead...
$ src/usleep 10000000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 10" instead...

For very small and very large values, printf uses scientific notation,
but that seems nicer than using %.f which would always leave trailing
zeroes. sleep accepts scientific notation, so things should still work.

https://bugzilla.redhat.com/show_bug.cgi?id=1494168
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also drop the argv[0] as previx — the message already includes the
name of the program.

$ src/usleep 1
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 1e-06" instead...
$ src/usleep 10
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 1e-05" instead...
$ src/usleep 20
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 2e-05" instead...
$ src/usleep 100
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.0001" instead...
$ src/usleep 200
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.0002" instead...
$ src/usleep 300
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.0003" instead...
$ src/usleep 400
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.0004" instead...
$ src/usleep 1000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.001" instead...
$ src/usleep 10000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.01" instead...
$ src/usleep 100000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 0.1" instead...
$ src/usleep 1000000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 1" instead...
$ src/usleep 10000000
warning: usleep is deprecated, and will be removed in near future!
warning: use "sleep 10" instead...

For very small and very large values, printf uses scientific notation,
but that seems nicer than using %.f which would always leave trailing
zeroes. sleep accepts scientific notation, so things should still work.

https://bugzilla.redhat.com/show_bug.cgi?id=1494168
</pre>
</div>
</content>
</entry>
<entry>
<title>usleep: print deprecation warning from now on</title>
<updated>2017-05-24T08:44:41+00:00</updated>
<author>
<name>David Kaspar [Dee'Kej]</name>
<email>dkaspar@redhat.com</email>
</author>
<published>2017-05-23T15:01:38+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=51bad09acb05e0c8606af14fd5aa1374ce28d432'/>
<id>51bad09acb05e0c8606af14fd5aa1374ce28d432</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Sync FSF address with current GPLv2.</title>
<updated>2012-06-27T13:32:15+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2012-06-26T20:54:50+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=746aedf50e522a8dafa5ba82f1febceec9af6d1a'/>
<id>746aedf50e522a8dafa5ba82f1febceec9af6d1a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>license cleanup</title>
<updated>2007-08-03T20:08:11+00:00</updated>
<author>
<name>Bill Nottingham</name>
<email>notting@redhat.com</email>
</author>
<published>2007-08-03T20:08:11+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=a803968dcfba5ebcaa9b46dc763a0a7a7d92a0a3'/>
<id>a803968dcfba5ebcaa9b46dc763a0a7a7d92a0a3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>copyright cleanup</title>
<updated>2003-09-16T20:07:28+00:00</updated>
<author>
<name>Bill Nottingham</name>
<email>notting@redhat.com</email>
</author>
<published>2003-09-16T20:07:28+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=4a5b497cfb989abbbfe8527f31cb3d5eeca738dd'/>
<id>4a5b497cfb989abbbfe8527f31cb3d5eeca738dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>added --oot option</title>
<updated>1999-07-22T02:41:45+00:00</updated>
<author>
<name>Donnie Barnes</name>
<email>djb@redhat.com</email>
</author>
<published>1999-07-22T02:41:45+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=03d8a966e3a8c1d2c14b1714af3f57e55aee1f95'/>
<id>03d8a966e3a8c1d2c14b1714af3f57e55aee1f95</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>minor nit</title>
<updated>1999-07-22T02:39:21+00:00</updated>
<author>
<name>Donnie Barnes</name>
<email>djb@redhat.com</email>
</author>
<published>1999-07-22T02:39:21+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=f5009f9ba7903d85e82d97df72ada4172f621a3f'/>
<id>f5009f9ba7903d85e82d97df72ada4172f621a3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed bug oot introduced into my code</title>
<updated>1999-07-22T02:28:16+00:00</updated>
<author>
<name>Donnie Barnes</name>
<email>djb@redhat.com</email>
</author>
<published>1999-07-22T02:28:16+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=566f3cb6f39a8ff39275d5a4518f2c595ac31416'/>
<id>566f3cb6f39a8ff39275d5a4518f2c595ac31416</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>added missing include &lt;sigh&gt;</title>
<updated>1999-07-22T01:59:00+00:00</updated>
<author>
<name>Erik Troan</name>
<email>ewt@redhat.com</email>
</author>
<published>1999-07-22T01:59:00+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/forks/initscripts/commit/?id=e98ed90b3dec44a680dba428ec1c3619ec6d00cb'/>
<id>e98ed90b3dec44a680dba428ec1c3619ec6d00cb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
