close pipes on RETAIL
parent
9a7e727cfc
commit
733f1b1eb1
6
MAKE.bat
6
MAKE.bat
|
@ -201,9 +201,9 @@ if "%1"=="push" (
|
||||||
call make.bat tidy
|
call make.bat tidy
|
||||||
|
|
||||||
git status
|
git status
|
||||||
rem if not "%2"=="dp" (
|
if "%2"=="dp" (
|
||||||
rem call MAKE.bat dpush auto
|
call MAKE.bat dpush auto
|
||||||
rem )
|
)
|
||||||
git add .
|
git add .
|
||||||
git commit
|
git commit
|
||||||
if not "%2"=="local" (
|
if not "%2"=="local" (
|
||||||
|
|
|
@ -357036,7 +357036,14 @@ const struct in6_addr in6addr_any; // = IN6ADDR_ANY_INIT;
|
||||||
//static const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
|
//static const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// @fixme crashes right now
|
ifdef(retail, AUTORUN {
|
||||||
// ifdef(retail, AUTORUN { fclose(stderr); fclose(stdout); } )
|
fclose(stderr);
|
||||||
|
fclose(stdout);
|
||||||
|
|
||||||
|
const char* null_stream = ifdef(win32, "nul:", "/dev/null");
|
||||||
|
|
||||||
|
if (!freopen(null_stream, "a", stdout)) PANIC("cannot recreate standard streams");
|
||||||
|
if (!freopen(null_stream, "a", stderr)) PANIC("cannot recreate standard streams");
|
||||||
|
} )
|
||||||
#line 0
|
#line 0
|
||||||
#endif // V4K_IMPLEMENTATION
|
#endif // V4K_IMPLEMENTATION
|
||||||
|
|
|
@ -126,5 +126,12 @@ const struct in6_addr in6addr_any; // = IN6ADDR_ANY_INIT;
|
||||||
//static const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
|
//static const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// @fixme crashes right now
|
ifdef(retail, AUTORUN {
|
||||||
// ifdef(retail, AUTORUN { fclose(stderr); fclose(stdout); } )
|
fclose(stderr);
|
||||||
|
fclose(stdout);
|
||||||
|
|
||||||
|
const char* null_stream = ifdef(win32, "nul:", "/dev/null");
|
||||||
|
|
||||||
|
if (!freopen(null_stream, "a", stdout)) PANIC("cannot recreate standard streams");
|
||||||
|
if (!freopen(null_stream, "a", stderr)) PANIC("cannot recreate standard streams");
|
||||||
|
} )
|
||||||
|
|
11
engine/v4k.c
11
engine/v4k.c
|
@ -26051,6 +26051,13 @@ const struct in6_addr in6addr_any; // = IN6ADDR_ANY_INIT;
|
||||||
//static const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
|
//static const struct in6_addr in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// @fixme crashes right now
|
ifdef(retail, AUTORUN {
|
||||||
// ifdef(retail, AUTORUN { fclose(stderr); fclose(stdout); } )
|
fclose(stderr);
|
||||||
|
fclose(stdout);
|
||||||
|
|
||||||
|
const char* null_stream = ifdef(win32, "nul:", "/dev/null");
|
||||||
|
|
||||||
|
if (!freopen(null_stream, "a", stdout)) PANIC("cannot recreate standard streams");
|
||||||
|
if (!freopen(null_stream, "a", stderr)) PANIC("cannot recreate standard streams");
|
||||||
|
} )
|
||||||
#line 0
|
#line 0
|
||||||
|
|
Loading…
Reference in New Issue