[Patches] [ python-Patches-708495 ] OpenVMS complementary patches

SourceForge.net noreply@sourceforge.net
Sun, 23 Mar 2003 15:11:11 -0800


Patches item #708495, was opened at 2003-03-23 21:01
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=708495&group_id=5470

Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Piéronne Jean-François (pieronne)
Assigned to: Martin v. Löwis (loewis)
Summary: OpenVMS complementary patches

Initial Comment:
Explanations of the various patches:

fcntlmodule.c
Under VMS the third argument is declared as void *

expat.h
VMS C compiler can optionally mangle name longer 
than 31 characters, so it not necessary to change 
long name

fileobject.c
As the comment indicate this solve a problem into 
test_fileinput, but I don't understand why...

fpectlmodule.c
Enable SIGFPE handler

import.c
Support of VMS filesystem ODS-5

mmapmodule.c
VMS need a fsync before a call to fstat to return  
accurate information

myreadline.c
Use of vms__StdioReadline

posixmodule.c
I have move some initialisation part to a specific VMS 
file, so I have remove it form posixmodule.c

pyexpat.c
Convert VMS filename to a UNIX style filename.

socketmodule.c
This patch is the only one which is not delimited by
#ifdef __VMS
#endif
because IMHO it fix a bug into the original code


socketmodule.h
need to include socket.h and not sys/socket.h

sysmodule.c
Convert VMS filename to a UNIX style filename.


Regards,

Jean-François

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2003-03-24 00:11

Message:
Logged In: YES 
user_id=21627

Can you please explain the expat.h change? This is an
imported source, so I don't want to modify it unless there
is a really good reason.

The fileobject.c modification needs better analysis.
"corrects a test case problem" is not enough reason to make
such a change. Does the test case make assumptions that are
not supported by the relevant standards? Is there a bug in
VMS? etc.



----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-03-23 21:28

Message:
Logged In: YES 
user_id=21627

Can you please combine the patches into a single patch,
which can be applied using

patch -p0

??? You can use "diff -ur" or "cvs diff" to create a
recursive patch.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=708495&group_id=5470