<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #2525: mutt 1.5.12 attempts to include posix1_lim.h



#2525: mutt 1.5.12 attempts to include posix1_lim.h

Changes (by brendan):

 * cc: tracyx.e.camp@xxxxxxxxx (removed)
  * component:  mutt => build
  * milestone:  => 1.6

Old description:

> {{{
> The source tar ball attempts to include <posix1_lim.h> in dotlock.c,
> mutt.h and lib.h.
>
> The actual path on SLED10 is <bits/posix1_lim.h>.
>
> bits/posix1_lim.h notes that it should not be directly included by
> applications, but rather USE_POSIX should be defined and limits.h
> included instead.  It seems reasonable for mutt to simply define
> USE_POSIX and include limits.h.
> >How-To-Repeat:
> Attempt a source compile on SLED10 (FC6rc2 apparently will cause cause
> the failure)
> >Fix:
> Define USE_POSIX and include limits.h and avoid including reserved
> headers.
> }}}

New description:

 The source tar ball attempts to include <posix1_lim.h> in dotlock.c,
 mutt.h and lib.h.

 The actual path on SLED10 is <bits/posix1_lim.h>.

 bits/posix1_lim.h notes that it should not be directly included by
 applications, but rather USE_POSIX should be defined and limits.h included
 instead.  It seems reasonable for mutt to simply define USE_POSIX and
 include limits.h.
 >How-To-Repeat:
 Attempt a source compile on SLED10 (FC6rc2 apparently will cause cause the
 failure)
 >Fix:
 Define USE_POSIX and include limits.h and avoid including reserved
 headers.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2525#comment:1>