diff options
Diffstat (limited to 'contrib/awk/builtin.c')
-rw-r--r-- | contrib/awk/builtin.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/awk/builtin.c b/contrib/awk/builtin.c index 00ff757..499e05504 100644 --- a/contrib/awk/builtin.c +++ b/contrib/awk/builtin.c @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1986, 1988, 1989, 1991-1999 the Free Software Foundation, Inc. + * Copyright (C) 1986, 1988, 1989, 1991-2000 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -811,7 +811,8 @@ check_pos: *cp++ = '#'; if (zero_flag) *cp++ = '0'; - cp = strcpy(cp, "*.*") + 3; + strcpy(cp, "*.*"); + cp += 3; *cp++ = cs1; *cp = '\0'; #ifndef GFMT_WORKAROUND |