Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
valgrind
/
7aa665115c756f46c64d0dff76b7c09eb5a3b089
/
.
/
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
;
}