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

Tim Peters tim_one@users.sourceforge.net
Tue, 29 Jan 2002 21:46:59 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv356/python/Modules

Modified Files:
	posixmodule.c 
Log Message:
Expose more MS WIndows constants usable w/ low-level os.open().


Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.218
retrieving revision 2.219
diff -C2 -d -r2.218 -r2.219
*** posixmodule.c	2002/01/12 11:05:06	2.218
--- posixmodule.c	2002/01/30 05:46:57	2.219
***************
*** 364,368 ****
  	/* XXX We should pass the function name along in the future.
  	   (_winreg.c also wants to pass the function name.)
! 	   This would however require an additional param to the 
  	   Windows error object, which is non-trivial.
  	*/
--- 364,368 ----
  	/* XXX We should pass the function name along in the future.
  	   (_winreg.c also wants to pass the function name.)
! 	   This would however require an additional param to the
  	   Windows error object, which is non-trivial.
[...1123 lines suppressed...]
  			   posix_methods,
--- 5996,6000 ----
  {
  	PyObject *m, *d, *v;
! 
  	m = Py_InitModule4(MODNAME,
  			   posix_methods,
***************
*** 5980,5984 ****
  			   PYTHON_API_VERSION);
  	d = PyModule_GetDict(m);
! 	
  	/* Initialize environ dictionary */
  	v = convertenviron();
--- 6003,6007 ----
  			   PYTHON_API_VERSION);
  	d = PyModule_GetDict(m);
! 
  	/* Initialize environ dictionary */
  	v = convertenviron();