Index: openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl,v diff -u -r1.35.8.13 -r1.35.8.14 --- openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl 6 Jul 2014 11:46:18 -0000 1.35.8.13 +++ openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl 23 Jul 2014 21:22:30 -0000 1.35.8.14 @@ -496,7 +496,7 @@ # Therefore, we check first for the NaviServer built in ns_http, then # if the optional xotcl-core components are available... # - if {[info commands ::ns_http] ne "" && [ns_info patchlevel] > "4.99.5"} { + if {[info commands ::ns_http] ne "" && [apm_version_names_compare [ns_info patchlevel] "4.99.5"] == 1} { # # ... use ns_http when we have a version with the "-file" flag ... #