From: dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de Subject: RE: Problem with fsetpos 22 Nov 1997 02:40:59 -0800 Message-ID: <009BDA6E.A5964C60.28649.cygnus.gnu-win32@ifk20.mach.uni-karlsruhe.de> To: fseibel AT cfa DOT harvard DOT edu Cc: gnu-win32 AT cygnus DOT com, dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de Hi Fred, you wrote: : I have discovered that fsetpos with values of offset greater than ~ 2000L : misses the corrrect value. The : error is 16 at 2000 and 179 at 10000. I am running WindowsNT 4.0 : Workstation, with Service Patch 3. : I am running b18. I bet you are using a text (not binary) mount, and you are missing CRs. I guess you want calculate position using line size, but IIRC it is only portable to use fsetpos on values previously obtained from fgetpos (directly, on the same platform, not stored in an index file and copied). Same applies to seek/tell. Bye, Heribert (dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de) - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".