Patches item #1477350, was opened at 2006-04-26 21:19 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1477350&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core (C code) Group: None Status: Open Resolution: None Priority: 5 Submitted By: Roger Upole (rupole) Assigned to: Nobody/Anonymous (nobody) Summary: Allow os.listdir to accept file names longer than MAX_PATH Initial Comment: On windows, os.listdir currently truncates paths longer than MAX_PATH due to using a fixed-size buffer. Patch allocates a buffer of needed size. It also replaces the forward slash appended to the path with a backslash since forward slashes don't work when using a raw path. There was also a potential crash if FindClose failed. Diff'ed against 2.4.3. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1477350&group_id=5470 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
