On Dec 25, 2007 1:33 PM, K <[EMAIL PROTECTED]> wrote: > > if (fclose (file)) { > fprintf (stderr, "fatal: unable to close temp file: %s\n", > strerror (errno)); > exit (1); > > I don't understand why the above piece of code is failing...
What command line is used to compile the code? I would guess that you don't have large file support. A variant of the following would probably be good: cc -c $CFLAGS `getconf LFS_CFLAGS` myprog.c cc -o myprog $LDFLAGS `getconf LFS_LDFLAGS` -- Mike Gerdts http://mgerdts.blogspot.com/ _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss