bug#31332: touch unnecessarily calls dup2

2018-10-29 Thread Paul Eggert
John Steele Scott wrote: Prior tohttp://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=e373bb19 fd_reopen() initially did "close(desired_fd); fd = open(...)" which would always do the right thing No, as the old code did the wrong thing for "touch /dev/stdin", whereas the

bug#7073: threadlib vs. pthread modules

2018-10-29 Thread Assaf Gordon
(triaging old bugs) Hello, This thread ( https://bugs.gnu.org/7073 ) starts with build error on Mac OS X due to pthread related issues. It then deals with this (already commited) gnulib change: = 2010-09-22 Bruno Haible threadlib: Allow the package to change the default to 'no'. *

bug#7057: Use of JOIN with tab as delimiter

2018-10-29 Thread Assaf Gordon
tags 7057 moreinfo close 7057 stop (triaging old bugs) On 2010-09-17 2:06 p.m., Eric Blake wrote: On 09/17/2010 12:22 PM, Magerman, Tom wrote: I would like to use JOIN on tab delimited files in a Windows console window (with GNUwin32 CoreUtils), but I'm not able to specify tab as delimiter

bug#6816: df bug on 64-bit Solaris (need to use getextmntent)

2018-10-29 Thread Assaf Gordon
Hello Bruno, On 2018-10-12 10:17 a.m., Bruno Haible wrote: David Wood wrote: At this point, me->me_dev contains a wrongly packed (32-bit) device number, which forces the find_mount_point() code path (causing other unpleasantries). The following patch against coreutils v8.5 fixes the problem:

bug#6661: test "install/install-C" fails on Mac OS X 10.6.4

2018-10-29 Thread Assaf Gordon
close 6661 stop (triaging old bugs) On 2010-07-16 9:33 p.m., Richard Godbee wrote: When I build coreutils 8.5 on Mac OS X 10.6.4, test "install/install-C" fails. It seems your message was lost and not answered to in many many years. Sorry about that. Both coreutils 8,.5 and Mac OS X 10.6.4

bug#6288: gnuwin32 du fails at "C:\Program Files"

2018-10-29 Thread Assaf Gordon
tags 6288 moreinfo close 6288 stop (triaging old bugs) On 2010-05-28 6:42 a.m., Eric Blake wrote: On 05/27/2010 06:54 PM, pklam...@hidglobal.com wrote: On XP SP3, 12GB drive, du quits at (i.e., just before) my directory "C:\Program Files\". In general, questions about tools ported to

bug#5783: bug5783: ls.c missing HAVE_NL_LANGINFO check

2018-10-29 Thread Assaf Gordon
tags 5783 fixed close 5783 stop triaging very old bug: https://debbugs.gnu.org/5783 and https://savannah.gnu.org/bugs/?29349 . In 2016, Paul committed the following: ls: fix %%b format and precompute more

bug#31332: touch unnecessarily calls dup2

2018-10-29 Thread John Steele Scott
Hi Assif, Thanks for your reply. On 30/10/18 1:47 pm, Assaf Gordon wrote: > tags 31332 notabug > close 31332 > stop > > On 2018-05-01 4:38 a.m., John Steele Scott wrote: >>  From >> https://stackoverflow.com/questions/40446555/why-does-touch-call-the-dup2-syscall >> >> jscott@citra:/tmp$ touch

bug#23222: test: incorrect operator-precedence

2018-10-29 Thread Assaf Gordon
tags 23222 fixed close 23222 stop On 2016-04-05 9:09 a.m., Eric Blake wrote: tag 23222 confirmed thanks On 04/05/2016 05:57 AM, Mattias Andrée wrote: Failing test-case #1: ./test -n -a -n fails and outputs ./test: extra argument ‘-n’ Expected behaviour is silent success, as seen in

bug#33125: /bin/del

2018-10-29 Thread Assaf Gordon
severity 33125 wishlist retitle 33125 rm: add --backup option, similar to cp/mv/ln stop On 2018-10-28 3:12 p.m., Paul Eggert wrote: It'd be nice to add a --backup flag to 'rm', which would behave like --backup does with cp, mv, and ln. This would have the effect of the 'del' command you're

bug#32796: please consider using renameat2 from glibc if available

2018-10-29 Thread Assaf Gordon
tags 32796 fixed close 32796 stop On 2018-10-08 12:27 a.m., Paul Eggert wrote: Thanks for checking. I installed the attached into Gnulib master. The "(tiny change)" is because the patch is small enough that we don't need to worry about copyright papers. Pushed here:

bug#32774: Filenames with spaces in ls

2018-10-29 Thread Assaf Gordon
tags 32774 notabug close 32774 stop On 2018-09-19 1:46 p.m., Paul Eggert wrote: Ivan Perez wrote: the presence of the extra quote and the misalignment that that causes draws one's attention to the quote. That's part of the intent. The quotes draw the reader's attention to the oddball file

bug#32472: sort doesn't sort and uniq loses data for many non-Latin scripts on UTF-8 locales

2018-10-29 Thread Assaf Gordon
tags 32472 notabug close 32472 stop On 2018-08-18 11:34 a.m., Paul Eggert wrote: Vaayda Yaasra wrote: Here’s an example in Syriac: ܡܠܬܐ ܒܝܬܐ ܒܪܢܫܐ ܡܠܬܐ Sort produces the following: ܡܠܬܐ ܒܝܬܐ ܡܠܬܐ ܒܪܢܫܐ This is a property of your locale, so I suggest sending a bug report to whoever

bug#32308: join doesn't ignore trailing whitespace

2018-10-29 Thread Assaf Gordon
severity 32308 wishlist retitle 32308 doc: join: mention whitespace is significant stop Hello, On 2018-07-29 9:11 p.m., Dima Kogan wrote: It appears that join doesn't ignore trailing whitespace, resulting in surprising results. [...] > I guess the manpage isn't explicit about what happens

bug#31493: please add null-terminated line output for sha256sum, sha1sum, etc

2018-10-29 Thread Assaf Gordon
tags 31493 fixed close 31493 stop Pushed here: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=c744c65f50e03846e037361d613a5d2b2e334b61 So closing as "fixed". -assaf

bug#31472: tsort reporting false loop in input. unix2dos fixes the problem.

2018-10-29 Thread Assaf Gordon
tags 31472 notabug close 31472 stop Hello, On 2018-05-16 10:16 a.m., Bernhard Voelker wrote: This replaces "\n" by "\r\n", and of course changes the way tsort works. If your suspicion was that the file has Windows-style line-endings, then you would have had to use 'dos2unix'. On 2018-05-17

bug#31332: touch unnecessarily calls dup2

2018-10-29 Thread Assaf Gordon
tags 31332 notabug close 31332 stop On 2018-05-01 4:38 a.m., John Steele Scott wrote: From https://stackoverflow.com/questions/40446555/why-does-touch-call-the-dup2-syscall jscott@citra:/tmp$ touch --version | head -1 touch (GNU coreutils) 8.25 jscott@citra:/tmp$ strace -ttt touch foo 2>&1 |

bug#31184: tail -f on Network FS not refreshing as soon as the file is changed.

2018-10-29 Thread Assaf Gordon
close 31184 stop On 2018-06-12 9:10 a.m., Jewsco Pius Jacquez wrote: Padraig, thanks a lot for your help on this. We found a workaround combined with cache=none mount option and it works for our customer. You can close this case. tail --follow=name --max-unchanged-stats=1

bug#30907: mv return value.

2018-10-29 Thread Assaf Gordon
tags 30907 fixed close 30907 stop (triaging old bugs) On 2018-03-23 7:45 a.m., Kamil Dudka wrote: On Friday, March 23, 2018 2:00:01 PM CET Eric Blake wrote: I don't know if mv exposes RENAME_NOREPLACE semantics yet, but it should be taught to do so, where such semantics are available. mv

bug#30504: bug tail -2 FILE1 FILE1 - tail: option used in invalid context -- 2

2018-10-29 Thread Assaf Gordon
close 30504 stop (triaging old bugs) On 2018-02-17 3:37 p.m., Paul Eggert wrote: There is a backward-compatibility problem with supporting "tail -2" with any number of extra arguments, since (for example) "tail -2c 20" has a different meaning in traditional "tail" than you might think. To

bug#30430: [column] accounting for ansi color codes

2018-10-29 Thread Assaf Gordon
tags 30430 notabug close 30430 stop (triaging old bugs) On 2018-02-17 2:33 p.m., Pádraig Brady wrote: On 11/02/18 22:07, Boruch Baum wrote: The `column -t' command doesn't align input properly when that input includes ansi color codes. Note column(1) is part of the util-linux project.

bug#30453: Bug in BC calculator version 1.07.1

2018-10-29 Thread Assaf Gordon
tags 30453 notabug close 30453 stop (triaging old bugs) On 2018-02-14 3:33 p.m., Martin Møller Skarbiniks Pedersen wrote: This is not a bug. From the man-page: $ man bc | fgrep -A5 "expr * expr" expr * expr The result of the expression is the product of the two

bug#29946: no -A argument for 'tr' generates an error message whenever the AIX command "lslpp -L" is used (AIX 6.1 and later).

2018-10-29 Thread Assaf Gordon
tags 29946 fixed close 29946 stop (triaging old bugs) Pushed here: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=3f9b1b86b18777b996c81d40c64e1e3ede8ecbef so closing as "fixed". -assaf

bug#29939: 回复: Re: bug#29939: HELP:enter a "ls"command, then the os connection will closed

2018-10-29 Thread Assaf Gordon
tags 29939 moreinfo close 29939 stop (triaging old bugs) On 2018-01-08 8:22 a.m., Bernhard Voelker wrote: On 01/04/2018 01:58 AM, lil...@chinaunicom.cn wrote: $ type ls ls is aliased to `ls $LS_OPTIONS' It was a bit hard to find a an old SLES-11.1 ... Hmm, is your LS_OPTIONS set to

bug#29807: Probably ignore this bug report ;-)

2018-10-29 Thread Assaf Gordon
tags 29807 notabug close 29807 stop (triaging old bugs) On 2017-12-21 9:45 p.m., Martin Schwenke wrote: After reading the documentation again, I realise that it is actually complete (i.e. no arguments implies --tmpdir). Given the above, I'm closing this bug. [...] A separate discussion of

bug#29802: "uniq -c" doesn't like counting lines with nulls

2018-10-29 Thread Assaf Gordon
tags 29802 moreinfo close 29802 stop (triaging old bugs) On 2017-12-21 9:33 a.m., Pádraig Brady wrote: On 21/12/17 08:40, PD wrote: # printf "\n\x00\n\x00\n" | uniq -c | cat -e 1 $ 1 ^@$ 1 ^@$ Not reproducible on recent versions. Might this have been specific to the

bug#29604: man cut should mention no way to do ls -l|cut ...

2018-10-29 Thread Assaf Gordon
severity 29604 wishlist retitle 29604 wontfix close 29604 stop (triaging old bugs) On 2017-12-07 8:53 a.m., 積丹尼 Dan Jacobson wrote: "EB" == Eric Blake writes: EB> Let's step back a bit. We recommend that you NEVER parse ls output, as No problem. [...] Closing this bug. -assaf

bug#29589: date %k adds extra space for single digits hours

2018-10-29 Thread Assaf Gordon
tags 29589 notabug close 29589 stop (triaging old bugs) From: Bishop Bettini [mailto:bishop.bett...@gmail.com] On Wed, Dec 6, 2017 at 4:17 AM, Noam Arad wrote: When using date command with the format %k if the hour is single digits there is an extra space added. E.g.: date -u +"%Y/%m/%d

bug#29475: filesystem (apparently cagefs) does not allow ln to create bad symbolic link

2018-10-29 Thread Assaf Gordon
tags 29475 notabug close 29475 stop (triaging old bugs) On 2017-11-30 6:07 p.m., Paul Eggert wrote: On 11/30/2017 04:59 PM, bug-coreut...@trodman.com wrote:  From my trial and error, this file system does not let you create bad sym links. Hmm, yes, apparently that filesystem can be

bug#29285: Error building coreutils 8.28.32-a4eed under Archlinux from AUR

2018-10-29 Thread Assaf Gordon
tags 29285 moreinfo stop (triaging old bugs) Hello, On 2017-11-13 7:43 a.m., timofonic timofonic wrote: As the coreutils build system reported, I'm sending the following building error from using the coreutils-git Arch User Repository package (

bug#29259: tail does not seek to the end of block device

2018-10-29 Thread Assaf Gordon
tags 29259 fixed close 29259 stop (triaging old bugs) Pushed here: tail: seek to the end of block devices https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=31dd7a0de272affa1120ba1fbc7db3445c548aa5 so closing as "fixed". -assaf

bug#29228: Broken link

2018-10-29 Thread Assaf Gordon
tags 29228 fixed close 29228 sto (triaging old bugs). On 2017-11-09 8:18 a.m., Chris Koehnke wrote: On http://www.gnu.org/software/coreutils/coreutils.html the "plain text" link to http://stagecraft.theprices.net/nomime.html goes to "Page not found". Thanks for the report. Sorry there was

bug#29205: --force doesn't work

2018-10-29 Thread Assaf Gordon
tags 29205 notabug close 29205 stop (triaging old bugs) It seems your message was lost and not replied to in a year. Sorry about that. On 2017-11-08 2:35 a.m., Konstantin Kharlamov wrote: Steps to reproduce: 1. $ mkdir -p foo/bar/buzz1 2. $ mkdir -p bar/buzz2 3. $ mv --force bar foo/

bug#29012: od: busy skip on block devices

2018-10-29 Thread Assaf Gordon
severity 29012 wishlist retitle 29012 od: add skip option tags 29012 wontfix close 29012 stop (triaging old bugs) On 2017-10-27 11:59 p.m., Christian Kögler wrote: Am 27. Oktober 2017 07:25:25 MESZ schrieb "Pádraig Brady" : On 26/10/17 08:13, Christian Kögler wrote: If od is used on block

bug#28942: base64 decoding issue

2018-10-29 Thread Assaf Gordon
tags 28942 notabug close 28942 stop (triaging old bugs) On 2017-10-22 10:13 a.m., Aaron Schneider wrote: I try to decode the "thunder://" link to the "magnet://" link using base64. For me, it adds 'AA' at the beginning (0x4141) which shouldn't be there. * Website: --

bug#28927: ln -fs dir name doesn't force

2018-10-29 Thread Assaf Gordon
tags 28927 notabug close 28927 stop (triaging old bugs) On 2017-10-21 12:53 p.m., Andreas Schwab wrote: On Okt 21 2017, "Sven C. Dack" wrote: The link should have been set to "bar" with the "-f" or "--force" option, shouldn't it? The file baz/bar has been overwritten. You need to use -n

bug#28528: Split command problems.

2018-10-29 Thread Assaf Gordon
tags 28528 notabug close 28528 stop (triaging old bugs) On 2017-10-01 6:09 p.m., Nick Farrow wrote: [...] And from what it looks like the compression was the problem. Each server was compressing differently compared to the other. Given the above, I'm closing this bug. -assaf

bug#28440: fts_info is set to FTS_DP for an Unreadable directory instead of FTS_DNR on s390x

2018-10-29 Thread Assaf Gordon
tags 28440 notabug close 28440 stop (triaging old bugs) Hello, On 2017-09-12 9:56 p.m., Prajakta Bhatekar wrote: I have a piece of code that checks for access to a non-root user to perform a recursive chown operation on a directory with its child directory having 0 permissions(all

bug#28506: coreutils 8.28 test suite hangs on APFS filesystem

2018-10-29 Thread Assaf Gordon
tags 28506 fixed close 28506 stop (triaging old bugs) On 2017-09-23 8:47 p.m., Pádraig Brady wrote: On 22/09/17 20:07, Pádraig Brady wrote: Is is a wait or a cpu spin? Could you use the equivalent of strace on your platform to see what's happening? Offlist Jack sent a profile showing

bug#28152: Human readable units (-h/--human-readable vs --si) - Wrong prefix and missing unit

2018-10-29 Thread Assaf Gordon
severity 28152 wishlist tags 28152 wontfix close 28152 stop (triaging old bugs) On 2017-08-21 5:21 p.m., Paul Eggert wrote: On 08/21/2017 03:56 PM, Michael Weiss wrote: Do you think it would be possible to add another variable that wouldn't overwrite the default but use the "human_B" output