mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
b7d4486e8c
Submitted by: jmz
37 lines
529 B
Plaintext
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));
|
|
}
|
|
|
|
/*
|