OSLib bug fixes (various)
Tony van der Hoff
OSLib at mk-net.demon.co.uk
Fri Jan 12 19:02:58 GMT 2001
On Fri, 12 Jan 2001, at 16:52:26, Stewart Brodie
<stewart.brodie at pace.co.uk> wrote on the subject "OSLib bug fixes
(various)":
>> What I mean is printf( "%s", NULL ) behaves the same way as printf( "%s",
>> "" )
>
>Not under RISC OS it doesn't - you get oflaoflaofla in the former case. Byte
>0 of RAM is not a zero byte and the C library does not trap accesses to it.
>
OK, so how do you explain this working as I describe:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: printf,ddc.ZIP
Type: application/zip
Size: 2943 bytes
Desc: printf,ddc
URL: <http://lists.compton.nu/pipermail/oslib-user/attachments/20010112/8907518c/attachment.zip>
-------------- next part --------------
--
Tony van der Hoff | mailto:OSLib at mk-net.demon.co.uk
Buckinghamshire, England | http://www.mk-net.demon.co.uk/oslib/
----------------------------------------------------------------
More information about the oslib-user
mailing list