[Vm-dev] patch for allocateBuffer in AsyncFilePlugin

stes@PANDORA.BE stes at telenet.be
Thu Mar 18 14:10:14 UTC 2021


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Hi,

Is it please possible to fix a small issue in Squeak 4.19 (Classical VM).

On my system the compiler is complaining that a function has no return type:

file: platforms/unix/plugins/AsynchFilePlugin/sqUnixAsynchFile.c

"platforms/unix/plugins/AsynchFilePlugin/sqUnixAsynchFile.c", line 145: warning: no explicit type given
 
INLINE static allocateBuffer(struct FileBuf *buf, int size)

The function is used only once in that file, as in :

  if (!allocateBuffer(&fp->buf, count))

Please apply my patch (in attach) to the classical VM ...

Regards,
David Stes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJgU1sLAAoJEAwpOKXMq1Ma4gwH/Rwte3vJraeRSh7kj/EkXBL+
+Ctus32dJQR5echOLrVwzouifIEFZj8lSn64DGQiQaE1ZNczizn6HDaCeGvSB7K2
GNbmg8Fxq1Ghts5WX9QaeeGEotptcHDGGkZf9oaQnr+qrx2CbLLz1MFk9Lg/B+In
sV2qL99vhFnS6kOjbpA926qj7Lb+bdsVg8ap7NO//t8UH6Irm7b4UMoRebJ68QpB
YpuqtvtFaWmNr03Hsh5pcgGzOAoC+MITIL5umaIcs6nla1so0J9GJ/gnxfPKEety
uo2kat03Onvjjn9FrwPi+qmmpq9hCDYMKFUqiV+OsYHWdfwGoXC6lKtSBgMvmGQ=
=Ukc3
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allocateBuffer.patch
Type: text/x-patch
Size: 402 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20210318/95c0fb5f/attachment.bin>


More information about the Vm-dev mailing list