From: ceriel Date: Thu, 16 Feb 1989 11:14:22 +0000 (+0000) Subject: fixed; the previous change was wrong X-Git-Tag: release-5-5~2575 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=188b1df96df2a15581927b7f9893d9d9c7dd8b56;p=ack.git fixed; the previous change was wrong --- diff --git a/modules/src/input/inp_pkg.body b/modules/src/input/inp_pkg.body index 39d69e066..5fef47714 100644 --- a/modules/src/input/inp_pkg.body +++ b/modules/src/input/inp_pkg.body @@ -234,10 +234,10 @@ INP_mk_filename(dir, file, newname) if (!dst) return 0; *newname = dst; if (*dir) { - while (*dst++ = *dir++); - *--dst = '/'; + while (*dst++ = *dir++) ; + *(dst-1) = '/'; } - while (*++dst = *file++); + while (*dst++ = *file++); return 1; }