* xm-go32.h: Define LSEEK_NOT_LINEAR
* serial.c (find_source_lines): if LSEEK_NOT_LINEAR is defined then work out the lseek positions of newlines by running through the file and `tell'ing. This makes source file listing work on OS's where the relationship between physical position in file and canonical position is indeterminate, eg VMS and DOS.
This commit is contained in:
parent
4b91c519fd
commit
f6492282df
|
@ -1,3 +1,12 @@
|
|||
Fri Aug 7 11:18:23 1992 Steve Chamberlain (sac@thepub.cygnus.com)
|
||||
|
||||
* xm-go32.h: Define LSEEK_NOT_LINEAR
|
||||
* serial.c (find_source_lines): if LSEEK_NOT_LINEAR is defined
|
||||
then work out the lseek positions of newlines by running through
|
||||
the file and `tell'ing. This makes source file listing work on
|
||||
OS's where the relationship between physical position in file and
|
||||
canonical position is indeterminate, eg VMS and DOS.
|
||||
|
||||
Thu Aug 6 10:56:01 1992 Fred Fish (fnf@cygnus.com)
|
||||
|
||||
* stabsread.c: Ensure that all members of all allocated structures
|
||||
|
|
|
@ -22,3 +22,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||
#define SYS_SIGLIST_MISSING 1
|
||||
#define HOST_BYTE_ORDER LITTLE_ENDIAN
|
||||
#include "fopen-bin.h"
|
||||
|
||||
/* Define this lseek(n) != nth byte of file */
|
||||
#define LSEEK_NOT_LINEAR
|
||||
|
||||
|
|
Loading…
Reference in New Issue