On 11 Mar 2014, at 4:09 pm, Mark Andrews <[email protected]> wrote:
>
> I didn't think I would need to say "save the contents of the program to
> conftest.c".
>
> cat > conftest.c << 'EOF'
> #include <stdio.h>
> int
> main ()
> {
> FILE *f = fopen ("conftest.out", "w");
> return ferror (f) || fclose (f) != 0;
>
> ;
> return 0;
> }
> EOF
> gcc -o conftest conftest.c
> ./conftest
Getting further now!
$ cat > conftest.c << 'EOF'
> #include <stdio.h>
> int
> main ()
> {
> FILE *f = fopen ("conftest.out", "w");
> return ferror (f) || fclose (f) != 0;
>
> ;
> return 0;
> }
> EOF
BordoDNS:bind-9.9.5 jlbrown$ gcc -o conftest conftest.c
BordoDNS:bind-9.9.5 jlbrown$ ./conftest
BordoDNS:bind-9.9.5 jlbrown$
James.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
from this list
bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users