[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-devel] PATCH - condor_syscall_lib/remote_startup.c may print wrong file name
- Date: Wed, 31 Aug 2005 12:07:13 -0500
- From: Daniel Forrest <forrest@xxxxxxxxxxxxx>
- Subject: [Condor-devel] PATCH - condor_syscall_lib/remote_startup.c may print wrong file name
I found this in the 6.6.8 sources, I don't know if it has been fixed
in a later release?
condor_syscall_lib/remote_startup.c always prints the first element in
the logical_name array regardless of the actual fd that failed.
--- condor_syscall_lib/remote_startup.c.ORIG Tue Dec 2 23:57:09 2003
+++ condor_syscall_lib/remote_startup.c Wed Aug 31 11:16:53 2005
@@ -801,7 +801,7 @@
}
new_fd = open(logical_name[fd],flags,0);
if(new_fd<0) {
- _condor_error_retry("Couldn't open standard file '%s'", logical_name );
+ _condor_error_retry("Couldn't open standard file '%s'", logical_name[fd] );
}
if(new_fd!=fd) {
dup2(fd,new_fd);
--
Daniel K. Forrest Laboratory for Molecular and
forrest@xxxxxxxxxxxxx Computational Genomics
(608) 262 - 9479 University of Wisconsin, Madison