Message75350
I propose to move self->closefd closer to the top of the function:
Index: Modules/_fileio.c
===================================================================
--- Modules/_fileio.c (Revision 67040)
+++ Modules/_fileio.c (Arbeitskopie)
@@ -181,6 +181,7 @@
self->readable = self->writable = 0;
self->seekable = -1;
+ self->closefd = closefd;
s = mode;
while (*s) {
switch (*s++) {
@@ -243,7 +244,6 @@
if (fd >= 0) {
self->fd = fd;
- self->closefd = closefd;
}
else {
self->closefd = 1; |
|
Date |
User |
Action |
Args |
2008-10-30 01:18:52 | christian.heimes | set | recipients:
+ christian.heimes, amaury.forgeotdarc |
2008-10-30 01:18:52 | christian.heimes | set | messageid: <1225329532.83.0.711614602841.issue4237@psf.upfronthosting.co.za> |
2008-10-30 01:18:52 | christian.heimes | link | issue4237 messages |
2008-10-30 01:18:51 | christian.heimes | create | |
|