[FFmpeg-devel] Fixing configure on Solaris

Reimar Döffinger Reimar.Doeffinger
Thu Aug 9 01:19:22 CEST 2007


Hello,
On Thu, Aug 09, 2007 at 12:51:34AM +0200, Diego Biurrun wrote:
> On Wed, Aug 08, 2007 at 02:08:56PM -0700, Roman Shaposhnick wrote:
> > As per grep(1) man page:
> > 
> > -----------------------------------------------------------------------
> > Portability note: unlike GNU grep, traditional grep did not conform to
> > POSIX.2, because traditional grep lacked a -q option  and  its  -s
> > option  behaved  like GNU grep's -q option.  Shell scripts intended to
> > be portable to traditional grep should avoid both -q and -s and should
> > redirect output to /dev/null instead.
> > -----------------------------------------------------------------------
> > 
> > Ok to apply?
> 
> I don't like it.  -q is part of POSIX[1].  Why don't you fix the stone age
> tools in Solaris?

While I don't really find that > /dev/null is any worse than -q, I also
agree that getting rid of all that non-POSIX cruft is a much more sane
solution. Especially considering our requirements for the shell, which
are much, much harder to fulfill once you leave the "mainstream" OSs.

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list