This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: compile and install bugs on irix
- To: <law at cygnus dot com>
- Subject: Re: compile and install bugs on irix
- From: "Artem Hodyush" <artem at duma dot gov dot ru>
- Date: Fri, 2 Jul 1999 11:01:09 +0300
- Cc: <egcs-bugs at egcs dot cygnus dot com>
Texinfo caused some problems on cygwin too.
This patch was necessary to build 2.95 pre
on cygwin with text!=binary mounts :
*** makeinfo.c.original Sat Jun 26 11:57:49 1999
--- makeinfo.c Wed Jun 30 18:30:18 1999
***************
*** 1240,1245 ****
--- 1240,1248 ----
long file_size;
int file = -1, count = 0;
char *fullpath, *result, *get_file_info_in_path ();
+ #if defined (VMS) || defined (WIN32) || defined (__CYGWIN__)
+ int n;
+ #endif
result = fullpath = (char *)NULL;
***************
*** 1262,1268 ****
readable bytes is always less than this value. The arcane
mysteries of VMS/RMS are too much to probe, so this hack
suffices to make things work. */
! #if defined (VMS) || defined (WIN32)
#ifdef VMS
while ((n = read (file, result + count, file_size)) > 0)
#else /* WIN32 */
--- 1265,1271 ----
readable bytes is always less than this value. The arcane
mysteries of VMS/RMS are too much to probe, so this hack
suffices to make things work. */
! #if defined (VMS) || defined (WIN32) || defined (__CYGWIN__)
#ifdef VMS
while ((n = read (file, result + count, file_size)) > 0)
#else /* WIN32 */