This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix typo in protoize.c
- To: gcc-patches at gcc dot gnu dot org
- Subject: Fix typo in protoize.c
- From: pavenis at lanet dot lv
- Date: Mon, 29 Oct 2001 13:59:12 +0200
- Cc: 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 <pavenis@lanet.lv>
* 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.<save_suffix>'. */
- new_filename[(strlen (convert_filename) - 1] = '\0';
+ new_filename[strlen (convert_filename) - 1] = '\0';
#endif
strcat (new_filename, save_suffix);