[ClusterIt-CVS] CVS commit: src
Brought to you by:
garbled
|
From: Tim R. <ga...@us...> - 2005-12-10 06:45:13
|
Module Name: src Committed By: garbled Date: Sat Dec 10 06:45:05 UTC 2005 Modified Files: src/barrier: barrier.c barrierd.c src/common: common.c src/dsh: dsh.c rseq.c run.c src/dvt: dvt.c src/jsd: jsd.c jsh.c src/pcp: pcp.c Log Message: Fix the following bugs: 1377537 1377448 1374720 1) argv[0] was being corrupted by strsep(3), causing ps to show garbage instead of the process name. Fixed this by strdup()ing argv[0] before hacking at it with strsep(3) 2) Linux apparently sends POLLHUP when the remote end has closed, instead of POLLHUP|POLLIN like NetBSD does. This means that unless we look for POLLHUP in the scan, we never get the data, causing dsh to truncate output from the child rsh/ssh. 3) Add a quick routine to strip the trailing whitespace from the groupname when parsing the clusterfile. I think I still need to do this for the lumpname too. To generate a diff of this commit: cvs rdiff -r1.16 -r1.17 src/barrier/barrier.c src/barrier/barrierd.c cvs rdiff -r1.15 -r1.16 src/common/common.c cvs rdiff -r1.21 -r1.22 src/dsh/dsh.c cvs rdiff -r1.15 -r1.16 src/dsh/rseq.c cvs rdiff -r1.13 -r1.14 src/dsh/run.c cvs rdiff -r1.6 -r1.7 src/dvt/dvt.c cvs rdiff -r1.13 -r1.14 src/jsd/jsd.c cvs rdiff -r1.11 -r1.12 src/jsd/jsh.c cvs rdiff -r1.14 -r1.15 src/pcp/pcp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |