Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os: refine tmpdir() trailing slash stripping #1673

Closed
wants to merge 1 commit into from
Closed

os: refine tmpdir() trailing slash stripping #1673

wants to merge 1 commit into from

Commits on May 11, 2015

  1. os: refine tmpdir() trailing slash stripping

    os.tmpdir() began stripping trailing slashes in
    b57cc51. This causes problems if
    the temp directory is simply '/'. It also stripped trailing
    slashes without first determining which slash type is used by
    the current operating system. This commit only strips trailing
    slashes if another character precedes the slash. On Windows, it
    checks for ':', as not to strip slashes from something like 'C:\'.
    cjihrig committed May 11, 2015
    Configuration menu
    Copy the full SHA
    b04a141 View commit details
    Browse the repository at this point in the history