mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-14 14:01:18 +02:00
zsh-workers/7472
This commit is contained in:
parent
6fd5c631d6
commit
af7d36e070
1 changed files with 9 additions and 5 deletions
|
@ -615,6 +615,9 @@ iscom(char *s)
|
|||
int
|
||||
isreallycom(Cmdnam cn)
|
||||
{
|
||||
if (cn->flags & HASHED)
|
||||
return 1;
|
||||
else {
|
||||
char fullnam[MAXCMDLEN];
|
||||
|
||||
strcpy(fullnam, cn->u.name ? *(cn->u.name) : "");
|
||||
|
@ -622,6 +625,7 @@ isreallycom(Cmdnam cn)
|
|||
strcat(fullnam, cn->nam);
|
||||
return iscom(fullnam);
|
||||
}
|
||||
}
|
||||
|
||||
/**/
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue