[Patches] [ python-Patches-493739 ] 2 Bugfixes for 2.2c1 (RISC OS specific)

noreply@sourceforge.net noreply@sourceforge.net
Sat, 15 Dec 2001 12:54:56 -0800


Patches item #493739, was opened at 2001-12-15 12:54
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=493739&group_id=5470

Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Dietmar Schwertberger (dschwertberger)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2 Bugfixes for 2.2c1 (RISC OS specific)

Initial Comment:
2 fixes:

RISCOS/Modules/getpath_riscos.c:
Include trailing '\0' when using strncpy [copy 
strlen(...)+1 characters].


Lib/plat-riscos/riscospath.py:
Use riscosmodule.expand for os.path.abspath.
[fixes problems with site.py where 
abspath("<Python$Dir>") returned
join(os.getcwd(), "<Python$Dir>") as e.g.
"SCSI::SCSI4.$.<Python$Dir>" because "<Python$Dir>" 
wasn't recognised as an absolute path.]


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

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