Poster | Thread |
elwood
|  |
Re: clib2 1.196 released Posted on 18-Oct-2005 13:46:42
| | [ #1 ] |
|
|
 |
Elite Member  |
Joined: 17-Sep-2003 Posts: 3428
From: Lyon, France | | |
|
| And of course the main page of the project is here. _________________ Philippe 'Elwood' Ferrucci Sam460 1.10 Ghz AmigaOS 4 betatester Amiga Translator Organisation
|
|
Status: Offline |
|
|
ssolie
|  |
Re: clib2 1.196 released Posted on 18-Oct-2005 16:24:35
| | [ #2 ] |
|
|
 |
Elite Member  |
Joined: 10-Mar-2003 Posts: 2755
From: Alberta, Canada | | |
|
| Quote:
Humm, coders are too busy to notice this update ? |
I think most of the coders these days are hanging out at UtilityBase where the news was posted some time ago. _________________ ExecSG Team Lead
|
|
Status: Offline |
|
|
DWolfman
|  |
Re: clib2 1.196 released Posted on 18-Oct-2005 16:49:38
| | [ #3 ] |
|
|
 |
Super Member  |
Joined: 18-Jun-2003 Posts: 1442
From: Leavenworth, KS USA | | |
|
| Quote:
- When the main() function returns directly or indirectly by way of calling exit(), the IoErr() value set at this time will now be preserved until the program really returns control to the shell. |
Hmm, I wonder if this might explain something I've seen before. 
I've had trouble using return error codes in AREXX scripts, specifically where I go execute a command that is OS4 native (not sure about 68K, will have to try it), yet the return value always seems to be 0 even when things go horribly wrong. Could this be why those programs do that?  _________________ This posting, in it's entirety, is the opinion and/or statement of the author and does not reflect the views and/or position of this site.
|
|
Status: Offline |
|
|
elwood
|  |
Re: clib2 1.196 released Posted on 18-Oct-2005 20:40:20
| | [ #4 ] |
|
|
 |
Elite Member  |
Joined: 17-Sep-2003 Posts: 3428
From: Lyon, France | | |
|
| @ssolie
I'm ok with that but then we should decide not to submit such news here then. and UtilityBase should be added in the menu here. Last edited by elwood on 18-Oct-2005 at 08:40 PM.
_________________ Philippe 'Elwood' Ferrucci Sam460 1.10 Ghz AmigaOS 4 betatester Amiga Translator Organisation
|
|
Status: Offline |
|
|
nicomen
|  |
Re: clib2 1.196 released Posted on 19-Oct-2005 2:09:33
| | [ #5 ] |
|
|
 |
Cult Member  |
Joined: 5-Nov-2003 Posts: 539
From: Trondheim, Norway | | |
|
| I've asked before if it could be a partner site, but I don't think it was good enough or something by then. Something about not getting enough hits back. Anyway there is http://amigadev.amigaworld.net for development stuff (in addition to the AW developer forums).
Edit: Actually DaveyD said he was going to think about it about a year ago. I haven't nagge him more about it since. They'll probably add it if they think it's a good idea. Last edited by nicomen on 19-Oct-2005 at 02:36 AM.
_________________ Nicolas Mendoza
|
|
Status: Offline |
|
|
olsen
|  |
Re: clib2 1.196 released Posted on 19-Oct-2005 8:18:06
| | [ #6 ] |
|
|
 |
Cult Member  |
Joined: 15-Aug-2004 Posts: 774
From: Germany | | |
|
| Quote:
Anyway, the clib2 (static) runtime library has been released. I had a hard time finding the release notes but here they are: |
Actually, the relevant release notes should be easy to find. Smack in the middle of the project home page there's a section titled "Latest File Releases". Right below it you'll find a short table which lists among other things "Notes / Monitor"; clicking on the book symbol below the word "Notes" will show you the release notes and changes for the latest release. |
|
Status: Offline |
|
|
olsen
|  |
Re: clib2 1.196 released Posted on 19-Oct-2005 8:20:49
| | [ #7 ] |
|
|
 |
Cult Member  |
Joined: 15-Aug-2004 Posts: 774
From: Germany | | |
|
| Quote:
I've had trouble using return error codes in AREXX scripts, specifically where I go execute a command that is OS4 native (not sure about 68K, will have to try it), yet the return value always seems to be 0 even when things go horribly wrong. Could this be why those programs do that? |
It is possible. The cleanup routines will call dos.library functions to close files and to release locks. As part of the task the IoErr() result set at that time may get overwritten. This problem originally came to the surface because the IoErr() result did not get overwritten with a 0 but an ERROR_ACTION_NOT_KNOWN. |
|
Status: Offline |
|
|
Mr_Capehill
|  |
Re: clib2 1.196 released Posted on 19-Oct-2005 8:40:29
| | [ #8 ] |
|
|
 |
Super Member  |
Joined: 15-Mar-2003 Posts: 1933
From: Yharnam | | |
|
| @elwood? Why, what harm is done when the news is posted on many sites?
I agree, UtilityBase link would be very nice as it's an important site. |
|
Status: Offline |
|
|
Offa
|  |
Re: clib2 1.196 released Posted on 19-Oct-2005 8:53:26
| | [ #9 ] |
|
|
 |
Regular Member  |
Joined: 20-Feb-2004 Posts: 139
From: Sweden | | |
|
| @DWolfman
Which return value are you referring to? The return value specified for exit() and obtained in the shell with $RC or the secondary error given by IoErr() and $RESULT2? _________________ AmigaOS 4 is made of people! It's PEOPLE!
|
|
Status: Offline |
|
|
olsen
|  |
Re: clib2 1.196 released Posted on 19-Oct-2005 11:09:20
| | [ #10 ] |
|
|
 |
Cult Member  |
Joined: 15-Aug-2004 Posts: 774
From: Germany | | |
|
| Quote:
Which return value are you referring to? The return value specified for exit() and obtained in the shell with $RC or the secondary error given by IoErr() and $RESULT2? |
It is the secondary result code accessed through IoErr() and set via SetIoErr(), which also comes out as $RESULT2 in the shell. |
|
Status: Offline |
|
|