mirror of
https://github.com/MariaDB/server.git
synced 2025-12-01 17:39:21 +03:00
closes[t:2309] [t:2308] Deprecate dup2, _dup2 (wrap with toku_dup2), and replace /dev/null with DEV_NULL_FILE
Fixes some recovery tests in windows git-svn-id: file:///svn/toku/tokudb@17020 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
@@ -222,7 +222,7 @@ static void scanscan_lwc (void) {
|
||||
#endif
|
||||
|
||||
static void scanscan_range (void) {
|
||||
int fnull = open("/dev/null", O_WRONLY); assert(fnull >= 0); // use with strace
|
||||
int fnull = open(DEV_NULL_FILE, O_WRONLY); assert(fnull >= 0); // use with strace
|
||||
int r;
|
||||
double tstart = gettime();
|
||||
DBC *dbc;
|
||||
|
||||
Reference in New Issue
Block a user