[Asterisk-cvs] asterisk/cdr cdr_odbc.c,1.12,1.13 cdr_pgsql.c,1.6,1.7
markster at lists.digium.com
markster at lists.digium.com
Tue Jun 8 20:42:07 CDT 2004
- Previous message: [Asterisk-cvs] asterisk/apps app_intercom.c,1.18,1.19 app_meetme.c,1.38,1.39 app_queue.c,1.67,1.68 app_voicemail.c,1.107,1.108
- Next message: [Asterisk-cvs] asterisk acl.c,1.21,1.22 asterisk.c,1.88,1.89 astmm.c,1.9,1.10 autoservice.c,1.4,1.5 cdr.c,1.13,1.14 channel.c,1.117,1.118 cli.c,1.40,1.41 db.c,1.7,1.8 dns.c,1.8,1.9 enum.c,1.17,1.18 file.c,1.41,1.42 frame.c,1.32,1.33 image.c,1.8,1.9 indications.c,1.15,1.16 loader.c,1.21,1.22 logger.c,1.36,1.37 manager.c,1.54,1.55 pbx.c,1.123,1.124 translate.c,1.24,1.25 utils.c,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/cdr
In directory mongoose.digium.com:/tmp/cvs-serv11896/cdr
Modified Files:
cdr_odbc.c cdr_pgsql.c
Log Message:
Merge FreeBSD locking fixes (bug #1411)
Index: cdr_odbc.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/cdr_odbc.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- cdr_odbc.c 21 May 2004 00:40:02 -0000 1.12
+++ cdr_odbc.c 9 Jun 2004 01:45:07 -0000 1.13
@@ -41,7 +41,7 @@
static int dsn_alloc = 0, username_alloc = 0, password_alloc = 0, loguniqueid_alloc = 0;
static int connected = 0;
-static ast_mutex_t odbc_lock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(odbc_lock);
static int odbc_do_query(void);
static int odbc_init(void);
Index: cdr_pgsql.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/cdr_pgsql.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cdr_pgsql.c 22 Jan 2004 17:03:11 -0000 1.6
+++ cdr_pgsql.c 9 Jun 2004 01:45:07 -0000 1.7
@@ -41,7 +41,7 @@
static int hostname_alloc = 0, dbname_alloc = 0, dbuser_alloc = 0, password_alloc = 0, dbsock_alloc = 0, dbport_alloc = 0;
static int connected = 0;
-static ast_mutex_t pgsql_lock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(pgsql_lock);
PGconn *conn;
PGresult *result;
- Previous message: [Asterisk-cvs] asterisk/apps app_intercom.c,1.18,1.19 app_meetme.c,1.38,1.39 app_queue.c,1.67,1.68 app_voicemail.c,1.107,1.108
- Next message: [Asterisk-cvs] asterisk acl.c,1.21,1.22 asterisk.c,1.88,1.89 astmm.c,1.9,1.10 autoservice.c,1.4,1.5 cdr.c,1.13,1.14 channel.c,1.117,1.118 cli.c,1.40,1.41 db.c,1.7,1.8 dns.c,1.8,1.9 enum.c,1.17,1.18 file.c,1.41,1.42 frame.c,1.32,1.33 image.c,1.8,1.9 indications.c,1.15,1.16 loader.c,1.21,1.22 logger.c,1.36,1.37 manager.c,1.54,1.55 pbx.c,1.123,1.124 translate.c,1.24,1.25 utils.c,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list