www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/08/01/16:06:49

Sender: bkorb AT sco DOT COM
Message-ID: <39872B89.BE451C04@sco.com>
Date: Tue, 01 Aug 2000 12:56:57 -0700
From: Bruce Korb <bkorb AT sco DOT COM>
Organization: Santa Cruz Operations
X-Mailer: Mozilla 4.7 [en] (X11; I; SCO_SV 3.2 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: djgpp-workers AT delorie DOT com, bkorb AT sco DOT COM
Subject: Re: DJGPP patch for fixincludes
References: <397DCC3F DOT 32D9BB7C AT sco DOT com> <200007281731 DOT UAA10498 AT mailgw1 DOT netvision DOT net DOT il> <200007281738 DOT NAA09572 AT envy DOT delorie DOT com> <200007290638 DOT JAA27818 AT mailgw3 DOT netvision DOT net DOT il> <39849CAA DOT 58977AD5 AT sco DOT com> <200008011238 DOT aa06482 AT sco DOT sco DOT COM>
Reply-To: djgpp-workers AT delorie DOT com

This is a multi-part message in MIME format.
--------------853A2DFFDFB5B1DEE7719202
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

eliz AT is DOT elta DOT co DOT il wrote:
> ...  testing.h winds up identical to itself, as it should, I think.

If you are referring to fixinc/test/base/testing.h, yes.
However, I meant to have it run against:

  ${builddir}/gcc/fixinc/tests/inc/testing.h

which is generated by the shell script "check.sh" (which, in turn,
is generated by AutoGen).  There are several "features" that
need to be fixed in that file.  (See the attached "testing.h" file.)

> (The second patch below has nothing to do with the bug, it just gets
> in my way when I'm trying to run the program outside the shell script
> or under GDB, and forget to define $VERBOSE.)

Thanks.  I'll make sure that gets added :-)
--------------853A2DFFDFB5B1DEE7719202
Content-Type: text/plain; charset=us-ascii;
 name="testing.h"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="testing.h"



#if defined( CTRL_QUOTES_DEF_CHECK )
#define _CTRL(c) ('c'&037)
#endif  /* CTRL_QUOTES_DEF_CHECK */


#if defined( CTRL_QUOTES_USE_CHECK )
#define TCTRLFOO BSD43_CTRL(T, 1)
#endif  /* CTRL_QUOTES_USE_CHECK */


#if defined( IO_QUOTES_DEF_CHECK )
#define XX_IO(x)        ('x'<<8|256)
#endif  /* IO_QUOTES_DEF_CHECK */


#if defined( IO_QUOTES_USE_CHECK )
#define TIOCFOO BSD43__IOWR(T, 1)
#define TIOCFOO \
BSD43__IOWR(T, 1) /* Some are multi-line */
#endif  /* IO_QUOTES_USE_CHECK */


#if defined( LIBC1_IFDEFD_MEMX_CHECK )
/* `memcpy' is a built-in function for gcc 2.x. */
#if defined(__STDC__) && __GNUC__ < 2
/* Copy N bytes of SRC to DEST.  */
extern __ptr_t memcpy __P ((__ptr_t __dest, __const __ptr_t __src,
                         size_t __n));
#endif
#endif  /* LIBC1_IFDEFD_MEMX_CHECK */


#if defined( MACHINE_NAME_CHECK )
/* MACH_DIFF: */
#if defined( i386 ) || defined( sparc ) || defined( vax )
/* no uniform test, so be careful  :-) */
#endif  /* MACHINE_NAME_CHECK */


#if defined( SCO_STRICT_ANSI_CHECK )
#if !__STDC__ /* not standard C */
int foo;
#endif
#endif  /* SCO_STRICT_ANSI_CHECK */


#if defined( SYSV68_STRING_CHECK )
extern int strlen();
extern int ffs(long);
extern char
	*memccpy(),
	memcpy();
extern int
	strncmp(),
	strlen(),
	strspn();
extern int
	strlen(), strspn();
#endif  /* SYSV68_STRING_CHECK */


#if defined( UNDEFINE_NULL_CHECK )
#define NULL 0UL
#define NULL	((void*)0)

#endif  /* UNDEFINE_NULL_CHECK */

--------------853A2DFFDFB5B1DEE7719202--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019