summaryrefslogtreecommitdiff
path: root/remote-cstms.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2006-04-09 22:09:24 +0000
committerPaul Smith <psmith@gnu.org>2006-04-09 22:09:24 +0000
commit8b40defd1e1e486fd04d87c4b1a5ce233f145413 (patch)
tree3a3bed68bb3377d1a2a28ef8e1a56a269bc7b675 /remote-cstms.c
parent21a5b2c58dc9198560f81895c24abd9b62aa058c (diff)
downloadmake-8b40defd1e1e486fd04d87c4b1a5ce233f145413.tar.gz
Another round of cleanups:
- Add more warnings. - Rename variables that mask out-scope vars with the same name. - Remove all casts of return values from xmalloc, xrealloc, and alloca. - Remove casts of the first argument to xrealloc. - Convert all bcopy/bzero/bcmp invocations to use memcp/memmove/memset/memcmp.
Diffstat (limited to 'remote-cstms.c')
-rw-r--r--remote-cstms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote-cstms.c b/remote-cstms.c
index e90635a8..5728a80c 100644
--- a/remote-cstms.c
+++ b/remote-cstms.c
@@ -98,7 +98,7 @@ start_remote_job_p (int first_p)
/* Normalize the current directory path name to something
that should work on all machines exported to. */
- normalized_cwd = (char *) xmalloc (GET_PATH_MAX);
+ normalized_cwd = xmalloc (GET_PATH_MAX);
strcpy (normalized_cwd, starting_directory);
if (Customs_NormPath (normalized_cwd, GET_PATH_MAX) < 0)
/* Path normalization failure means using Customs