From: pavenis AT lanet DOT lv To: gcc-patches AT gcc DOT gnu DOT org Date: Mon, 29 Oct 2001 13:59:12 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Fix typo in protoize.c Cc: djgpp-workers AT delorie DOT com Message-ID: <3BDD60B0.12568.AB8D80@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Reply-To: djgpp-workers AT delorie DOT com There is a type in gcc/protoize.c (both gcc-3_0-branch and trunk) which prevents it to be built for DJGPP. Andris 2001-10-29 Andris Pavenis * gcc/protoize.c: (edit_file) Fix typo. --- protoize.c~1 Fri Mar 16 03:02:46 2001 +++ protoize.c Mon Oct 29 13:48:46 2001 @@ -4343,7 +4343,7 @@ edit_file (hp) #ifdef __MSDOS__ /* MSDOS filenames are restricted to 8.3 format, so we save `foo.c' as `foo.'. */ - new_filename[(strlen (convert_filename) - 1] = '\0'; + new_filename[strlen (convert_filename) - 1] = '\0'; #endif strcat (new_filename, save_suffix);