Index: openacs-4/packages/acs-bootstrap-installer/db-init-checks-postgresql.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/db-init-checks-postgresql.tcl,v diff -u -r1.13 -r1.13.10.1 --- openacs-4/packages/acs-bootstrap-installer/db-init-checks-postgresql.tcl 10 Jan 2007 21:22:02 -0000 1.13 +++ openacs-4/packages/acs-bootstrap-installer/db-init-checks-postgresql.tcl 27 Aug 2013 11:01:47 -0000 1.13.10.1 @@ -47,7 +47,7 @@ ## Make sure the __test__() function is dropped if it exists - if {![empty_string_p [ns_db 0or1row $db "select proname from pg_proc where proname = '__test__' and pronargs = 0"]]} { + if {[ns_db 0or1row $db "select proname from pg_proc where proname = '__test__' and pronargs = 0"] ne ""} { catch { ns_db dml $db "drop function __test__();" } } Index: openacs-4/packages/acs-bootstrap-installer/installer/install.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/installer/install.tcl,v diff -u -r1.11.8.1 -r1.11.8.2 --- openacs-4/packages/acs-bootstrap-installer/installer/install.tcl 27 Aug 2013 10:18:17 -0000 1.11.8.1 +++ openacs-4/packages/acs-bootstrap-installer/installer/install.tcl 27 Aug 2013 11:01:48 -0000 1.11.8.2 @@ -8,7 +8,7 @@ # Default all system emails to the administrators email foreach var_name {system_owner admin_owner host_administrator outgoing_sender new_registrations} { - if { [empty_string_p [set $var_name]] } { + if { [set $var_name] eq "" } { set $var_name $email } } @@ -99,12 +99,11 @@ if { !$user_id } { - global errorInfo install_return 200 "Unable to Create Administrator" " Unable to create the site-wide administrator: -
[ns_quotehtml $errorInfo]
+
[ns_quotehtml $::errorInfo]
Please try again. Index: openacs-4/packages/acs-bootstrap-installer/tcl/20-db-bootstrap-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/tcl/20-db-bootstrap-procs.tcl,v diff -u -r1.8 -r1.8.10.1 --- openacs-4/packages/acs-bootstrap-installer/tcl/20-db-bootstrap-procs.tcl 10 Jan 2007 21:22:03 -0000 1.8 +++ openacs-4/packages/acs-bootstrap-installer/tcl/20-db-bootstrap-procs.tcl 27 Aug 2013 11:01:48 -0000 1.8.10.1 @@ -138,7 +138,7 @@ ns_log Notice "$proc_name: For database '$dbn', the following pools are available: $dbn_pools" } - if { [empty_string_p [db_available_pools $default_dbn]] } { + if { [db_available_pools $default_dbn] eq "" } { ns_log Error "$proc_name: No pools specified for database '$default_dbn'." set old_availablepool_p 1 } Index: openacs-4/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-procs.tcl,v diff -u -r1.42 -r1.42.2.1 --- openacs-4/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-procs.tcl 29 Mar 2013 14:05:28 -0000 1.42 +++ openacs-4/packages/acs-bootstrap-installer/tcl/40-db-query-dispatcher-procs.tcl 27 Aug 2013 11:01:48 -0000 1.42.2.1 @@ -86,7 +86,7 @@ # db_qd_log QDDebug "The RDBMS_PATTERN is [db_rdbms_get_type $rdbms_pattern] - [db_rdbms_get_version $rdbms_pattern]" # If the pattern is for all RDBMS, then yeah, compatible - if {[empty_string_p [db_rdbms_get_type $rdbms_test]]} { + if {[db_rdbms_get_type $rdbms_test] eq ""} { return 1 } @@ -97,7 +97,7 @@ } # If the pattern has no version - if {[empty_string_p [db_rdbms_get_version $rdbms_pattern]]} { + if {[db_rdbms_get_version $rdbms_pattern] eq ""} { return 1 } @@ -194,11 +194,11 @@ # We ASSUME that both queries are at least compatible. # Otherwise this is a stupid exercise - if {[empty_string_p [db_rdbms_get_version $rdbms_1]]} { + if {[db_rdbms_get_version $rdbms_1] eq ""} { return $query_2 } - if {[empty_string_p [db_rdbms_get_version $rdbms_2]]} { + if {[db_rdbms_get_version $rdbms_2] eq ""} { return $query_1 } Index: openacs-4/packages/acs-core-docs/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/index.adp,v diff -u -r1.24 -r1.24.6.1 --- openacs-4/packages/acs-core-docs/www/index.adp 22 Jan 2010 12:01:17 -0000 1.24 +++ openacs-4/packages/acs-core-docs/www/index.adp 27 Aug 2013 10:52:32 -0000 1.24.6.1 @@ -49,13 +49,13 @@ "[acs_package_root_dir $package_key]/www/doc/index.*"] 0] if { [file exists $index_page] } { - if {![empty_string_p $pretty_name]} { + if {$pretty_name ne ""} { adp_puts "
  • $pretty_name\n" } else { adp_puts "
  • $package_key\n" } } else { - if {![empty_string_p $pretty_name]} { + if {$pretty_name ne ""} { adp_puts "
  • $pretty_name\n" } else { adp_puts "
  • $package_key\n" @@ -71,7 +71,7 @@ adp_puts "" set packages [core_docs_uninstalled_packages] -if { ! [empty_string_p $packages] } { +if { $packages ne "" } { adp_puts "\n

    Uninstalled packages

    \n