git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH ld/maint-diff-quiet-w] Windows: redirect fopen("/dev/null") to fopen("nul")

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 25, 2010, 20:16 UTC
Message-ID
<7vfx4p2hrj.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4B86399E.3090508@viscovery.net>

builtin-merge-file.c and daemon.c use freopen() on /dev/null; would it also need to be wrapped?

Previous: Johannes Sixt
Message 5 of 5 in “Windows: redirect fopen("/dev/null") to fopen("nul")”
  1. Windows: redirect fopen("/dev/null") to fopen("nul")Johannes Sixt, Feb 25, 2010
  2. Larry D'AnnaFeb 25, 2010
  3. Junio C HamanoFeb 25, 2010
  4. Windows: redirect f[re]open("/dev/null") to f[re]open("nul")Johannes Sixt, Feb 25, 2010
  5. Junio C HamanoFeb 25, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.