[PATCH rendercheck 2/2] Remove getopt-based argument parsing. (bug 6611)

Alan Coopersmith alan.coopersmith at oracle.com
Fri Nov 5 23:11:49 PDT 2010


Thomas Dickey wrote:
> On Tue, 26 Oct 2010, Jesse Adkins wrote:
> 
>> Solaris 9 doesn't have getopt.
> 
> it has getopt, but doesn't have the nonstandard getopt.h

If I remember correctly, it also doesn't have long option support
(getopt_long), only traditional getopt.   (And a quick grep of the
headers seems to confirm that.)

On the other hand, Solaris 9 doesn't really have a working render
implementation, and it's from 2002, so no one is going to be
putting one there, so I'm tempted to say it's not worth
complicating the code for everyone else.

If anyone really needed it, would probably be better to use the
gnulib getopt_long than open coding it.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list