summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/util.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-31 14:59:37 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-31 14:59:37 +0000
commitb678d04ea42f842fb31a05faef08613423b12b14 (patch)
tree4361487e47b2e65d6a2dd47a8cbacf9b30f6b8b4 /Build/source/texk/xdvik/util.c
parent6d5dd95b5e099dd28dae2c52de1e9f470d5e55e5 (diff)
imported xdvik-22.84.15
git-svn-id: svn://tug.org/texlive/trunk@12586 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/util.c')
-rw-r--r--Build/source/texk/xdvik/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/xdvik/util.c b/Build/source/texk/xdvik/util.c
index adf6c3cd839..323f271e1b5 100644
--- a/Build/source/texk/xdvik/util.c
+++ b/Build/source/texk/xdvik/util.c
@@ -581,7 +581,7 @@ my_realpath(const char *path, char *resolved)
(void)fchdir(fd);
close(fd);
#else
- chdir(cwd);
+ (void)chdir(cwd);
#endif
return resolved;
}
@@ -591,7 +591,7 @@ my_realpath(const char *path, char *resolved)
(void)fchdir(fd);
close(fd);
#else
- chdir(cwd);
+ (void)chdir(cwd);
#endif
return NULL;
}
@@ -1466,7 +1466,7 @@ find_file(const char *filename, struct stat *statbuf, kpse_file_format_type path
(void)fchdir(fd);
close(fd);
#else
- chdir(cwd);
+ (void)chdir(cwd);
#endif
if (tmp[0] == '/') { /* is it an absolute path? */
pathname = xstrdup(tmp);