Search found 7 matches
- Sun Oct 07, 2018 11:05 am
- Forum: General Developer Support
- Topic: Newlib bug report
- Replies: 2
- Views: 5592
Re: Newlib bug report
No, it is correct. The snprintf() function always returns the number of characters it would have written had the buffer been large enough rather than how many characters it actually wrote. This is to allow you to easily check if the result was truncated by simply comparing the return value to the ...
- Fri Oct 05, 2018 6:54 am
- Forum: General Developer Support
- Topic: Newlib bug report
- Replies: 2
- Views: 5592
Newlib bug report
Todays bug report is about newlib's snprintf() function
This example should return 0 but returns 4..
// --
#include <proto/dos.h>
#include <proto/Reactive.h>
#include <stdio.h>
int main( void )
{
TEXT buf[64];
int32 v;
buf[0] = 1;
buf[1] = 1;
buf[2] = 1;
buf[3] = 1;
v = snprintf( buf, 1 ...
This example should return 0 but returns 4..
// --
#include <proto/dos.h>
#include <proto/Reactive.h>
#include <stdio.h>
int main( void )
{
TEXT buf[64];
int32 v;
buf[0] = 1;
buf[1] = 1;
buf[2] = 1;
buf[3] = 1;
v = snprintf( buf, 1 ...
- Sun Sep 09, 2018 2:10 am
- Forum: General Developer Support
- Topic: Exec Bug Report
- Replies: 16
- Views: 23249
Exec Bug Report
Okay .. I'm on a roll .. this very old Exec function crashes.. IExec->Alert();
exec.library 53.94 (03/03-2017) (A1222 version)
exec.library 53.94 (03/03-2017) (A1222 version)
Code: Select all
#include <proto/exec.h>
int main( int argc UNUSED, char **argv UNUSED )
{
IExec->Alert( 0 );
return( 0 );
}
- Sun Sep 09, 2018 2:02 am
- Forum: General Developer Support
- Topic: Newlib bug report
- Replies: 3
- Views: 6730
Newlib bug report
Okay .. I found the energy to code. and it revealed a buggie in Newlib's waitselect()
Basicly if I set some Amiga Signaled to break on like CTRL+C.. I want the break bits in Mask.. but its simple returning Zero
newlib.library 53.36 (17/09-2016) (A1222 version)
#include <proto/dos.h>
#include ...
Basicly if I set some Amiga Signaled to break on like CTRL+C.. I want the break bits in Mask.. but its simple returning Zero
newlib.library 53.36 (17/09-2016) (A1222 version)
#include <proto/dos.h>
#include ...
- Sat Jul 11, 2015 4:27 am
- Forum: General AmigaOS
- Topic: Overlay broken on 9250-based systems with FE?
- Replies: 10
- Views: 14216
Re: Overlay broken on 9250-based systems with FE?
I think you should report it to rwo (Renè Olsen) directly as he is the guy behind all the latest changes of the graphics part in the Final Edition, he is for sure the most competent person to ask of
Thanks for the props.. but I can simple not take all the credits.. Steven and I did most of the ...
Thanks for the props.. but I can simple not take all the credits.. Steven and I did most of the ...
- Sat Dec 17, 2011 10:25 am
- Forum: SDK Support
- Topic: Something odd in requester.h
- Replies: 2
- Views: 7267
Re: Something odd in requester.h
I agree that it looks like a typo, so I changed it and updated the svn.
Thanks for the hint.
René
Thanks for the hint.
René
- Mon Aug 29, 2011 8:34 pm
- Forum: General AmigaOS
- Topic: Update 3 USB Crashes on launch
- Replies: 13
- Views: 21072
Re: Update 3 USB Crashes on launch
You need to edit the sys:kickstart/kiclayout file
here you need to find the line where 'MODULE Kickstart/ehci.usbhcd' is
when you found that you put a ';' at the begining of the line, this will stop the loader from loading the file.
RWO
here you need to find the line where 'MODULE Kickstart/ehci.usbhcd' is
when you found that you put a ';' at the begining of the line, this will stop the loader from loading the file.
RWO