Displaying 2 results from an estimated 2 matches for "parmnum".
Did you mean:
barnum
2000 Jan 30
0
More checks for param/loadparm.c
..."\"%c\", and cannot be set.\n", pszParmValue,
> pszParmValue[i]));
> return False;
> }
> return True;
> }
>
>
> /***************************************************************************
2206,2207c2324
< parm_table[parmnum].special(pszParmValue,(char **)parm_ptr);
< return(True);
---
> return parm_table[parmnum].special(pszParmValue,(char **)parm_ptr);
2273a2391
>
2013 Dec 10
1
Delayed variable expansion for P_PATH/P_STRING is missing (loadparm.c)
...USER%/test failed: No such file or directory (2)
<<<
That means the config parameter expansion did not work at runtime.
In loadparm.c line 668 there is a special handling of P_PATH/P_STRING
parameters:
>>>
/* now switch on the type of variable it is */
switch (parm_table[parmnum].type) {
case P_PATH:
case P_STRING:
/* delay expansion of vars */
break;
default:
/* expand any %VARS% now */
parmvalue = expand_vars(parmvalue);
break;
}
<<<
This handling delays the expansion of $USER in the path parameters. I
rem...