tags 670476 + fixed-upstream thanks Samuel Thibault, le Mon 07 May 2012 11:52:37 +0200, a écrit : > tags 670476 + patch upstream > thanks > > Samuel Thibault, le Thu 26 Apr 2012 02:47:16 +0200, a écrit : > > It seems that these two tests assume that split will stop by itself when > > given /dev/zero as input. It does so on Linux, because /dev/zero there > > has stat_buf.st_size equal to 0, and thus split does just one loop, but > > on hurd-i386 /dev/zero has stat_buf.st_size equal to LONG_MAX, and thus > > split just loops for a very long time. Posix doesn't seem to talk much > > about what should be done here, but it seems to me that coreutils tests > > should not assume size being zero, and for instance use dd to fetch only > > the required bytes from /dev/zero. > > Upstream agrees that st_size shouldn't be used on special devices, and > proposes the attached patch as least-instrusive fix for now. It does > indeed fix the test.
The patch was applied upstream Samuel -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

