Commit d1be191
committed
fix issue in test with symlinks.
libruby.so.4.0 is a symlink whose target (libruby.so.4.0.0 or similar) doesn't exist in the extracted temp dir — it's a dangling symlink. stat() follows symlinks and fails with ENOENT on dangling ones. lstat() operates on the symlink itself and succeeds, then unlink() removes the symlink cleanly.1 parent 53ebdc3 commit d1be191
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
0 commit comments