[Patches] [Patch #103495] case sensitive import for case insensitive FileSystem

noreply@sourceforge.net noreply@sourceforge.net
Thu, 01 Feb 2001 06:47:58 -0800


Patch #103495 has been updated. 

Project: python
Category: core (C code)
Status: Open
Submitted by: sdm7g
Assigned to : gvanrossum
Summary: case sensitive import for case insensitive FileSystem

Follow-Ups:

Date: 2001-Feb-01 06:47
By: jlt63

Comment:
Scratch the comment about the bug -- I've too much C++ on the head to
think in straight C anymore.
-------------------------------------------------------

Date: 2001-Jan-31 18:20
By: jlt63

Comment:
Guido, Do you find the style of this patch more acceptable than mine
(103154)?  If so, would
you consider including a cleaned up version into 2.1a2?  Note that I have
found one bug
(MatchFilename() does not handle a NULL pathname correctly) and the code
should probably
be enabled on something more specific than HAVE_DIRENT_H (e.g., platform
#defs,
UNIX_STYLE_CHECK_IMPORT_CASE, etc).
-------------------------------------------------------

Date: 2001-Jan-29 20:30
By: sdm7g

Comment:
Oops!
The previous patch crashes if the path is empty,
which is the case for the current directory.
Added a line to check for that and use "." 
instead on diropen. 

-- Steve M.
-------------------------------------------------------

Date: 2001-Jan-29 20:27
By: sdm7g

Comment:
Oops!
The previous patch crashes if the path is empty,
which is the case for the current directory.
Added a line to check for that and use "." 
instead on diropen. 

-- Steve M.
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=103495&group_id=5470