projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c9e851
)
Formerly remote-cstms.c.~5~
author
Roland McGrath
<roland@redhat.com>
Thu, 11 Jun 1992 04:58:23 +0000
(
04:58
+0000)
committer
Roland McGrath
<roland@redhat.com>
Thu, 11 Jun 1992 04:58:23 +0000
(
04:58
+0000)
remote-cstms.c
patch
|
blob
|
history
diff --git
a/remote-cstms.c
b/remote-cstms.c
index
a8465ad
..
317b4e0
100644
(file)
--- a/
remote-cstms.c
+++ b/
remote-cstms.c
@@
-70,9
+70,13
@@
start_remote_job (argv, envp, stdin_fd, is_remote, id_ptr, used_stdin)
int pid;
/* Find the current directory. */
- if (get
wd (cwd
) == 0)
+ if (get
cwd (cwd, GET_PATH_MAX
) == 0)
{
+#ifndef GETCWD_MISSING
+ perror_with_name ("exporting: getcwd: ", "");
+#else
error ("exporting: getwd: %s", cwd);
+#endif
return 1;
}