OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=26
181 lines
4.5 KiB
Diff
181 lines
4.5 KiB
Diff
Index: Drivers/nn/SQLBindCol.c
|
|
===================================================================
|
|
--- Drivers/nn/SQLBindCol.c.orig
|
|
+++ Drivers/nn/SQLBindCol.c
|
|
@@ -14,6 +14,7 @@
|
|
**/
|
|
#include <config.h>
|
|
#include "driver.h"
|
|
+#include <string.h>
|
|
|
|
RETCODE SQL_API SQLBindCol(
|
|
HSTMT hstmt,
|
|
Index: Drivers/nn/SQLBindParameter.c
|
|
===================================================================
|
|
--- Drivers/nn/SQLBindParameter.c.orig
|
|
+++ Drivers/nn/SQLBindParameter.c
|
|
@@ -13,6 +13,7 @@
|
|
GNU General Public License for more details.
|
|
**/
|
|
#include <config.h>
|
|
+#include <string.h>
|
|
#include "driver.h"
|
|
|
|
RETCODE SQL_API SQLBindParameter(
|
|
Index: Drivers/nn/SQLDescribeCol.c
|
|
===================================================================
|
|
--- Drivers/nn/SQLDescribeCol.c.orig
|
|
+++ Drivers/nn/SQLDescribeCol.c
|
|
@@ -14,6 +14,7 @@
|
|
**/
|
|
#include <config.h>
|
|
#include "driver.h"
|
|
+#include <string.h>
|
|
|
|
RETCODE SQL_API SQLDescribeCol(
|
|
HSTMT hstmt,
|
|
Index: Drivers/nn/SQLError.c
|
|
===================================================================
|
|
--- Drivers/nn/SQLError.c.orig
|
|
+++ Drivers/nn/SQLError.c
|
|
@@ -14,6 +14,7 @@
|
|
**/
|
|
#include <config.h>
|
|
#include "driver.h"
|
|
+#include <string.h>
|
|
|
|
RETCODE SQL_API SQLError(
|
|
HENV henv,
|
|
Index: Drivers/nn/SQLFetch.c
|
|
===================================================================
|
|
--- Drivers/nn/SQLFetch.c.orig
|
|
+++ Drivers/nn/SQLFetch.c
|
|
@@ -14,6 +14,7 @@
|
|
**/
|
|
#include <config.h>
|
|
#include "driver.h"
|
|
+#include <string.h>
|
|
|
|
RETCODE SQL_API SQLFetch( HSTMT hstmt )
|
|
{
|
|
Index: Drivers/nn/SQLGetData.c
|
|
===================================================================
|
|
--- Drivers/nn/SQLGetData.c.orig
|
|
+++ Drivers/nn/SQLGetData.c
|
|
@@ -14,6 +14,7 @@
|
|
**/
|
|
#include <config.h>
|
|
#include "driver.h"
|
|
+#include <string.h>
|
|
|
|
RETCODE SQL_API SQLGetData(
|
|
HSTMT hstmt,
|
|
Index: Drivers/nn/SQLPutData.c
|
|
===================================================================
|
|
--- Drivers/nn/SQLPutData.c.orig
|
|
+++ Drivers/nn/SQLPutData.c
|
|
@@ -14,6 +14,7 @@
|
|
**/
|
|
#include <config.h>
|
|
#include "driver.h"
|
|
+#include <string.h>
|
|
|
|
RETCODE SQL_API SQLPutData(
|
|
HSTMT hstmt,
|
|
Index: Drivers/nn/convert.c
|
|
===================================================================
|
|
--- Drivers/nn/convert.c.orig
|
|
+++ Drivers/nn/convert.c
|
|
@@ -14,6 +14,7 @@
|
|
**/
|
|
#include <config.h>
|
|
#include "driver.h"
|
|
+#include <string.h>
|
|
|
|
/* It looks silly to use a MEM_ALLOC() in function char2str(), etc,
|
|
* for converting C data type into STRING SQL data type. Esspecially
|
|
Index: Drivers/nn/nndate.c
|
|
===================================================================
|
|
--- Drivers/nn/nndate.c.orig
|
|
+++ Drivers/nn/nndate.c
|
|
@@ -16,6 +16,7 @@
|
|
#include <nnconfig.h>
|
|
|
|
#include <nndate.h>
|
|
+#include <string.h>
|
|
#include "misc.h"
|
|
|
|
static char* month_name[] =
|
|
Index: Drivers/nn/prepare.c
|
|
===================================================================
|
|
--- Drivers/nn/prepare.c.orig
|
|
+++ Drivers/nn/prepare.c
|
|
@@ -14,6 +14,7 @@
|
|
**/
|
|
#include <config.h>
|
|
#include "driver.h"
|
|
+#include <string.h>
|
|
|
|
void* nnodbc_getstmterrstack(void* hstmt)
|
|
{
|
|
Index: Drivers/nn/yyevl.c
|
|
===================================================================
|
|
--- Drivers/nn/yyevl.c.orig
|
|
+++ Drivers/nn/yyevl.c
|
|
@@ -16,6 +16,7 @@
|
|
#include <nnconfig.h>
|
|
#include <yystmt.h>
|
|
#include <yylex.h>
|
|
+#include <string.h>
|
|
#include <nncol.h>
|
|
#include <nndate.h>
|
|
|
|
Index: Drivers/nn/yyparse.y
|
|
===================================================================
|
|
--- Drivers/nn/yyparse.y.orig
|
|
+++ Drivers/nn/yyparse.y
|
|
@@ -25,6 +25,7 @@ static char sccsid[]
|
|
#include <yylex.h>
|
|
#include <yyerr.h>
|
|
#include <nndate.h>
|
|
+#include <stdio.h>
|
|
|
|
# ifdef YYLSP_NEEDED
|
|
# undef YYLSP_NEEDED
|
|
Index: Drivers/nn/yystmt.c
|
|
===================================================================
|
|
--- Drivers/nn/yystmt.c.orig
|
|
+++ Drivers/nn/yystmt.c
|
|
@@ -14,6 +14,7 @@
|
|
**/
|
|
#include <config.h>
|
|
#include "driver.h"
|
|
+#include <string.h>
|
|
|
|
static char sccsid[]
|
|
= "@(#)NNSQL(NetNews SQL) v0.5, Copyright(c) 1995, 1996 by Ke Jin";
|
|
Index: Drivers/nn/connect.c
|
|
===================================================================
|
|
--- Drivers/nn/connect.c.orig
|
|
+++ Drivers/nn/connect.c
|
|
@@ -14,6 +14,7 @@
|
|
**/
|
|
#include <config.h>
|
|
#include <unistd.h>
|
|
+#include <string.h>
|
|
#include <sys/types.h>
|
|
#include "driver.h"
|
|
#include "misc.h"
|
|
Index: Drivers/nn/yylex.c
|
|
===================================================================
|
|
--- Drivers/nn/yylex.c.orig
|
|
+++ Drivers/nn/yylex.c
|
|
@@ -26,6 +26,7 @@
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
+#include <ctype.h>
|
|
|
|
static int getcmpopidxbyname(char* name)
|
|
{
|