1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- libunix.a now also holds stdlib_main.o, which should fix the issue with

the wildcard pattern expansion functions not getting included.

- Replacing "int" with "socklen_t" in the header files caused compilation
  errors with the source code which wasn't using the new typedef yet. Fixed.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14985 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-06-20 07:43:59 +00:00
parent bf0a6e0c43
commit ea09fc96db
11 changed files with 22 additions and 20 deletions

View File

@ -1,5 +1,5 @@
#
# $Id: GNUmakefile.68k,v 1.61 2005-06-18 07:23:16 obarthel Exp $
# $Id: GNUmakefile.68k,v 1.62 2005-06-20 07:43:59 obarthel Exp $
#
# :ts=8
#
@ -483,6 +483,7 @@ UNIX_LIB = \
stdio_record_locking.o \
stdio_remove.o \
stdio_rename.o \
stdlib_main.o \
stdlib_mkdtemp.o \
stdlib_mkstemp.o \
stdlib_mktemp.o \

View File

@ -1,5 +1,5 @@
#
# $Id: GNUmakefile.os4,v 1.67 2005-06-18 07:23:16 obarthel Exp $
# $Id: GNUmakefile.os4,v 1.68 2005-06-20 07:43:59 obarthel Exp $
#
# :ts=8
#
@ -495,6 +495,7 @@ UNIX_LIB = \
stdio_record_locking.o \
stdio_remove.o \
stdio_rename.o \
stdlib_main.o \
stdlib_mkdtemp.o \
stdlib_mkstemp.o \
stdlib_mktemp.o \

View File

@ -1,5 +1,5 @@
/*
* $Id: socket_accept.c,v 1.11 2005-04-24 08:46:37 obarthel Exp $
* $Id: socket_accept.c,v 1.12 2005-06-20 07:43:59 obarthel Exp $
*
* :ts=4
*
@ -48,7 +48,7 @@
/****************************************************************************/
int
accept(int sockfd,struct sockaddr *cliaddr,int *addrlen)
accept(int sockfd,struct sockaddr *cliaddr,socklen_t *addrlen)
{
struct SignalSemaphore * lock = NULL;
struct fd * fd = NULL;

View File

@ -1,5 +1,5 @@
/*
* $Id: socket_connect.c,v 1.5 2005-04-24 08:46:37 obarthel Exp $
* $Id: socket_connect.c,v 1.6 2005-06-20 07:43:59 obarthel Exp $
*
* :ts=4
*
@ -48,7 +48,7 @@
/****************************************************************************/
int
connect(int sockfd,struct sockaddr *name,int namelen)
connect(int sockfd,struct sockaddr *name,socklen_t namelen)
{
struct fd * fd;
int result = ERROR;

View File

@ -1,5 +1,5 @@
/*
* $Id: socket_gethostbyaddr.c,v 1.3 2005-02-03 16:56:15 obarthel Exp $
* $Id: socket_gethostbyaddr.c,v 1.4 2005-06-20 07:43:59 obarthel Exp $
*
* :ts=4
*
@ -48,7 +48,7 @@
/****************************************************************************/
struct hostent *
gethostbyaddr(const char *addr, int len, int type)
gethostbyaddr(const char *addr, socklen_t len, int type)
{
struct hostent *result = NULL;

View File

@ -1,5 +1,5 @@
/*
* $Id: socket_getpeername.c,v 1.5 2005-04-24 08:46:37 obarthel Exp $
* $Id: socket_getpeername.c,v 1.6 2005-06-20 07:43:59 obarthel Exp $
*
* :ts=4
*
@ -48,7 +48,7 @@
/****************************************************************************/
int
getpeername(int sockfd,struct sockaddr *name,int *namelen)
getpeername(int sockfd,struct sockaddr *name,socklen_t *namelen)
{
struct fd * fd;
int result = ERROR;

View File

@ -1,5 +1,5 @@
/*
* $Id: socket_getsockname.c,v 1.5 2005-04-24 08:46:37 obarthel Exp $
* $Id: socket_getsockname.c,v 1.6 2005-06-20 07:43:59 obarthel Exp $
*
* :ts=4
*
@ -48,7 +48,7 @@
/****************************************************************************/
int
getsockname(int sockfd,struct sockaddr *name,int *namelen)
getsockname(int sockfd,struct sockaddr *name,socklen_t *namelen)
{
struct fd * fd;
int result = ERROR;

View File

@ -1,5 +1,5 @@
/*
* $Id: socket_getsockopt.c,v 1.5 2005-04-24 08:46:37 obarthel Exp $
* $Id: socket_getsockopt.c,v 1.6 2005-06-20 07:43:59 obarthel Exp $
*
* :ts=4
*
@ -48,7 +48,7 @@
/****************************************************************************/
int
getsockopt(int sockfd,int level,int optname,void *optval,int *optlen)
getsockopt(int sockfd,int level,int optname,void *optval,socklen_t *optlen)
{
struct fd * fd;
int result = ERROR;

View File

@ -1,5 +1,5 @@
/*
* $Id: socket_recvfrom.c,v 1.5 2005-04-24 08:46:37 obarthel Exp $
* $Id: socket_recvfrom.c,v 1.6 2005-06-20 07:43:59 obarthel Exp $
*
* :ts=4
*
@ -48,7 +48,7 @@
/****************************************************************************/
int
recvfrom(int sockfd,void *buff,int len,int flags,struct sockaddr *from,int *fromlen)
recvfrom(int sockfd,void *buff,int len,int flags,struct sockaddr *from,socklen_t *fromlen)
{
struct fd * fd;
int result = ERROR;

View File

@ -1,5 +1,5 @@
/*
* $Id: socket_sendto.c,v 1.7 2005-04-24 08:46:37 obarthel Exp $
* $Id: socket_sendto.c,v 1.8 2005-06-20 07:43:59 obarthel Exp $
*
* :ts=4
*
@ -48,7 +48,7 @@
/****************************************************************************/
int
sendto(int sockfd,const void *buff,int len,int flags,struct sockaddr *to,int tolen)
sendto(int sockfd,const void *buff,int len,int flags,struct sockaddr *to,socklen_t tolen)
{
struct fd * fd;
int result = ERROR;

View File

@ -1,5 +1,5 @@
/*
* $Id: socket_setsockopt.c,v 1.7 2005-04-24 08:46:37 obarthel Exp $
* $Id: socket_setsockopt.c,v 1.8 2005-06-20 07:43:59 obarthel Exp $
*
* :ts=4
*
@ -48,7 +48,7 @@
/****************************************************************************/
int
setsockopt(int sockfd,int level,int optname,const void *optval,int optlen)
setsockopt(int sockfd,int level,int optname,const void *optval,socklen_t optlen)
{
struct fd * fd;
int result = ERROR;