mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Added <sys/time.h> include to <sys/socket.h> due to latest "TimeVal" change
in the OS4 SDK. Otherwise "struct timeval" will not be defined at the time the <net/if.h> of the netincludes will be included by <proto/bsdsocket.h>. - The strftime() hook function had the locale and character parameters switched, which made 'setlocale(LC_ALL,""); strftime(..);' unusable. Fixed. - fchown() and chown() now accept owner and group ID values of -1, which indicate that the respective information should not be changed. - The OS4 library build now includes the crtbegin.o and crtend.o object files in the libc.a library, which solves a problem with the thread-safe shared library support code. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15090 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: time_strftime.c,v 1.18 2006-01-08 12:04:27 obarthel Exp $
|
||||
* $Id: time_strftime.c,v 1.19 2006-04-05 06:43:56 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -59,8 +59,8 @@ struct format_hook_data
|
||||
STATIC VOID
|
||||
format_hook_function(
|
||||
struct Hook * hook,
|
||||
long c,
|
||||
struct Locale * UNUSED unused_locale)
|
||||
struct Locale * UNUSED unused_locale,
|
||||
ULONG c)
|
||||
{
|
||||
struct format_hook_data * data = hook->h_Data;
|
||||
|
||||
@ -97,7 +97,7 @@ store_string_via_hook(const char * string,int len,struct Hook * hook)
|
||||
len = strlen(string);
|
||||
|
||||
while(len-- > 0)
|
||||
CallHookPkt(hook,(APTR)((ULONG)(*string++)),NULL);
|
||||
CallHookPkt(hook,NULL,(APTR)((ULONG)(*string++)));
|
||||
}
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user