Sign in
ara-mdk
/
platform
/
external
/
valgrind
/
d4d5c2c2b778f60d67119026b4a5b1d82c4797b6
/
.
/
main
/
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
;
}