[MPlayer-dev-eng] [PATCH] fix for textultils 2.1 coreutils 5.0 "-1" deprecation
Luca Barbato
lu_zero at gentoo.org
Thu Jul 10 03:40:40 CEST 2003
Paul Jarc wrote:
> D Richard Felker III <dalias at aerifal.cx> wrote:
>
>>Unless you're *SURE* switching to the sed trick will work correctly
>>on *ALL* systems
>
>
> I'm fairly sure. I'm more confident in sed than in a script that
> tries to determine which head and tail are installed, and dynamically
> chooses between -1 or -n 1 accordingly; sed is much less fragile. The
> same change has already been made in several other packages.
>
>
>>BTW, can you quote something from POSIX where it says -1 is not
>>supposed to work??
>
>
Another way to fix that is set _POSIX2_VERSION=199209 in the makefile
and revert it back to the older value if any.
Maybe that is the best way to make stuff working...
(got hints from our bugzilla and read the coreutils code and got a some
more hints from posixver.c).
--
Luca Barbato
Developer
Gentoo Linux http://www.gentoo.org/~lu_zero
More information about the MPlayer-dev-eng
mailing list