1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/print/dviselect/files/patch-ad
Jordan K. Hubbard b7d4486e8c Jean-Marc Zucconi's dviselect port.
Submitted by:	jmz
1994-10-12 02:59:31 +00:00

37 lines
529 B
Plaintext

*** lib/seek.c~ Mon Nov 26 23:53:23 1990
--- lib/seek.c Thu Oct 6 14:28:14 1994
***************
*** 25,31 ****
#include <sys/file.h>
#include <sys/stat.h>
! long lseek();
char *getenv();
int
--- 25,31 ----
#include <sys/file.h>
#include <sys/stat.h>
! off_t lseek();
char *getenv();
int
***************
*** 33,39 ****
int fd;
{
! return (lseek(fd, 0L, 1) >= 0 && !isatty(fd));
}
/*
--- 33,39 ----
int fd;
{
! return (lseek(fd, (off_t) 0, 1) >= 0 && !isatty(fd));
}
/*