[PD] Re : pix_image and pix_film : Unable to find files after two hours

IOhannes m zmölnig zmoelnig at iem.at
Tue Jun 21 22:42:40 CEST 2011


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

On 06/21/2011 07:11 PM, Matteo Sisti Sette wrote:
> Oh my god that's bad news... How many files is the "limit"?

dunno, probably depends on your system

> 
> Do text files opened with [textfiles] also count?
> 

no.
the problem is, that pd and an external like Gem might use a different
libc library. if the file is opened from within pd.dll, it might be
impossible to close from Gem.dll, leaving a dangling file reference.

since [textfile] lives withing pd.dll, it will use the same libc
implementation to open and close the file-handle, and thus everything
works as expected.
however, when using any external, the problem might occur.

note, that most externals bundled with PdX probably won't exhibit the
problem, as they are all compiled and linked against the same libc.
Gem is different, as PdX simply includes a pre-compiled binary (compiled
with M$VC)

with Pd-0.43, there is finally a sys_close() function, that closes a
filehandle opened within pd.dll within the same context.



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

iEYEARECAAYFAk4BAjkACgkQkX2Xpv6ydvQWgQCeImJszIVcb4iD2sYZHg/UvK2p
h4oAnR8x3avi1MqtG3SbqqUJVejm2Dfh
=tabG
-----END PGP SIGNATURE-----



More information about the Pd-list mailing list