summaryrefslogtreecommitdiff
path: root/print/dviselect/files/patch-ad
blob: a745d91728951f96bf0eb1d9beda849f6b2b4286 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
*** 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));
  }
  
  /*