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