delorie.com/archives/browse.cgi | search |
Date: | Tue, 17 Nov 1998 11:00:14 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | djgpp-workers AT delorie DOT com |
Subject: | Re: src/libc/ansi/stdlib/rand.c |
In-Reply-To: | <199811161919.OAA11465@indy.delorie.com> |
Message-ID: | <Pine.SUN.3.91.981117105956.14078E-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
On Mon, 16 Nov 1998, DJ Delorie wrote: > How about if we just print a message like "rand() called before > srand(); assuming srand(1)" if we detect that case, else follow ANSI? I don't like this. A portable program shouldn't trigger any messages unless it does something wrong. And in this case, the message just says what ANSI mandates anyhow.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |