After looking into the code (parse.c)...

Variable pDfltProgNameCmp is NULL until the first
occurence of a !progname line
therefore it matches any program name.

Any later !* line makes rsCStrSetSzStr(pDfltProgNameCmp, NULL) to be called
that replaces current content of the string object with an empty string(!).

See stringbuf.c:
/* Sets the string object to the classigal sz-string provided.
 * Any previously stored vlaue is discarded. If a NULL pointer
 * the the new value (pszNew) is provided, an empty string is
 * created (this is NOT an error!). Property iAllocIncrement is
 * not modified by this function.
 * rgerhards, 2005-10-18
 */

Unfortunately pDfltProgNameCmp must be NULL instead of "".

Gabor



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to