This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] for gcc-2.95.x branch: small bug in fixinc/

Hi there,

Here is a tiny patch for the gcc-2.95.x branch. It terminates the
fixinc/ script with an exit 0. Without this it returns to the parent
process (i.e., to the gcc Makefile, causing it to fail) the result of the last
command executed (on 4.3BSD at least), which can be a false if conditional.
This causes make to fail without there actually being anything wrong. The patch
below fixes it.

Michael Sokolov		Harhan Engineering Laboratory
Public Service Agent	International Free Computing Task Force
			International Engineering and Science Task Force
			DALLAS TX 75204-5852 USA

Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)

2000-09-03  Michael Sokolov  <msokolov@ivan.Harhan.ORG>

	* fixinc/ End with exit 0.

Index: fixinc/
RCS file: /cvs/gcc/egcs/gcc/fixinc/Attic/,v
retrieving revision
diff -c -r1.19.4.17
***	2000/03/08 05:07:48
---	2000/08/30 18:34:07
*** 3106,3108 ****
--- 3106,3109 ----
    cp ${srcdir}/assert.h include/assert.h || exit 1
    chmod a+r include/assert.h
+ exit 0

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]