projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
install-reloc: Support multi-binary installation.
[gnulib.git]
/
tests
/
test-fchdir.c
diff --git
a/tests/test-fchdir.c
b/tests/test-fchdir.c
index
7ffc71b
..
7a6de80
100644
(file)
--- a/
tests/test-fchdir.c
+++ b/
tests/test-fchdir.c
@@
-70,7
+70,7
@@
main (void)
/* Repeat test twice, once in '.' and once in '..'. */
for (i = 0; i < 2; i++)
{
- ASSERT (chdir (
".." + 1 - i
) == 0);
+ ASSERT (chdir (
&".."[1 - i]
) == 0);
ASSERT (fchdir (fd) == 0);
{
size_t len = strlen (cwd) + 1;