bug in alias handling (showed up w/ --triggers)
CVS patchset: 2538 CVS date: 1998/11/16 21:00:43
This commit is contained in:
parent
3b5593c7e0
commit
bc2c860f87
|
@ -154,7 +154,8 @@ static int handleAlias(poptContext con, char * longName, char shortName,
|
|||
if (con->os->currAlias && con->os->currAlias->longName && longName &&
|
||||
!strcmp(con->os->currAlias->longName, longName))
|
||||
return 0;
|
||||
if (con->os->currAlias && shortName == con->os->currAlias->shortName)
|
||||
if (con->os->currAlias && shortName &&
|
||||
shortName == con->os->currAlias->shortName)
|
||||
return 0;
|
||||
|
||||
i = con->numAliases - 1;
|
||||
|
|
Loading…
Reference in New Issue