Hi,
the current CVS sources can't be built on WinNT due to the followin
error:
..\src\ntproc.c(691) : error C2166: l-value specifies const object
The message is correct, because in function
/* When a new child process is created we need to register it in our list,
so intercept spawn requests. */
int
sys_spawnve (int mode, CONST char *cmdname,
CONST char * CONST *argv, CONST char *CONST *envp)
{
We have the following assignment ...
/* make sure argv[0] and cmdname are both in DOS format */
unixtodos_filename ((char*)cmdname);
/* #### KLUDGE */
argv[0] = cmdname;
Do we absolutely need this kludge? In this case we can't use a const
pointer to const char in the arglist ...
Anybody?
'norbert.