[Python-checkins] python/dist/src/Modules posixmodule.c,2.229,2.230

nnorwitz@sourceforge.net nnorwitz@sourceforge.net
Fri, 19 Apr 2002 07:58:43 -0700


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

Modified Files:
	posixmodule.c 
Log Message:
#546155, remove posix_int() it is not used

Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.229
retrieving revision 2.230
diff -C2 -d -r2.229 -r2.230
*** posixmodule.c	15 Apr 2002 19:40:07 -0000	2.229
--- posixmodule.c	19 Apr 2002 14:58:40 -0000	2.230
***************
*** 461,480 ****
  
  static PyObject *
- posix_int(PyObject *args, char *format, int (*func)(int))
- {
- 	int fd;
- 	int res;
- 	if (!PyArg_ParseTuple(args, format, &fd))
- 		return NULL;
- 	Py_BEGIN_ALLOW_THREADS
- 	res = (*func)(fd);
- 	Py_END_ALLOW_THREADS
- 	if (res < 0)
- 		return posix_error();
- 	Py_INCREF(Py_None);
- 	return Py_None;
- }
- 
- static PyObject *
  posix_fildes(PyObject *fdobj, int (*func)(int))
  {
--- 461,464 ----