Menu

#1595 sh.exe dependence on etc directory even if empty

MSYS
closed
nobody
None
duplicate
Duplicate
2013-02-01
2011-11-15
ozhiker
No

I have found that if sh.exe is used without the rest of msys being available, it has a spurious dependence on the etc directory. This result of this is that when the ../etc directory exists, the sh.exe program runs correctly, even if the ../etc directory is empty. Without the ../etc directory, sh.exe fails to run.

The attached zip file shows this:
* Unzip file
* run test2\bin\sh.exe
* delete test2\etc directory
* run test2\bin\sh.exe <--- This will fail.

Test setup: Files are from latest stable MinGW installation. Running on Windows 7 32bit

Discussion

  • ozhiker

    ozhiker - 2011-11-15

    I cannot upload zip file due to 256k limit.

    To create situation, create directories and copy files from msys/1.0/bin/ as follows:
    test2/
    test2/etc/
    test2/bin/
    test2/bin/msys-1.0.dll
    test2/bin/msys-regex-1.dll
    test2/bin/msys-termcap-0.dll
    test2/bin/sh.exe

     
  • ozhiker

    ozhiker - 2011-11-15

    I have uploaded the zip file at http://ozhiker.com/mingw/test2.zip

     
  • Earnie Boyd

    Earnie Boyd - 2011-11-15
    • status: open --> closed-duplicate
     
  • Earnie Boyd

    Earnie Boyd - 2011-11-15

    This is already resolved in CVS.

     
  • Earnie Boyd

    Earnie Boyd - 2013-02-01
    • labels: MSYS -->
    • status: closed-duplicate --> closed
    • resolution: --> duplicate
    • category: --> Duplicate
    • milestone: --> MSYS
     
MongoDB Logo MongoDB