Re: checking on buildfarm member thrush
| От | Gaetano Mendola |
|---|---|
| Тема | Re: checking on buildfarm member thrush |
| Дата | |
| Msg-id | 449A5AC8.5050809@bigfoot.com обсуждение исходный текст |
| Ответ на | checking on buildfarm member thrush (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: checking on buildfarm member thrush
|
| Список | pgsql-hackers |
Tom Lane wrote:
> I'm trying to determine why thrush has been failing on PG CVS HEAD for
> the past few days. Could you try running the attached program on that
> machine, and see what it prints? I suspect it will dump core :-(
>
> Note: you might need to use -D_GNU_SOURCE to get it to compile at all.
>
> regards, tom lane
>
>
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> #include <errno.h>
> #include <fcntl.h>
>
> int
> main()
> {
> if (posix_fadvise(fileno(stdin), 0, 0, POSIX_FADV_DONTNEED))
> printf("failed: %s\n", strerror(errno));
> else
> printf("OK\n");
> return 0;
> }
>
$ gcc -D_GNU_SOURCE tom.c -o tom
$ ./tom
failed: Success
Regards
Gaetano Mendola
В списке pgsql-hackers по дате отправления: