Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
18 crawler(s) on-line.
 114 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 amigakit:  29 mins ago
 Beajar:  41 mins ago
 kriz:  49 mins ago
 Rob:  51 mins ago
 amigang:  1 hr ago
 VooDoo:  1 hr 20 mins ago
 RobertB:  1 hr 23 mins ago
 OlafS25:  1 hr 48 mins ago
 Hypex:  2 hrs 6 mins ago
 DiscreetFX:  5 hrs 30 mins ago

Software News   Software News : clib2 1.196 released
   posted by elwood on 18-Oct-2005 13:18:24 (2436 reads)
Humm, coders are too busy to notice this update ?

Anyway, the clib2 (static) runtime library has been released. I had a hard time finding the release notes but here they are:

...


- Removed the various workarounds associated with , required for building code that references the networking API.
- Implemented lrintf(), lrint(), lroundf(), lround(), nearbyintf(), nearbyint(), remquof(), remquo(), roundf(), round(), tgammaf(), tgamma(), truncf(), trunc().
- accept() now calls the bsdsocket.library accept() function first and then hooks up the socket with the clib2 data structures.
- 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.
- strtoimax(), strtoumax(), strtod(), strtof(), strtol(), strtoll(), strtoul() and strtoull() now count how many digits were converted.

More details are in the release notes file.
    

STORYID: 2640
Related Links
· More about Software News
· News by elwood


Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
Hollywood APK Compiler 4.0 released
Printer Friendly Page  Send this Story to a Friend

PosterThread
elwood 
Re: clib2 1.196 released
Posted on 18-Oct-2005 14: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
Profile     Report this post  
ssolie 
Re: clib2 1.196 released
Posted on 18-Oct-2005 17: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
Profile     Report this post  
DWolfman 
Re: clib2 1.196 released
Posted on 18-Oct-2005 17: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
Profile     Report this post  
elwood 
Re: clib2 1.196 released
Posted on 18-Oct-2005 21: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 09:40 PM.


_________________
Philippe 'Elwood' Ferrucci
Sam460 1.10 Ghz
AmigaOS 4 betatester
Amiga Translator Organisation

 Status: Offline
Profile     Report this post  
nicomen 
Re: clib2 1.196 released
Posted on 19-Oct-2005 3: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 03:36 AM.


_________________
Nicolas Mendoza

 Status: Offline
Profile     Report this post  
olsen 
Re: clib2 1.196 released
Posted on 19-Oct-2005 9: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
Profile     Report this post  
olsen 
Re: clib2 1.196 released
Posted on 19-Oct-2005 9: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
Profile     Report this post  
Mr_Capehill 
Re: clib2 1.196 released
Posted on 19-Oct-2005 9:40:29
#8 ]
Super Member
Joined: 15-Mar-2003
Posts: 1932
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
Profile     Report this post  
Offa 
Re: clib2 1.196 released
Posted on 19-Oct-2005 9: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
Profile     Report this post  
olsen 
Re: clib2 1.196 released
Posted on 19-Oct-2005 12: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
Profile     Report this post  
[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle