[Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.121,2.122

Fred L. Drake fdrake@weyr.cnri.reston.va.us
Thu, 30 Dec 1999 13:05:46 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Modules
In directory weyr:/home/fdrake/projects/python/Modules

Modified Files:
	posixmodule.c 
Log Message:

setup_confname_table():  Use size_t instead of int for an index when
        building the dicts used to inform the user about the defined
        constants when using the *conf*() APIs.

Thanks to Mark Hammond <mhammond@skippinet.com.au>.


Index: posixmodule.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.121
retrieving revision 2.122
diff -C2 -r2.121 -r2.122
*** posixmodule.c	1999/12/15 18:31:10	2.121
--- posixmodule.c	1999/12/30 18:05:43	2.122
***************
*** 4317,4321 ****
      if (d != NULL) {
          PyObject *o;
!         int i = 0;
  
          for (; i < tablesize; ++i) {
--- 4317,4321 ----
      if (d != NULL) {
          PyObject *o;
!         size_t i = 0;
  
          for (; i < tablesize; ++i) {