|
From: Xavier <x.d...@la...> - 2023-02-13 16:58:58
|
Hi, QED overwrite the last char of clip_dir here: https://github.com/freemint/qed/blob/0335c2d700e785e350065c01752defce17529c0c/src/clipbrd.c#L289 It should be a backslash but there is no trailing backslash in default clipboard directory in EmuTOS (https://github.com/emutos/emutos/blob/750d0bf6da7c146629cd106476e9034834cd6635/aes/gemsclib.h#L13) make_normalpath() must add a backslash, but it removes the last char if the folder is not found. https://github.com/freemint/cflib/blob/16a82c2f54f92a388687ee05b1abcb746199aab9/fsnorm.c#L85-L94 Le 13/02/2023 à 16:33, Philippe noble a écrit : > It seems to be even sweeter ;-) > > I did some further testing. > Aranym Mint : no issue at all. > With clipbrd folder : > 322 ok, 033 ok with several starts > Without clipbrd folder, clipbrd is created and 322 ok, 033 ok > > Hatari 2.5-dev emutos 2023 02 07 > Qed creates a clipbr folder, not clipbrd > Without clipbr or clipbrd : > 322 and 033 ok the first run and after, > With clipbr folder : > 322 and 033 send error message > With clipbrd folder : > 322 ok, no clipbr created, second start and more ok > 033 is ok too but creates a clipbr folder and then gives the > error message at the second start > > So there is something strange. > > Philippe > > >> Le 12 févr. 2023 à 22:01, Miro Kropáček <mir...@gm...> a >> écrit : >> >> >> Haha, this is sweet - I've got fooled the same way as you did. I can >> reproduce it after all but it's not a bug, at least not in the way >> you thought it would be. >> >> Qed tries to create a C:\CLIPBR folder. If it's not there, fine. >> However if it is there, you see the error. So when you tested 322, >> there wasn't any and you thought it was the 322 build that made the >> difference. >> >> On Sun, 12 Feb 2023 at 21:49, Miro Kropáček <mir...@gm...> >> wrote: >> >> Hi Philippe, >> >> On Sat, 11 Feb 2023 at 17:30, Philippe Noble >> <phi...@gm...> wrote: >> >> I don’t know if it’s the right mailing list for QED. >> >> It is, as QED is part of the FreeMiNT project. >> >> With the last version of QED (build 033) when you start it on >> emutos aranym, it complains that the « The clipboard could >> not be created ». >> >> Cannot reproduce this with EmuTOS 1.2.1 + Hatari hard disk >> emulation, sorry. >> >> Build 322 runs fine on emutos and Mint. >> >> There is no substantial difference between 322 and 033... >> Thorsten just removed some line endings and fixed a malloc call >> (now allocating one byte more than before). >> >> So please check again and perhaps be more specific about your >> setup so we can try to reproduce it, too. >> >> -- >> http://mikro.atari.org >> >> >> >> -- >> http://mikro.atari.org >> _______________________________________________ >> Freemint-discuss mailing list >> Fre...@li... >> https://lists.sourceforge.net/lists/listinfo/freemint-discuss > > > _______________________________________________ > Freemint-discuss mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freemint-discuss |