diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/compcore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c index 66a673dcd..f2e055493 100644 --- a/Src/Zle/compcore.c +++ b/Src/Zle/compcore.c @@ -2483,14 +2483,14 @@ add_match_data(int alt, char *str, char *orig, Cline line, cm->modec = '\0'; if ((flags & CMF_FILE) && orig[0] && orig[strlen(orig) - 1] != '/') { struct stat buf; - char *pb; + char *pb, *blah; int blahl; pb = (char *) zhalloc((cm->prpre ? strlen(cm->prpre) : 0) + 3 + strlen(orig)); sprintf(pb, "%s%s", (cm->prpre ? cm->prpre : "./"), orig); - char *blah = ztrdup(pb); + blah = ztrdup(pb); unmetafy(blah, &blahl); |