[Python-checkins] python/dist/src/Modules posixmodule.c, 2.312, 2.313 readline.c, 2.66, 2.67 socketmodule.c, 1.283, 1.284

montanaro at users.sourceforge.net montanaro at users.sourceforge.net
Tue Feb 10 11:50:36 EST 2004


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27540/Modules

Modified Files:
	posixmodule.c readline.c socketmodule.c 
Log Message:
remove support for missing ANSI C header files (limits.h, stddef.h, etc).


Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.312
retrieving revision 2.313
diff -C2 -d -r2.312 -r2.313
*** posixmodule.c	17 Jan 2004 14:19:44 -0000	2.312
--- posixmodule.c	10 Feb 2004 16:50:18 -0000	2.313
***************
*** 54,60 ****
  #endif
  
- #ifdef HAVE_SIGNAL_H
  #include <signal.h>
- #endif
  
  #ifdef HAVE_FCNTL_H
--- 54,58 ----

Index: readline.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/readline.c,v
retrieving revision 2.66
retrieving revision 2.67
diff -C2 -d -r2.66 -r2.67
*** readline.c	13 Nov 2003 07:43:21 -0000	2.66
--- readline.c	10 Feb 2004 16:50:19 -0000	2.67
***************
*** 13,17 ****
  #include <errno.h>
  
! #if defined(HAVE_LOCALE_H) && defined(HAVE_SETLOCALE)
  /* GNU readline() mistakenly sets the LC_CTYPE locale.
   * This is evil.  Only the user or the app's main() should do this!
--- 13,17 ----
  #include <errno.h>
  
! #if defined(HAVE_SETLOCALE)
  /* GNU readline() mistakenly sets the LC_CTYPE locale.
   * This is evil.  Only the user or the app's main() should do this!

Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.283
retrieving revision 1.284
diff -C2 -d -r1.283 -r1.284
*** socketmodule.c	2 Feb 2004 06:03:09 -0000	1.283
--- socketmodule.c	10 Feb 2004 16:50:19 -0000	1.284
***************
*** 248,254 ****
  #endif
  
! #ifdef HAVE_STDDEF_H
! # include <stddef.h>
! #endif
  
  #ifndef offsetof
--- 248,252 ----
  #endif
  
! #include <stddef.h>
  
  #ifndef offsetof




More information about the Python-checkins mailing list