|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#25029: closed (shuf generates “Bad file descriptor” error on nfs but only when run as a background process) |
Date: | Sat, 26 Nov 2016 23:51:02 +0000 |
Your message dated Sat, 26 Nov 2016 15:49:51 -0800 with message-id <address@hidden> and subject line Re: bug#25029: shuf generates “Bad file descriptor” error on nfs but only when run as a background process has caused the debbugs.gnu.org bug report #25029, regarding shuf generates “Bad file descriptor” error on nfs but only when run as a background process to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 25029: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25029 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: shuf generates “Bad file descriptor” error on nfs but only when run as a background process Date: Fri, 25 Nov 2016 14:24:22 -0800 I am not certain about this but I *think* this might be a bug in shuf.full description of how to reproduce is here
--- End Message ---
--- Begin Message ---Subject: Re: bug#25029: shuf generates “Bad file descriptor” error on nfs but only when run as a background process Date: Sat, 26 Nov 2016 15:49:51 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 On 11/25/2016 06:00 PM, Paul Eggert wrote:Isn't that a bug in glibc freopen? It shouldn't fail ... merely because stdin doesn't have a valid file descriptor. If so, we should fix the Gnulib freopen module to work around the bug.I did that, by installing the attached patches into Gnulib (first patch) and into Coreutils (2nd and 3rd patches). This fixes the shuf bug for me, so closing the bug report. CC'ing to bug-gnulib due to the Gnulib fix.freopen.diff
Description: Text Data0001-build-update-gnulib-submodule-to-latest.patch
Description: Text Data0002-shuf-test-input-closed-bug.patch
Description: Text Data
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |