#1572 TEMP env var is corrupted when running external app

MSYS
pending
None
Bug
rejected
Unknown
False
2013-02-08
2011-08-14
No

On my machine, TEMP environment variable is defined as 'D:\Temp'.

When I run msys, 'echo $TEMP' gives '/tmp', and 'msysmnt' shows that D:\Temp is mounted on /tmp. That's fine.

When I run an external application from msys, the TEMP variable is modified to 'D:/Temp'.

To reproduce: Run msys, from it, run cmd /c "echo %TEMP%"

Discussion

<< < 1 .. 3 4 5 (Page 5 of 5)
  • Earnie Boyd

    Earnie Boyd - 2012-06-08

    IIRC, most (or all) of that code segment is from the original Cygwin. I don't know if anything will be affected other than perhaps some throughput. PATH was modified to \ only because nothing works if you don't.

     
  • Earnie Boyd

    Earnie Boyd - 2012-10-24
    • milestone: 456516 --> Aged_issue
    • status: open --> open-rejected
     
  • Earnie Boyd

    Earnie Boyd - 2012-10-24

    The patch should only modify the TEMP, TMP and TMPDIR environment variables if they exist just before the spawned native process similar to the PATH variable. It should not modify any item so the resolution is currently rejected. Marking Pending awaiting a proper resolution.

     
  • Earnie Boyd

    Earnie Boyd - 2012-10-24
    • status: open-rejected --> pending-rejected
     
  • Earnie Boyd

    Earnie Boyd - 2013-01-18
    • status: pending-rejected --> pending
    • category: --> Aged_issue
    • milestone: Aged_issue --> MSYS
     
  • Earnie Boyd

    Earnie Boyd - 2013-02-08
    • labels: MSYS -->
    • type: --> Bug
    • resolution: --> rejected
    • category: Aged_issue --> Unknown
    • patch_attached: --> False
     
<< < 1 .. 3 4 5 (Page 5 of 5)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks