[Python-bugs-list] [Bug #132815] getname() already in use by OS
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 18 Feb 2001 12:54:18 -0800
Bug #132815, was updated on 2001-Feb-17 05:47
Here is a current snapshot of the bug.
Project: Python
Category: Unicode
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Submitted by: zessin_5
Assigned to : effbot
Summary: getname() already in use by OS
Details: There is a name-clash on OpenVMS.
modules/unicodedata.c defines a function named 'getname'.
This collides with a function that is defined in OpenVMS's
include file '<unixio.h>'.
Here is an extract from the documentation:
]getname
]
] Returns the file specification associated with a file descriptor.
]
] Format
]
] #include <unixio.h>
]
] char getname (int file_desc , char buffer, . . . );
[...]
] Description
]
] This function places the file specification in the area
] pointed to by buffer and returns that address. The area
] pointed to by buffer should be an array large enough to
] contain a fully qualified file specification (the maximum
] length is 256 characters).
Note: 'getname' is also used in include/ucnhash.h
I guess that 'getname' does also exist on other operating
systems, but might just be included by a different header
file. Can this be changed, please?
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=132815&group_id=5470