I'll have a look on getopt() and lets see if I can come up with something.
Regards,
Avi
On 8/16/06, Patrice Dumas
<[EMAIL PROTECTED]> wrote:
On Wed, Aug 16, 2006 at 07:17:22AM +0200, Yannick Lecaillez wrote:
> >./kdb set -t dir system/sw
> >kdb set: -t: Invalid Key
> >kdb set: '-t': Invalid Key
> >
> >I can do more test if I have directions.
> >
> >
> Perhaps getopt, used for arguments parsing, don't have the same
> behaviour on Solaris ? Perhaps adding some printf() in
> parseCommandLine() could help debug.
Yep, that's it. On gnu getopt man page, there is
By default, getopt() permutes the contents of argv as it scans, so that
eventually all the non-options are at the end.
So it seems that it isn't done on solaris, therefore -t is not considered
as an option. The permutation is not something we should rely on. I will
test any provided fix ;-).
> That's really nice you could made these tests ! Did you have access to
> some other plate-form ?
No, I only have access to a bunch of linuxes and solaris 8. I don't have
root access on solaris. And it is damn slow.
> Could be good to have a list of supported/tested
> plate-form.
Indeed. And more importantly a tester for each arch...
--
Pat
--
my blog: http://avi.alkalay.net/
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Registry-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/registry-list
