bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rewritten inttypes module


From: Eric Blake
Subject: Re: rewritten inttypes module
Date: Mon, 28 Aug 2006 15:59:26 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Bruno Haible <bruno <at> clisp.org> writes:

> 
> So here's the patch I'm committing.
> 
> 2006-08-26  Bruno Haible  <bruno <at> clisp.org>
> 
>       * modules/inttypes (Files): Add lib/inttypes_.h, remove lib/inttypes.h.
>       Add m4/inttypes.m4, remove m4/_inttypes_h.m4 and m4/include_next.m4.
>       (Makefile.am): Create inttypes.h from inttypes_.h.

On platforms with a lacking header, I now get:

make[2]: Entering directory `/home/eblake/tar/lib'
sed -e 's/@''HAVE_INTTYPES_H''@/1/g' \
            -e 's/@''ABSOLUTE_INTTYPES_H''@/"///usr/include/inttypes.h"/g' \
            -e 's/@''PRI_MACROS_BROKEN''@//g' \
            -e 's/@''HAVE_LONG_LONG_INT''@/1/g' \
            -e 's/@''PRIPTR_PREFIX''@/"l"/g' \
            -e 's/@''HAVE_DECL_IMAXABS''@/1/g' \
            -e 's/@''HAVE_DECL_IMAXDIV''@/1/g' \
            -e 's/@''HAVE_DECL_STRTOIMAX''@/1/g' \
            -e 's/@''HAVE_DECL_STRTOUMAX''@/1/g' \
            < ./inttypes_.h > inttypes.h-t
sed: -e expression #2, char 27: unknown option to `s'

Committing this obvious fix:

2006-08-28  Eric Blake  <address@hidden>

        * modules/inttypes (Depends-on): Fix sed error when inttypes.h
        needs wrapper.

Index: modules/inttypes
===================================================================
RCS file: /sources/gnulib/gnulib/modules/inttypes,v
retrieving revision 1.6
diff -u -r1.6 inttypes
--- modules/inttypes    28 Aug 2006 12:54:47 -0000      1.6
+++ modules/inttypes    28 Aug 2006 15:59:03 -0000
@@ -21,7 +21,7 @@
 # doesn't have one that works with the given compiler.
 inttypes.h: inttypes_.h
        sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
-           -e 's/@''ABSOLUTE_INTTYPES_H''@/$(ABSOLUTE_INTTYPES_H)/g' \
+           -e 's|@''ABSOLUTE_INTTYPES_H''@|$(ABSOLUTE_INTTYPES_H)|g' \
            -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
            -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
            -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \






reply via email to

[Prev in Thread] Current Thread [Next in Thread]