aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:59:03 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:59:03 +0300
commitb9e4a1fd4c8c8753ab8a9887bab55f03efe1e3e2 (patch)
treee6f86edd2f661aff2cd81eb4d4a54fa86fd4fe60 /builtin.c
parent3ca7f0b16d0a5c105380b284a81c6a1b2c210908 (diff)
downloadegawk-b9e4a1fd4c8c8753ab8a9887bab55f03efe1e3e2.tar.gz
egawk-b9e4a1fd4c8c8753ab8a9887bab55f03efe1e3e2.tar.bz2
egawk-b9e4a1fd4c8c8753ab8a9887bab55f03efe1e3e2.zip
Move to gawk-3.0.6.
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin.c b/builtin.c
index 3e114a64..499e0550 100644
--- a/builtin.c
+++ b/builtin.c
@@ -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