[ freetds-Patches-582424 ] thread safetiness

noreply at sourceforge.net noreply at sourceforge.net
Tue Jul 16 13:28:15 EDT 2002


Patches item #582424, was opened at 2002-07-16 21:28
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=582424&group_id=33106

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Frediano Ziglio (freddy77)
Assigned to: Nobody/Anonymous (nobody)
Summary: thread safetiness

Initial Comment:
After all work we have done for thread safetiness I

compile and... is not enabled :)

This patch fix this problem...



Index: ChangeLog

===================================================================

RCS file: /cvsroot/freetds/freetds/ChangeLog,v

retrieving revision 1.106

diff -u -r1.106 ChangeLog

--- ChangeLog	16 Jul 2002 05:55:31 -0000	1.106

+++ ChangeLog	16 Jul 2002 19:25:16 -0000

@@ -1,3 +1,8 @@

+Tue Jul 16 21:23:00 2002  Frediano Ziglio

<freddy77 at angelfire.com>

+

+

* configure.in:

+

- option to enable thread safetiness

+

 Tue Jul 16 01:16:29 EDT 2002	JK Lowden

<jklowden at schemamania.org>

 	+ src/tds/tds_willconvert.h added, to support dbwillconvert

 	+ src/tds/convert.c slightly modified to insert

comments in tds_willconvert.h

Index: configure.in

===================================================================

RCS file: /cvsroot/freetds/freetds/configure.in,v

retrieving revision 1.20

diff -u -r1.20 configure.in

--- configure.in	9 Jul 2002 01:55:04 -0000	1.20

+++ configure.in	16 Jul 2002 19:25:16 -0000

@@ -159,6 +159,11 @@

 	CFLAGS="$CFLAGS -DMSDBLIB"

 fi

 

+AC_ARG_ENABLE(threadsafe,

+[  --enable-threadsafe     compile for thread

safetiness [default=yes]])

+if test "$enable_threadsafe" != "no" ; then

+

CFLAGS="$CFLAGS -D_REENTRANT -D_THREAD_SAFE"

+fi

 

 dnl

------------------------------------------------------------

 dnl Final output



freddy77



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=582424&group_id=33106



More information about the FreeTDS mailing list