[ClusterIt-CVS] CVS commit: src
Brought to you by:
garbled
|
From: Tim R. <ga...@us...> - 2005-12-11 06:20:04
|
Module Name: src Committed By: garbled Date: Sun Dec 11 06:19:58 UTC 2005 Modified Files: src/barrier: barrier.c src/common: common.c common.h src/dsh: dsh.c rseq.c run.c src/dvt: dvt.c src/jsd: jsd.c jsh.c src/pcp: pcp.c Log Message: Replace most instances of sprintf with snprintf. Replace most instances of malloc with calloc. Clean up a few nested if statements, and useless braces that were there for debugging. Add RCMD_CMD_ARGS to most of the programs. This makes it easier to do things like run "ssh -4" as your RCMD_CMD. Stop allocating the command to be run on the remote end as buf[MAXBUF], instead compute it at runtime and dynamically allocate it to prevent possible overflow on a huge command. To generate a diff of this commit: cvs rdiff -r1.17 -r1.18 src/barrier/barrier.c cvs rdiff -r1.17 -r1.18 src/common/common.c cvs rdiff -r1.10 -r1.11 src/common/common.h cvs rdiff -r1.22 -r1.23 src/dsh/dsh.c cvs rdiff -r1.16 -r1.17 src/dsh/rseq.c cvs rdiff -r1.14 -r1.15 src/dsh/run.c cvs rdiff -r1.7 -r1.8 src/dvt/dvt.c cvs rdiff -r1.14 -r1.15 src/jsd/jsd.c cvs rdiff -r1.12 -r1.13 src/jsd/jsh.c cvs rdiff -r1.15 -r1.16 src/pcp/pcp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |