delorie.com/archives/browse.cgi | search |
From: | <ams AT ludd DOT luth DOT se> |
Message-Id: | <200301011926.h01JQfd21513@speedy.ludd.luth.se> |
Subject: | Re: stubedit not using SEEK_SET |
In-Reply-To: | <200301011718.h01HIER06581@envy.delorie.com> "from DJ Delorie at |
Jan 1, 2003 12:18:14 pm" | |
To: | djgpp-workers AT delorie DOT com |
Date: | Wed, 1 Jan 2003 20:26:41 +0100 (CET) |
X-Mailer: | ELM [version 2.4ME+ PL78 (25)] |
MIME-Version: | 1.0 |
X-MailScanner: | Found to be clean |
X-MailScanner-SpamScore: | s |
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 |
According to DJ Delorie: > > > A simple omission, I guess. Please replace 0 with SEEK_SET. > > You'll probably want to add: > > #ifndef SEEK_SET > #define SEEK_SET 0 > #endif > > just to be the most portable. Done. I see stubify.c has the same problem. But it does use SEEK_CUR and SEEK_END. Does that mean that the most portable stuff above is irrelevant for stubify.c? (I think so.) Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |