bug#7612: cp -pu NTFS problem

2010-12-11 Thread Paul Eggert
On 12/10/2010 09:41 PM, Garry Trethewey wrote: > 1) I can see the difference > -for (a /= res; a % 10 != 0; a /= 10) > +for (a /= res; a % 10 == 0; a /= 10) > but I'm just not that clever to apply a patch. If you've built the software, then find the line that looks

bug#7597: multi-threaded sort can segfault (unrelated to the sort -u segfault)

2010-12-11 Thread Paul Eggert
Thanks, Chen, that was much nicer than what I was writing. I did some minor cleanups, mostly to do with catching an unlikely integer overflow that would have made 'sort' crash badly, and pushed the following set of patches. >From 780831a8602d9cdc22e7dcf44804e9c7183dd944 Mon Sep 17 00:00:00 2001 Fr

bug#7597: multi-threaded sort can segfault (unrelated to the sort -u segfault)

2010-12-11 Thread Jim Meyering
Paul Eggert wrote: > Thanks, Chen, that was much nicer than what I was writing. > I did some minor cleanups, mostly to do with catching an > unlikely integer overflow that would have made 'sort' crash badly, > and pushed the following set of patches. Thanks for helping, but... Chen's log message

bug#7597: multi-threaded sort can segfault (unrelated to the sort -u segfault)

2010-12-11 Thread Paul Eggert
Sorry for botching the NEWS and the change log. To help make amends, how about if I add a test case for that? I'm thinking of the 2nd test case in , namely this one: gensort -a 1 > gensort-10k for i in $(seq 2000); do prin

bug#7618: man mktemp/[deprecated] clarification

2010-12-11 Thread jidanni
man mktemp -p DIR use DIR as a prefix; implies -t [deprecated] -t interpret TEMPLATE as a single file name component, relative to a directory: $TMPDIR, if set; else the directory specified via -p; else /tmp [deprecated] It is not clear what is deprecated, -p, or