Commit 500a6a39 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

rename to toku_portability.h addresses #1269

git-svn-id: file:///svn/toku/tokudb.1032b@7952 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6071fe59
...@@ -108,7 +108,7 @@ LINK=-l ...@@ -108,7 +108,7 @@ LINK=-l
DEPEND_COMPILE += \ DEPEND_COMPILE += \
$(TOKUROOT)include/db.h \ $(TOKUROOT)include/db.h \
$(TOKUROOT)include/toku_os.h \ $(TOKUROOT)include/toku_os.h \
$(TOKUROOT)include/portability.h \ $(TOKUROOT)include/toku_portability.h \
$(TOKUROOT)include/rdtsc.h \ $(TOKUROOT)include/rdtsc.h \
# keep this line so I can have a \ on the previous line # keep this line so I can have a \ on the previous line
CCQUIET= CCQUIET=
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <sys/time.h> #include <sys/time.h>
#include <sys/resource.h> #include <sys/resource.h>
#include <assert.h> #include <assert.h>
#include "portability.h" #include "toku_portability.h"
#include "toku_os.h" #include "toku_os.h"
int int
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// Portability first! // Portability first!
#include "stdint.h" #include "stdint.h"
#include "portability.h" #include "toku_portability.h"
#include "toku_os.h" #include "toku_os.h"
#if TOKU_WINDOWS #if TOKU_WINDOWS
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
* The case of a committed pair and a provisional pair can be represented by a committed pair, since it doesn't matter whether the transction aborts or commits, the value is the same. * The case of a committed pair and a provisional pair can be represented by a committed pair, since it doesn't matter whether the transction aborts or commits, the value is the same.
*/ */
#include "portability.h" #include "toku_portability.h"
#include "rbuf.h" #include "rbuf.h"
#include "x1764.h" #include "x1764.h"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#ident "Copyright (c) 2007, 2008 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007, 2008 Tokutek Inc. All rights reserved."
#include "portability.h" #include "toku_portability.h"
#include <errno.h> #include <errno.h>
#include "../include/db.h" #include "../include/db.h"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* The struct definitions. * The struct definitions.
* The Latex documentation. * The Latex documentation.
*/ */
#include "portability.h" #include "toku_portability.h"
#include <assert.h> #include <assert.h>
#include <ctype.h> #include <ctype.h>
#include <stdarg.h> #include <stdarg.h>
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#ident "Copyright (c) 2007, 2008 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007, 2008 Tokutek Inc. All rights reserved."
#include "portability.h" #include "toku_portability.h"
#include "memory.h" #include "memory.h"
#include "toku_assert.h" #include "toku_assert.h"
......
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "portability.h" #include "toku_portability.h"
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>
#include <malloc.h> #include <malloc.h>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "portability.h" #include "toku_portability.h"
#include "memarena.h" #include "memarena.h"
#include "toku_assert.h" #include "toku_assert.h"
#include "brttypes.h" #include "brttypes.h"
......
#include "portability.h" #include "toku_portability.h"
#include <assert.h> #include <assert.h>
#include <fcntl.h> #include <fcntl.h>
......
#include "portability.h" #include "toku_portability.h"
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
......
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include "portability.h" #include "toku_portability.h"
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
......
#include "portability.h" #include "toku_portability.h"
#include <string.h> #include <string.h>
#include "brttypes.h" #include "brttypes.h"
#include "includes.h" #include "includes.h"
......
#include "portability.h" #include "toku_portability.h"
#include "toku_os.h" #include "toku_os.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
#include "portability.h" #include "toku_portability.h"
#include "toku_assert.h" #include "toku_assert.h"
#include <stdlib.h> #include <stdlib.h>
......
#include "portability.h" #include "toku_portability.h"
#include "../include/rdtsc.h" #include "../include/rdtsc.h"
#include "trace_mem.h" #include "trace_mem.h"
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
every call (including methods) into the tokudb library gets the lock every call (including methods) into the tokudb library gets the lock
no internal function should invoke a method through an object */ no internal function should invoke a method through an object */
#include "portability.h" #include "toku_portability.h"
#include "ydb-internal.h" #include "ydb-internal.h"
#include <assert.h> #include <assert.h>
#include <toku_pthread.h> #include <toku_pthread.h>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
The error handling routines for ydb The error handling routines for ydb
*/ */
#include "portability.h" #include "toku_portability.h"
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it." #ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
#include "portability.h" #include "toku_portability.h"
#include <errno.h> #include <errno.h>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it." #ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
#include "portability.h" #include "toku_portability.h"
#include <brttypes.h> #include <brttypes.h>
#if !defined(TOKU_DB_ID_H) #if !defined(TOKU_DB_ID_H)
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
*/ */
#include "portability.h" #include "toku_portability.h"
#include <idlth.h> #include <idlth.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
\brief Lock trees: implementation \brief Lock trees: implementation
*/ */
#include "portability.h" #include "toku_portability.h"
#include <locktree.h> #include <locktree.h>
#include <ydb-internal.h> #include <ydb-internal.h>
#include <brt-internal.h> #include <brt-internal.h>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
*/ */
#include "portability.h" #include "toku_portability.h"
#include "lth.h" #include "lth.h"
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
*/ */
#include "portability.h" #include "toku_portability.h"
#include "rth.h" #include "rth.h"
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
#include "portability.h" #include "toku_portability.h"
#include <string.h> #include <string.h>
#include <locktree.h> #include <locktree.h>
#include <db.h> #include <db.h>
......
/* Test for a memory leak from just closing the lock tree manager (should close /* Test for a memory leak from just closing the lock tree manager (should close
all lock trees. */ all lock trees. */
#include "portability.h" #include "toku_portability.h"
#include <fcntl.h> #include <fcntl.h>
#include "test.h" #include "test.h"
#include <unistd.h> #include <unistd.h>
......
/* Test for a memory leak from just closing the lock tree manager (should close /* Test for a memory leak from just closing the lock tree manager (should close
all lock trees. */ all lock trees. */
#include "portability.h" #include "toku_portability.h"
#include <fcntl.h> #include <fcntl.h>
#include "test.h" #include "test.h"
#include <unistd.h> #include <unistd.h>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
*/ */
//Defines BOOL data type. //Defines BOOL data type.
#include "portability.h" #include "toku_portability.h"
#include <brttypes.h> #include <brttypes.h>
#include <db.h> #include <db.h>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* The trace file ends up in the cwd. * The trace file ends up in the cwd.
*/ */
#include "portability.h" #include "toku_portability.h"
#include "../include/db.h" #include "../include/db.h"
#include "toku_assert.h" #include "toku_assert.h"
#include "memory.h" #include "memory.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* big child commits, parent commits * big child commits, parent commits
*/ */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* big child commits, parent commits * big child commits, parent commits
*/ */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* big child commits, parent commits * big child commits, parent commits
*/ */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* big child commits, parent commits (This test) * big child commits, parent commits (This test)
*/ */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ident "Copyright (c) 2008 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2008 Tokutek Inc. All rights reserved."
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ident "Copyright (c) 2008 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2008 Tokutek Inc. All rights reserved."
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ident "Copyright (c) 2008 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2008 Tokutek Inc. All rights reserved."
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ident "Copyright (c) 2008 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2008 Tokutek Inc. All rights reserved."
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
......
/* How fast can we do insertions when there are many files? */ /* How fast can we do insertions when there are many files? */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* big child commits, parent commits (This test) * big child commits, parent commits (This test)
*/ */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* A simple case to see if recovery works. */ /* A simple case to see if recovery works. */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
/* A simple case to see if recovery works. */ /* A simple case to see if recovery works. */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// run recovery. // run recovery.
// Verify that the data is present. // Verify that the data is present.
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
#include "portability.h" #include "toku_portability.h"
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* -*- mode: C; c-basic-offset: 4 -*- */ /* -*- mode: C; c-basic-offset: 4 -*- */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Make sure those middle things made it back into the tree. * Make sure those middle things made it back into the tree.
*/ */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
*/ */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Also if we've deleted a lot of stuff, so that the first good thing is not on the first page. * Also if we've deleted a lot of stuff, so that the first good thing is not on the first page.
*/ */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* Test log archive. */ /* Test log archive. */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* Test log archive. */ /* Test log archive. */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
/* Test log archive. */ /* Test log archive. */
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "test.h" #include "test.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <string.h> #include <string.h>
#include <inttypes.h> #include <inttypes.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
......
/* Primary with two associated things. */ /* Primary with two associated things. */
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
/* Primary with two associated things. */ /* Primary with two associated things. */
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
......
/* Primary with two associated things. */ /* Primary with two associated things. */
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
int main() { int main() {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <limits.h> #include <limits.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
// One must actually create a DB I think... // One must actually create a DB I think...
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include "test.h" #include "test.h"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <string.h> #include <string.h>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <string.h> #include <string.h>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved." #ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
#include <string.h> #include <string.h>
#include <portability.h> #include <toku_portability.h>
#include <db.h> #include <db.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment