gdl icon indicating copy to clipboard operation
gdl copied to clipboard

regression in FILE_DELETE for symlink

Open alaingdl opened this issue 2 years ago • 4 comments

On my U22.04 as detected by "test_file_test.pro" the procedure FILE_DELETE is not working well anymore on symbolic links. It was fine in vanilla version 1.0.1. It was not OK since May 25

alaingdl avatar Dec 22 '22 15:12 alaingdl

This is a consequence of the small change between 221116 & 221119 in "file.cpp"

1269c1269
<         bool  forceAbsPath=true,
---
>         bool  forceAbsPath=false,

Who remember why this flag was change ? Related to which tests ? Thanks !

alaingdl avatar Dec 23 '22 13:12 alaingdl

See #1207 .

GillesDuvert avatar Dec 24 '22 09:12 GillesDuvert

that was a one-liner, so now it must be more complicated...

GillesDuvert avatar Dec 24 '22 11:12 GillesDuvert

Thanks to point to that old problem #1207 ! I forgot totally this old problem. As usual removing tests from LIST gives problems coming back to surface long time after ! And as long as this test was working before, and this test is also working fine in IDL, we have to solve #1447 and #1207 at the same time.

alaingdl avatar Dec 24 '22 12:12 alaingdl