validator/httpd/cgi-bin check,1.437,1.438

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv2132

Modified Files:
	check 
Log Message:
p_f_d default bug (?) workaround

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.437
retrieving revision 1.438
diff -u -d -r1.437 -r1.438
--- check	16 Aug 2005 04:40:52 -0000	1.437
+++ check	16 Aug 2005 06:28:06 -0000	1.438
@@ -592,6 +592,9 @@
   # doing so opens a potential security hole.  Don't do that; instead just
   # make sure you're running OpenSP 1.5 or later.
   $opensp->restrict_file_reading(1);
+
+  # workaround for odd O::S::P behavior...
+  $opensp->pass_file_descriptor(1) unless $^O eq 'MSWin32';
   
   #
   # Set debug info for HTML report.

Received on Tuesday, 16 August 2005 06:28:18 UTC