2 changed files with 32 additions and 2 deletions
@ -0,0 +1,30 @@
|
||||
*** src/gated/task.h.orig Sun May 14 14:58:18 2000
|
||||
--- src/gated/task.h Sun May 14 14:59:44 2000
|
||||
***************
|
||||
*** 321,327 ****
|
||||
extern size_t task_recv_buffer_len;
|
||||
|
||||
|
||||
! #if defined(SUNOS5_0) || !defined(HAVE_CMSG_SPACE)
|
||||
#ifndef CMSG_ALIGN
|
||||
#define CMSG_ALIGN(n) (((n) + 3) & ~3)
|
||||
#define CMSG_SPACE(l) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(l))
|
||||
--- 321,327 ----
|
||||
extern size_t task_recv_buffer_len;
|
||||
|
||||
|
||||
! #if (defined(SUNOS5_0) || !defined(HAVE_CMSG_SPACE)) && !defined(__FreeBSD__)
|
||||
#ifndef CMSG_ALIGN
|
||||
#define CMSG_ALIGN(n) (((n) + 3) & ~3)
|
||||
#define CMSG_SPACE(l) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(l))
|
||||
--- src/gated/str.c.orig Sat Nov 24 14:43:52 2001
|
||||
+++ src/gated/str.c Sat Nov 24 14:43:52 2001
|
||||
@@ -191,7 +191,7 @@
|
||||
|
||||
#define ARG() \
|
||||
_ulong = flags&LONGINT ? va_arg(ap, long) : \
|
||||
- flags&SHORTINT ? va_arg(ap, short) : va_arg(ap, int);
|
||||
+ flags&SHORTINT ? va_arg(ap, int) : va_arg(ap, int);
|
||||
|
||||
#define todigit(c) ((c) - '0')
|
||||
#define tochar(n) ((n) + '0')
|
Loading…
Reference in new issue