Re: [PATCH ld/maint-diff-quiet-w] Windows: redirect fopen("/dev/null") to fopen("nul")
- From
Larry D'Anna <larry@elder-gods.org>
- Date
- Feb 25, 2010, 16:20 UTC
- Message-ID
- <20100225162032.GA3527@cthulhu>
- In-Reply-To
- <4B86399E.3090508@viscovery.net>
* Johannes Sixt (j.sixt@viscovery.net) [100225 03:49]:
Show 5 quoted lines
> From: Johannes Sixt <j6t@kdbg.org>
>
> An instance of fopen("/dev/null",...) was added to the code base. On
> Windows, we have to use "nul" instead. This implements a compatibility
> wrapper of fopen() that checks for this particular condition.Doesn't store_updated_refs do this too?
--larry