This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH/RFA] Fix NATDEPFILES sed expression to comment out cont's


The following was submitted as a bug report to NetBSD.  The sed
expression that comments out NATDEPFILES does not comment out
continuation lines.  BSD's make(1) doesn't like this (the \ at
the end of the line is ignored, just as the rest of the line following
the comment character is, as it should be).

The following tweak to the sed expression fixes the problem by also
commenting out continuation lines.

Before:

# NATDEPFILES=infptrace.o inftarg.o fork-child.o \
	corelow.o \
	alphabsd-nat.o alphanbsd-nat.o

After:

# NATDEPFILES= infptrace.o inftarg.o fork-child.o \
#	corelow.o \
#	alphabsd-nat.o alphanbsd-nat.o

OK to commit?

2002-05-10  Christian Limpach  <chris@Pin.LU>

	* configure.in: Change sed expression which comments out
	NATDEPFILES to also comment out continuation lines.
	* configure: Regenerate.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: configure-patch
Description: Text document


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