> Alan Eldridge <[EMAIL PROTECTED]> writes: > > [...] > > DESCRIPTION > > These interfaces are obsoleted by random(3). > > I wrote the random-wait patch, and it used random(3) if that was > > available on the system. > Yes, but if I remember correctly, your patch disabled the feature > completely if random was missing. rand() is always available, so I > switched to that. > > We should not be using deprecated interfaces unless random() is not > > available.
> rand() may have its problems with reentrance and use in multithreaded > applications, but those are not relevant for Wget. rand() has made it > to ISO C, it's universally available, and it's certainly not going > anywhere. rand() also has problems with randomness, which may or may not be relevant for Wget. John