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