[Python-checkins] CVS: python/dist/src configure,1.288,1.289 configure.in,1.298,1.299 pyconfig.h.in,1.23,1.24

Neal Norwitz neal@metaslash.com
Thu, 21 Mar 2002 10:44:32 -0500


"Martin v. L?wis" wrote:
> 
> Update of /cvsroot/python/python/dist/src
> In directory usw-pr-cvs1:/tmp/cvs-serv15604
> 
> Modified Files:
>         configure configure.in pyconfig.h.in
> Log Message:
> Patch #532729: check for sem_init in -lrt.
> 
> Index: pyconfig.h.in
> ===================================================================
> RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
> retrieving revision 1.23
> retrieving revision 1.24
> diff -C2 -d -r1.23 -r1.24
> *** pyconfig.h.in       20 Mar 2002 21:32:07 -0000      1.23
> --- pyconfig.h.in       21 Mar 2002 15:10:58 -0000      1.24
> ***************
> *** 107,113 ****
> 
>   /* This must be set to 64 on some systems to enable large file support */
> - #ifndef _FILE_OFFSET_BITS
>   #undef _FILE_OFFSET_BITS
> - #endif
> 
>   /* Define if getpgrp() must be called as getpgrp(0). */

Martin:

Was this part intentional or was the patch I submitted broken?

I needed the #ifndef to stop a compiler warning about _FILE_OFFSET_BITS
being redefined from /usr/include/sys/feature_tests.h on Solaris 8.

Neal