[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-dev
Subject:    Re: Problem with openssl ca 0.9.7.d on Windows 2000
From:       Raf Schietekat <f0586712 () skynet ! be>
Date:       2004-09-27 14:13:06
Message-ID: 41581FF2.3020406 () skynet ! be
[Download RAW message or body]

Richard Levitte - VMS Whacker wrote:

> The fix is already present in current 0.9.7 snapshots.
> 
>[...]

Macros should probably not be used to redefine semantics (allowing macros is 
like giving programmers enough rope to hang themselves, and this mishap is a 
good illustration that some discipline is needed as well). In this case, a new 
function should be defined and explicitly called, because ISO/IEC 9899:1999 (E) 
says that "If a file named by the string pointed to by new exists prior to the 
call to the rename function, the behavior is implementation-defined.", so it's 
not clear from the code what's going on here. That might have saved me from 
wasting some time trying to figure this out, not to mention any future accidents.

Raf Schietekat <Raf_Schietekat@ieee.org>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majordomo@openssl.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic