bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Advice for Interix and to specify users


From: Jerker Bäck
Subject: RE: Advice for Interix and to specify users
Date: Mon, 21 Apr 2008 12:36:44 +0200

Hello Mark and thanks for the reply,

>> I got "(null)" instead of "admin".
> 
> Okay. This means that the global variable cvs_cmd_name is NULL for
> some reason. It should be getting set in main.c::main() based on the
> value of argv[0] after getopt_long() is being called.
> 
> It could be that your system has some other version of getopt_long()
> than the one in lib/getopt1.c and is not behaving as expected.

Yes, you're right, my cvs compile is using the BSD LIBC getopt_long().
Usually GNU utilities reject this version and force the gnulib variant, cvs
configure didn't. I'll try to get the gnulib variant into my Makefile.

Done. I got a new test running now - at least it passed this issue and
continues.
Thanks!

> You probably need to break out a source level debugger and put a
> break point in main() and getopt_long() as well as error() and 
> figure out why cvs_cmd_name is not getting properly updated.

Just FYI, rather complicated debugging shell processes in Interix since it
running in a parallel OS (or NT subsystem) from what you see on the screen.
But once you get inside it's no problem doing that in Visual Studio (no
other debugger seems capable).

Jerker





reply via email to

[Prev in Thread] Current Thread [Next in Thread]