This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dir.c b/dir.c | |
index 3db196f..426d0b6 100644 | |
--- a/dir.c | |
+++ b/dir.c | |
@@ -1300,9 +1300,9 @@ to_be_ignored(int e) | |
} | |
#ifdef _WIN32 | |
-#define STAT(p, s) rb_w32_ustati64((p), (s)) | |
+#define STAT(p, s) rb_w32_ustati64ns((p), (s)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */ | |
#include <stdio.h> | |
#include <dlfcn.h> | |
#include <link.h> | |
typedef struct OCIEnv OCIEnv; | |
typedef unsigned int ub4; | |
typedef int (*OCIEnvCreate_t)(OCIEnv **envp, ub4 mode, void *ctxp, | |
void *(*malocfp)(void *ctxp, size_t size), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <inttypes.h> | |
#include <dpi.h> | |
static dpiContext *g_context; | |
#ifndef ARRAY_SIZE | |
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <dpi.h> | |
static dpiContext *g_context; | |
#define chkerr(func) do { \ | |
if ((func) < 0) { \ | |
dpiErrorInfo err; \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <dpi.h> | |
static dpiContext *g_context; | |
#ifndef ARRAY_SIZE | |
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) | |
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <dpi.h> | |
static dpiContext *g_context; | |
#define chkerr(func) do { \ | |
if ((func) < 0) { \ | |
dpiErrorInfo err; \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
** $Id: lauxlib.c,v 1.289 2016/12/20 18:37:00 roberto Exp $ | |
** Auxiliary functions for building Lua libraries | |
** See Copyright Notice in lua.h | |
*/ | |
#define lauxlib_c | |
#define LUA_LIB | |
#include "lprefix.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <dpi.h> | |
static dpiContext *g_context; | |
#define chkerr(func) do { \ | |
if ((func) < 0) { \ | |
dpiErrorInfo err; \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <oci.h> | |
/* | |
Run the following SQL in advance. | |
drop table clob_test_1755 purge; | |
create table clob_test_1755 (clob_col clob); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* ORACLE_HOME-based client: | |
* | |
* gcc -o test218 test218.c -I$ORACLE_HOME/rdbms/public -L$ORACLE_HOME/lib -Wl,-rpath,$ORACLE_HOME/lib -lclntsh | |
* | |
* Instant client: | |
* | |
* IC_DIR=/xxxx # Instant client directory | |
* gcc -o test218 test218.c -I$IC_DIR/sdk/include -L$IC_DIR -Wl,-rpath,$IC_DIR -lclntsh | |
* |