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:
@@ -282,6 +282,13 @@ toku_os_get_processor_frequency(uint64_t *hzret) {
|
||||
return r;
|
||||
}
|
||||
|
||||
int
|
||||
toku_dup2(int fd, int fd2) {
|
||||
int r;
|
||||
r = dup2(fd, fd2);
|
||||
return r;
|
||||
}
|
||||
|
||||
#if __GNUC__ && __i386__
|
||||
|
||||
// workaround for a gcc 4.1.2 bug on 32 bit platforms.
|
||||
|
||||
Reference in New Issue
Block a user