From: Message-Id: <200301011505.h01F5W616144@speedy.ludd.luth.se> Subject: stubedit not using SEEK_SET To: DJGPP-WORKERS Date: Wed, 1 Jan 2003 16:05:32 +0100 (CET) X-Mailer: ELM [version 2.4ME+ PL78 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-MailScanner: Found to be clean X-MailScanner-SpamScore: s Reply-To: djgpp-workers AT delorie DOT com Hello. In stub/stubedit.c there's this code: if (fseek(f, 8L, 0) != 0 || fread(&buf, 1, 2, f) != 2) { printf("Error: %s could not read\n", filename); exit(1); } Why isn't it using SEEK_SET instead of 0? Right, MartinS