| delorie.com/archives/browse.cgi | search |
| Message-ID: | <35D88882.F634E900@gmx.net> |
| Date: | Mon, 17 Aug 1998 19:46:10 +0000 |
| From: | Robert Hoehne <robert DOT hoehne AT gmx DOT net> |
| Organization: | none provided |
| MIME-Version: | 1.0 |
| To: | djgpp-workers <djgpp-workers AT delorie DOT com> |
| Subject: | Bug in crt1.c (alpha 980712) |
Here a small bugfix. I hope the patch is clear. If not,
please ask, but please be patient with my answer, can
take some days.
--- src/libc/crt0/crt1.c~ Sun Jun 28 23:30:22 1998
+++ src/libc/crt0/crt1.c Mon Aug 17 19:32:18 1998
@@ -148,7 +148,7 @@
}
prog_name = (char *)calloc(1, strlen(fc) + 1);
- strncpy(prog_name, fc, 16);
+ strcpy(prog_name, fc);
}
extern void __main(void);
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |