[PD-dev] Win32 - unicode support for files, with public API for externals

IOhannes m zmoelnig zmoelnig at iem.at
Mon Dec 17 12:05:22 CET 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-12-17 10:55, IOhannes m zmoelnig wrote:
> this makes packaging externals for e.g. Debian a nightmare, as it 
> basically should trigger a .so-name change, but since we are
> linking against the application instead of an ordinary library, all
> the tools that would detect such an incompatibility will fail.

this is not only theoretical, but already happened: the Gem" binary as
currently packaged in Debian cannot be loaded anymore with the
git/master version of puredata.

> 
> 
> so please revert the "#define sys_close close" stanzas.
> 
> 
> instead i would ask you to provide sys_open() (and friends) 
> implementations in s_path, even for platforms where they are mere 
> wrappers around the system functions.

i created a patch on sourceforge that implements sys_f?(open,close) on
all platforms and thus re-establishes binary compatibility.

the new functions are simply wrappers around the system open/close
functions.
the open wrappers also use sys_bashfilename (like the w32 version),
which should be quite a noop on non-w32 platforms for now.

see:
https://sourceforge.net/tracker/?group_id=55736&atid=478072


fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlDO/G8ACgkQkX2Xpv6ydvQXIgCdFle8ob8Lxjr5kDWIP70vDAnk
ydAAoN2GQfXZT/gPKxIIJIxeakY+k/Yb
=icDB
-----END PGP SIGNATURE-----



More information about the Pd-dev mailing list