[PATCH] Re: the way dblib references include files

"Craig A. Berry" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Mar 19, 2009, at 7:17 PM, James K. Lowden wrote:

> Craig A. Berry wrote:
>> Which is a result of a fairly recent change that switched a bunch of
>> the includes from the form:
>>
>> #include "sybfront.h"
>>
>> to
>>
>> #include <../../include/sybfront.h>
>
> Well.  No good deed goes unpunished.

Course not :-).

> You can put it back the way it was.  I'll update CVS HEAD the next  
> time
> I'm hacking.

Patch attached, if that's any easier than hacking.

________________________________________
Craig A. Berry
mailto:[email protected]

"... getting out of a sonnet is much more
  difficult than getting in."
                  Brad Leithauser

_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
includes.patch (application/octet-stream, 1.7 KB)
--- src/dblib/bcp.c;-0	2009-03-11 04:07:33 -0500
+++ src/dblib/bcp.c	2009-03-19 18:52:28 -0500
@@ -45,9 +45,9 @@
 #include <tdsiconv.h>
 #include <tdsconvert.h>
 #include <replacements.h>
-#include <../../include/sybfront.h>
-#include <../../include/sybdb.h>
-#include <../../include/syberror.h>
+#include <sybfront.h>
+#include <sybdb.h>
+#include <syberror.h>
 #include <dblib.h>
 
 #ifdef DMALLOC
--- src/dblib/dblib.c;-0	2009-03-04 11:51:25 -0600
+++ src/dblib/dblib.c	2009-03-19 18:53:59 -0500
@@ -66,9 +66,9 @@
 #include <tdsthread.h>
 #include <tdsconvert.h>
 #include <replacements.h>
-#include <../../include/sybfront.h>
-#include <../../include/sybdb.h>
-#include <../../include/syberror.h>
+#include <sybfront.h>
+#include <sybdb.h>
+#include <syberror.h>
 #include <dblib.h>
 
 #ifdef DMALLOC
--- src/dblib/dbutil.c;-0	2009-01-16 14:27:58 -0600
+++ src/dblib/dbutil.c	2009-03-19 18:59:42 -0500
@@ -30,8 +30,8 @@
 #endif /* HAVE_STDLIB_H */
 
 #include <tds.h>
-#include <../../include/sybdb.h>
-#include <../../include/syberror.h>
+#include <sybdb.h>
+#include <syberror.h>
 #include <dblib.h>
 
 #ifdef DMALLOC
--- src/dblib/rpc.c;-0	2009-01-31 13:13:20 -0600
+++ src/dblib/rpc.c	2009-03-19 19:00:11 -0500
@@ -46,8 +46,8 @@
 #include <tds.h>
 #include <tdsconvert.h>
 #include <replacements.h>
-#include <../../include/sybfront.h>
-#include <../../include/sybdb.h>
+#include <sybfront.h>
+#include <sybdb.h>
 #include <dblib.h>
 
 #ifdef DMALLOC
--- src/dblib/xact.c;-0	2009-01-31 13:13:20 -0600
+++ src/dblib/xact.c	2009-03-19 19:00:40 -0500
@@ -29,8 +29,8 @@
 #endif /* HAVE_UNISTD_H */
 
 #include <tds.h>
-#include <../../include/sybfront.h>
-#include <../../include/sybdb.h>
+#include <sybfront.h>
+#include <sybdb.h>
 #include <dblib.h>
 
 #ifdef DMALLOC
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.