delorie.com/archives/browse.cgi | search |
From: | sandmann AT clio DOT rice DOT edu (Charles Sandmann) |
Message-Id: | <10108211727.AA15437@clio.rice.edu> |
Subject: | Re: Fseek on STDIN problem on Win 2K |
To: | eliz AT is DOT elta DOT co DOT il |
Date: | Tue, 21 Aug 2001 12:27:59 -0500 (CDT) |
Cc: | acottrel AT ihug DOT com DOT au, djgpp-workers AT delorie DOT com |
In-Reply-To: | <8011-Tue21Aug2001200758+0300-eliz@is.elta.co.il> from "Eli Zaretskii" at Aug 21, 2001 08:07:59 PM |
X-Mailer: | ELM [version 2.5 PL2] |
Mime-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
It seems a simple fix is to put a relative seek of 0 (which gets the current position) right after the 2 byte read in _get_magic. After this the seek sets seem to work (at least on NT 4)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |