[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Cvs-cvs] Changes to ccvs/src/main.c
From: |
Mark D. Baushke |
Subject: |
Re: [Cvs-cvs] Changes to ccvs/src/main.c |
Date: |
Thu, 29 Sep 2005 14:23:55 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Conrad T. Pino <Conrad@pino.com> writes:
> Hi Mark,
>
> Microsoft Windows and Visual C++ 6.0 don't have the "O_NOCTTY" constant
> and the "/dev/urandom" device is non-existant on Windows.
The O_NOCTTY should be conditional. I'll fix that one.
> The "windows-NT/config.h" file contains:
>
> #define WOE32 1
>
> Should some of this new logic be inside
>
> #if ! WOE32
> ...
> #endif
>
> conditional compile block?
If/when the open fails, the code falls back on other behavior, so it
need not be in a conditional compile block. Who knows, someone may
provide support for a /dev/urandom to windows some day.
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFDPFtrCg7APGsDnFERAj/RAJ9R3wJ/faiWHfgbyTD3o+7VHzedhwCgiye9
iuHYHrircgx3Eg5S9LaBU9M=
=XNPI
-----END PGP SIGNATURE-----