|
From: | Paul Eggert |
Subject: | [bug-diffutils] bug#33965: bug#33965: bug#33965: handling of closed file descriptors |
Date: | Fri, 4 Jan 2019 14:42:21 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
The bigger picture here is that invoking programs with stdin closed is trouble, and although Gnulib provides several modules to work around the trouble these modules are a hassle and many applications don't use them. We should encourage platforms like HP-UX that try to work around the trouble, instead of having diffutils attempt to simulate the traditional but inferior exec semantics. Although the Linux kernel currently implements the traditional semantics, in this particular case I think I'd rather have diffutils adjust to what the platform provides, rather than attempt to simulate Linux behavior even on non-Linux kernels.
So I propose the attached further patch.
0001-diff-move-HP-UX-workaround-into-test-case.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |