bug-coreutils
[Top][All Lists]
Advanced

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

Re: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2


From: Paul Eggert
Subject: Re: __long64_t not declared AIX 5.3.0.50, gcc 4.0.2
Date: Wed, 18 Oct 2006 11:49:30 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Perry Smith <address@hidden> writes:

> Last time I started from scratch, edited the file, then did config
> and make, then did the diffs.  I plan to do that again.  Is my last
> output not consistent with that process?

I'm afraid not; at least 'patch' complained for me.

Part of the problem might be that your mailer corrupts text
that is inserted inline, by inserting newlines whenever
lines get too long.  (Apple Mail is not a good citizen in
this area, I'm afraid: I've had interoperability problems
with its linebreaking algorithm for years, and as far as I
know the latest version of Apple Mail still doesn't conform
to Internet RFC 3676 and insists on inserting hyphen-newline
when it shouldn't.  If you're using Apple Mail I'm not
surprised we're having trouble with attachments.  But I
digress...)  I fixed the undesired linebreaks by hand.
However, I don't see any errors in my fix.

The first hunk in your patch that got an error was the one
enclosed at the end of this message, for lib/stdint_.h.  The
"old" part of this patch does not correspond to
coreutils-6.3/lib/stdint_.h.

Anyway, if my latest attempt to fix stdint_.h works for you,
all this is moot.

***************
*** 43,55 ****
       Include it before <inttypes.h>, since any "#include <stdint.h>"
       in <inttypes.h> would reinclude us, skipping our contents because
       _GL_STDINT_H is defined.  */
! # include @ABSOLUTE_STDINT_H@
  #endif

  /* Get LONG_MIN, LONG_MAX, ULONG_MAX.  */
  #include <limits.h>

! #if @HAVE_INTTYPES_H@
    /* In OpenBSD 3.8, <inttypes.h> includes <machine/types.h>,  which defines
       int{8,16,32,64}_t, uint{8,16,32,64}_t and __BIT_TYPES_DEFINED__.
       <inttypes.h> also defines intptr_t and uintptr_t.  */
--- 43,55 ----
       Include it before <inttypes.h>, since any "#include <stdint.h>"
       in <inttypes.h> would reinclude us, skipping our contents because
       _GL_STDINT_H is defined.  */
! # include "///usr/include/stdint.h"
  #endif

  /* Get LONG_MIN, LONG_MAX, ULONG_MAX.  */
  #include <limits.h>

! #if 1
    /* In OpenBSD 3.8, <inttypes.h> includes <machine/types.h>,  which defines
       int{8,16,32,64}_t, uint{8,16,32,64}_t and __BIT_TYPES_DEFINED__.
       <inttypes.h> also defines intptr_t and uintptr_t.  */




reply via email to

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