Message-ID: <35D88882.F634E900@gmx.net> Date: Mon, 17 Aug 1998 19:46:10 +0000 From: Robert Hoehne Organization: none provided MIME-Version: 1.0 To: djgpp-workers Subject: Bug in crt1.c (alpha 980712) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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);