[PD] else/dir: different behaviour between Debian and Ubuntu

Alexandre Torres Porres porres at gmail.com
Wed Dec 16 13:50:22 CET 2020


yeah, that's weird... what version of else you got? beta 36 was just
released but it's still a secret

Em ter., 15 de dez. de 2020 às 06:34, Roman Haefeli <reduzent at gmail.com>
escreveu:

> Hey all
>
> I had a long IRC session yesterday trying to fix a problem with netpd
> on another user's computer. Finally, we were able to narrow down the
> issue to the behaviour of [else/dir] on Debian Buster being different
> from Ubuntu 20.04.
>
> On Ubuntu (and on Windows) feeding [dir] the path './' returns the
> content of the current directory of the patch. On Debian Buster, it
> returns the content of '/' instead. When feeding the path '.', on both
> Debian Buster and Ubuntu 20.04 the content of the current directory is
> listed (as expected).
>
> My specific problem might be worked-around by removing the trailing
> slash from any paths fed to [else/dir]. But I'm curious to understand
> how it is possible that the same compiled binary exhibits different
> results depending on Linux flavor.
>
> Check attached patch that demonstrates the problem on Debian Buster.
>
> Roman
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20201216/8b9704a7/attachment.html>


More information about the Pd-list mailing list