Message57199
Brett Cannon wrote:
> Modules/getpath.c:joinpath() I think does what you want in C.
I don't see how it is going to help us.
I've a final offer before I declare the bug as SEP (someone else's problem):
pseudo code
#ifdef MS_WINDOWS
rv = stat(...)
if (rv == error)
check for *one* trailign / or \ and remove it
rv = stat(...)
if (rv == error)
give up
#endif
It should fix the case when somebody adds a directory with a trailing /
or \ on Windows. More complex cases are still broken but that's really
not my concern. ;)
Christian |
|
| Date |
User |
Action |
Args |
| 2007-11-07 14:08:02 | christian.heimes | set | spambayes_score: 0.000482732 -> 0.000482732 recipients:
+ christian.heimes, gvanrossum, brett.cannon, georg.brandl, facundobatista, guillaumegirard |
| 2007-11-07 14:08:02 | christian.heimes | link | issue1293 messages |
| 2007-11-07 14:08:01 | christian.heimes | create | |
|