Custom Query (245 matches)
Results (37 - 39 of 245)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#284 | worksforme | Inconsistent realpath() and stat() behavior | ||
Description |
The behavior of In particular, realpath() behaves as if such components were symlinks. However stat() doesn't recognize them as symlinks and will not report the S_IFLINK mode bit for them.
For example, calling
This is not only a theoretical question. There is at least one program that is broken because of that: Python (at least the version hosted here and distributed in our RPM that supports symlinks and therefore makes a difference between
Its
Such a behavior of
I discovered this problem when I was trying to fix the Python's virtualenv script (used to create directory-local python environments on the fly). Virtualenv does some path rebasing which fails on OS/2 for Python installed from RPM because it can't detect that |
|||
#283 | fixed | stat() fails on /@unixroot | ||
Description |
If you do struct stat st; int rc = stat("/@unixroot", &st);
you will get This is a bogus behavior since for all other directory paths the result will be the same, regardless of the trailing slash. |
|||
#282 | fixed | Add DosDevIOCtl() to os2safe.h | ||
Description |
Hi/2. DosDevIOCtl() is not high-memory safe. So it should be added to os2safe.h |