Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
06f8b93f8d29383aa14da8ea81d948d20b21ea52
/
.
/
cachegrind
/
tests
/
chdir.c
blob: 9b681cfc4b75dd4f3ce2811c428d50039888f4be [
file
] [
log
] [
blame
]
#include
<unistd.h>
// Before the bug was fixed, if a program changed working directory, things
// would break and the cachegrind.out.<pid> file wouldn't get written.
int
main
(
void
)
{
chdir
(
".."
);
return
0
;
}