[torquedev] regression in 2.1.4

Garrick Staples garrick at usc.edu
Sat Oct 21 14:09:45 MDT 2006


On Sat, Oct 21, 2006 at 10:05:13PM +0200, ?ke Sandgren alleged:
> On Sat, 2006-10-21 at 13:45 -0600, Garrick Staples wrote:
> > FYI, A user of mine just told me that "qsub -o /dev/null -e /dev/null"
> > isn't working any more.
> 
> Fix that by setting keeping to something that notifies of /dev/null in
> std_file_name and use that in open_std_file to remove O_EXCL.

I am just about to test almost just that:

Index: start_exec.c
===================================================================
--- start_exec.c        (revision 1061)
+++ start_exec.c        (working copy)
@@ -4844,6 +4844,11 @@
     return(-1);
     }

+  if (keeping)
+    {
+    mode &= ~O_EXCL;
+    }
+

-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20061021/dab25c55/attachment.bin


More information about the torquedev mailing list