Re: [HACKERS] Bug in postgresql-6.3.2 (AIX specific)

Поиск
Список
Период
Сортировка
От Andreas Zeugswetter
Тема Re: [HACKERS] Bug in postgresql-6.3.2 (AIX specific)
Дата
Msg-id 01BD858D.9CF9A010@zeugswettera.user.lan.at
обсуждение исходный текст
Ответы Re: [HACKERS] Bug in postgresql-6.3.2 (AIX specific)  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
>     int accept(int s, struct sockaddr *addr, int *addrlen);
>
> So AIX has the last parameter defined as size_t, huh?

Yes, and this is consistently done with all size parameters. (therefore also with fread, fwrite ...)
But only if _NONSTD_TYPES is not defined. I don't know where that would come from.
(it's not in any /usr/include header)

typedef unsigned long   size_t;

#ifdef  _NONSTD_TYPES
extern int      fread();
#else
extern size_t   fread(void *, size_t, size_t, FILE *);
#endif

Andreas


В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] Current sources?
Следующее
От: Andreas Zeugswetter
Дата:
Сообщение: Re: [HACKERS] error messages not only English