<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/gl, branch v8.6</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.6</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2010-10-14T05:41:17Z</updated>
<entry>
<title>mbsalign: avoid warning with Solaris 10 cc</title>
<updated>2010-10-14T05:41:17Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-10-14T03:39:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4015f93d3052b6b11ed5dbcdc032be324a084f07'/>
<id>urn:sha1:4015f93d3052b6b11ed5dbcdc032be324a084f07</id>
<content type='text'>
* gl/lib/mbsalign.c: Include &lt;stdint.h&gt; for SIZE_MAX.
Use SIZE_MAX rather than (size_t) -1, to avoid warning for
"size_t x = -1" on Solaris 10 cc.
* gl/modules/mbsalign (Depends-on): Add stdint.
</content>
</entry>
<entry>
<title>tests: fix rand-isaac test</title>
<updated>2010-10-13T07:03:41Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-10-13T07:03:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9300fffcb54006bf471d96d70cf98081152c6fb1'/>
<id>urn:sha1:9300fffcb54006bf471d96d70cf98081152c6fb1</id>
<content type='text'>
* gl/tests/test-rand-isaac.c (main): Fix swapped arguments to strtol.
</content>
</entry>
<entry>
<title>maint: ensure the mbsalign module is C89 compatible</title>
<updated>2010-10-01T15:30:31Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-10-01T13:28:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=288bfea72cfb645e1635e6ae62e4cd2aac57e826'/>
<id>urn:sha1:288bfea72cfb645e1635e6ae62e4cd2aac57e826</id>
<content type='text'>
This module may be moved to gnulib at some stage,
so keep it C89 compatible.

* gl/lib/mbsalign.c (mbsalign): Declare variables at start of scope
(ambsalign): Likewise
* gl/lib/mbsalign.h: Remove trailing comma from enum
Reported by Andrei Suhan
</content>
</entry>
<entry>
<title>maint: exclude tests from the set_program_name syntax-check</title>
<updated>2010-08-15T00:15:51Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-08-11T09:49:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6d78c2df58a4b22ad4a8bfae1b7780f02276ba3d'/>
<id>urn:sha1:6d78c2df58a4b22ad4a8bfae1b7780f02276ba3d</id>
<content type='text'>
* .x-sc_program_name: Exclude all current and future
c files in gl/tests from this check
* gl/tests/test-di-set.c: Remove the hack to work around
the set_program_name syntax-check
* gl/tests/test-ino-map.c: Likewise
* gl/tests/test-rand-isaac.c: Likewise
</content>
</entry>
<entry>
<title>tests: silence 'make syntax-check'</title>
<updated>2010-08-09T20:56:02Z</updated>
<author>
<name>Eric Blake</name>
<email>eblake@redhat.com</email>
</author>
<published>2010-08-09T20:56:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4e6bac4ca3be9cd3f280738a6fe8067a12518fda'/>
<id>urn:sha1:4e6bac4ca3be9cd3f280738a6fe8067a12518fda</id>
<content type='text'>
* gl/tests/test-rand-isaac.c (main): Avoid warnings from
syntax-check.
</content>
</entry>
<entry>
<title>sort: make struct heap private</title>
<updated>2010-07-26T04:18:35Z</updated>
<author>
<name>Paul R. Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-07-26T04:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=074566823ec313ad350e658c6765349d2ceef881'/>
<id>urn:sha1:074566823ec313ad350e658c6765349d2ceef881</id>
<content type='text'>
* gl/lib/heap.c (struct heap): Move this here...
* gl/lib/heap.h (struct heap): ... from here, as outside code no
longer needs to access any of these members.
</content>
</entry>
<entry>
<title>sort: use more-consistent style with const</title>
<updated>2010-07-26T02:25:09Z</updated>
<author>
<name>Paul R. Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-07-26T02:24:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=48faad374819668b483683d2c444f6b2e93a008e'/>
<id>urn:sha1:48faad374819668b483683d2c444f6b2e93a008e</id>
<content type='text'>
* src/sort.c (proctab_hasher, proctab_comparator, stream_open, xfopen):
(open_temp, zaptemp, struct_month_cmp, begfield, limfield):
(find_unit_order, human_numcompare, numcompare, general_numcompare):
(count_tabs, keycompare, compare, compare_nodes, lock_node):
(unlock_node, queue_destroy, queue_init, queue_insert, queue_pop):
(write_unique, mergelines_node, check_insert, update_parent):
(merge_loop, sortlines, struct thread_args, set_ordering):
Prefer the style "T const" to "const T".
* gl/lib/heap.h (struct heap, heap_alloc): Likewise.
* gl/lib/heap.c (heap_default_compare, heapify_down, heapify_up):
(heap_alloc): Likewise.
</content>
</entry>
<entry>
<title>randread: run 2x faster on 64-bit hosts, don't assume no padding bits</title>
<updated>2010-07-23T22:08:36Z</updated>
<author>
<name>Paul R. Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-07-23T22:07:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=df906d2e75d6822c88999b8cc537166371f2da6e'/>
<id>urn:sha1:df906d2e75d6822c88999b8cc537166371f2da6e</id>
<content type='text'>
* gl/lib/rand-isaac.c: 	Remove the I/O; this belongs elsewhere.
Add support for ISAAC64.  Port to hosts with padding bits.
Add self to author list.  Include &lt;limits.h&gt;, for CHAR_BIT.
Don't include string.h, sys/time.h, unistd.h.
(min, just): New functions.
(IF32): New macros.
(ind, ISAAC_STEP, isaac_refill, mix, isaac_init, isaac_seed):
Add support for ISAAC64.  Port to hosts with padding bits.
(ind): Now an inline function rather than a macro; no need for it
to be a macro with modern compilers.
(ISAAC_STEP): Renamed from isaac_step, since it's not function-like.
Don't bother to pass args that are always the same.  All uses changed.
(ISAAC_STEP, ISAAC_SEED): Move to inside the only function body
that can use it.
(ISAAC_MIX): Renamed from isaac_mix, since it's now a macro and is
no longer function-like.  Don't bother saving and restoring state;
no longer needed now that we're not a function.  All uses changed.
(isaac_seed_start, isaac_seed_data, isaac_seed_finish): Remove.
(isaac_seed): Take just the one arg; the caller now sets s-&gt;m.
* gl/lib/rand-isaac.h: Use _GL_RAND_ISAAC_H to protect, instead
of RAND_ISAAC_H.  Try out " #" rather than "# " for indenting.
(ISAAC_BITS_LOG, ISAAC_BITS): New macros.
(ISAAC_WORDS_LOG): Renamed from ISAAC_LOG.
(isaac_word): New type.  All uses of uint32_t changed to isaac_word,
to support ISAAC64.
(struct isaac_state): Rename member MM to M, and make it public.
(isaac_seed, isaac_refill): Adjust to new API.
* gl/lib/randread.c: Include sys/time.h.
(get_nonce): New function, containing the nonce stuff that used
to be in rand-isaac.c but better belongs here.
(randread_new): Use it.
* gl/modules/randread (Depends-on): Add inline.
* gl/modules/randread-tests: New file.
* gl/tests/test-rand-isaac.c: New file.
</content>
</entry>
<entry>
<title>fadvise: new module providing a simpler interface to posix_fadvise</title>
<updated>2010-07-22T00:03:48Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2010-07-14T08:49:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=63b5e8164847285f5d3c1dbc9f7c41ad8c17ccc6'/>
<id>urn:sha1:63b5e8164847285f5d3c1dbc9f7c41ad8c17ccc6</id>
<content type='text'>
* bootstrap.conf: Include the new module
* gl/lib/fadvise.c: Provide a simpler interface to posix_fadvise.
(fadvise): Provide hint to the whole file associated with a stream.
(fdadvise): Provide hint to the specific portion of a file
associated with a file descriptor.
* gl/lib/fadvise.h: Redefine POSIX_FADV_* to FADVISE_* enums.
* gl/modules/fadvise: New file.
* m4/jm-macros.m4: Remove the no longer needed posix_fadvise check.
* .x-sc_program_name: Exclude test-fadvise.c from this check.
* gl/tests/test-fadvise (main): New test program.
* gl/modules/fadvise-testss: A new index to reference the tests.
* src/sort.c (stream_open): Use the new interface.
* src/dd.c (iwrite): Likewise.
</content>
</entry>
<entry>
<title>randread: use /dev/urandom to seed, not just getpid etc</title>
<updated>2010-07-20T16:51:12Z</updated>
<author>
<name>Paul R. Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2010-07-20T16:50:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c1d8e6e458c2f9deb3013538d6db8da8f7f4e9f1'/>
<id>urn:sha1:c1d8e6e458c2f9deb3013538d6db8da8f7f4e9f1</id>
<content type='text'>
* gl/lib/rand-isaac.c (isaac_seed_start): New arg SEEDED.
(isaac_seed): New args FD and BYTES_BOUND.  Read from FD if possible.
Don't bother with low-quality sources if FD has enough bytes.
* gl/lib/rand-isaac.h: New size_t arg for isaac_seed.
* gl/lib/randread.c: Include fcntl.h, unistd.h.
(NAME_OF_NONCE_DEVICE): New #define.
(nonce_device): New static var.
(randread_new): Use nonce device if available.
</content>
</entry>
</feed>
