Compiling with ssl without thread safety still broken.

pq_initssllib is being incorrectly guarded by ENABLE_THREAD_SAFETY.

Kris Jurka
Index: src/interfaces/libpq/fe-secure.c
===================================================================
RCS file: /projects/cvsroot/pgsql-server/src/interfaces/libpq/fe-secure.c,v
retrieving revision 1.38
diff -c -r1.38 fe-secure.c
*** src/interfaces/libpq/fe-secure.c    24 Mar 2004 03:44:59 -0000      1.38
--- src/interfaces/libpq/fe-secure.c    26 Mar 2004 20:16:43 -0000
***************
*** 856,864 ****
        }
  }
  
! bool pq_initssllib = true;
  
! #endif /* ENABLE_THRAD_SAFETY */
  
  static int
  init_ssl_system(PGconn *conn)
--- 856,864 ----
        }
  }
  
! #endif /* ENABLE_THREAD_SAFETY */
  
! bool pq_initssllib = true;
  
  static int
  init_ssl_system(PGconn *conn)
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to