Vincent Lefevre <[EMAIL PROTECTED]> wrote: > On 2006-03-05 12:39:04 +0100, Jim Meyering wrote: >> Vincent Lefevre <[EMAIL PROTECTED]> wrote: >> > On 2006-03-02 14:18:41 -0800, Debian Bug Tracking System wrote: >> >> - tail -c 3 works again (Closes: #340364) >> > >> > It doesn't: >> ... >> >> It does -- at least for almost everyone else :-) >> >> You must have _POSIX2_VERSION set in your environment. > > _POSIX2_VERSION isn't set, and this is the default. > > dixsept:~> env | grep POSIX > LANG=POSIX > dixsept:~> /usr/bin/tail -c 3 < /dev/null > /usr/bin/tail: cannot open `3' for reading: No such file or directory > zsh: exit 1 /usr/bin/tail -c 3 < /dev/null > dixsept:~> env -u -- /usr/bin/tail -c 3 < /dev/null > /usr/bin/tail: cannot open `3' for reading: No such file or directory > zsh: exit 1 env -u -- /usr/bin/tail -c 3 < /dev/null > > So, for almost everyone, it doesn't work.
The problem seems to be that for x86/unstable, coreutils is built with _POSIX2_VERSION set to something like 199209 in the *build* environment. Strangely, it seems not to be set for amd-64 binaries, since on such a system, I see the behavior you want. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

