ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/lang/python23/files/patch-Modules::fcntlmodule.c
Revision: 532
Committed: Fri Nov 17 22:10:07 2006 UTC (17 years, 5 months ago) by laffer1
Content type: text/plain
File size: 1209 byte(s)
Log Message:
Python 2.3 joins are list of Python ports!

File Contents

# Content
1 Index: Modules/fcntlmodule.c
2 ===================================================================
3 RCS file: /cvsroot/python/python/dist/src/Modules/fcntlmodule.c,v
4 retrieving revision 2.43
5 retrieving revision 2.44
6 diff -u -r2.43 -r2.44
7 --- Modules/fcntlmodule.c 30 Nov 2004 14:31:54 -0000 2.43
8 +++ Modules/fcntlmodule.c 27 Jul 2005 20:24:30 -0000 2.44
9 @@ -102,7 +102,7 @@
10 int mutate_arg = 1;
11 char buf[1024];
12
13 - if (PyArg_ParseTuple(args, "O&iw#|i:ioctl",
14 + if (PyArg_ParseTuple(args, "O&Iw#|i:ioctl",
15 conv_descriptor, &fd, &code,
16 &str, &len, &mutate_arg)) {
17 char *arg;
18 @@ -151,7 +151,7 @@
19 }
20
21 PyErr_Clear();
22 - if (PyArg_ParseTuple(args, "O&is#:ioctl",
23 + if (PyArg_ParseTuple(args, "O&Is#:ioctl",
24 conv_descriptor, &fd, &code, &str, &len)) {
25 if (len > sizeof buf) {
26 PyErr_SetString(PyExc_ValueError,
27 @@ -172,7 +172,7 @@
28 PyErr_Clear();
29 arg = 0;
30 if (!PyArg_ParseTuple(args,
31 - "O&i|i;ioctl requires a file or file descriptor,"
32 + "O&I|i;ioctl requires a file or file descriptor,"
33 " an integer and optionally a integer or buffer argument",
34 conv_descriptor, &fd, &code, &arg)) {
35 return NULL;

Properties

Name Value
cvs2svn:cvs-rev 1.1