1N/A * See the file LICENSE for redistribution information. 1N/A * Copyright (c) 1998 1N/A * Sleepycat Software. All rights reserved. 1N/A#
pragma ident "%Z%%M% %I% %E% SMI" 1N/A#
endif /* not lint */ 1N/A * Set the temporary directory path. 1N/A * The order of items in the list structure and the order of checks in 1N/A * the environment are documented. 1N/A * PUBLIC: int __os_tmpdir __P((DB_ENV *, u_int32_t)); 1N/A * Don't change this to: 1N/A * static const char * const list[] 1N/A * because it creates a text relocation in position independent code. 1N/A "/temp",
/* Windows. */ 1N/A "C:/temp",
/* Windows. */ 1N/A "C:/tmp",
/* Windows. */ 1N/A const char *
const *
lp, *p;
1N/A /* Use the environment if it's permitted and initialized. */ 1N/A "illegal TempFolder environment variable");
1N/A /* Get the path to the temporary folder. */ 1N/A /* Step through the list looking for a possibility. */