1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:27:43 +00:00

More random compat hacking towards getting bash to build.

I'm now at the build stage where it complains about a bajillion missing
symbols. This is a good place to be!
This commit is contained in:
Andreas Kling 2018-11-05 18:16:00 +01:00
parent e76312ab63
commit 82f84bab11
15 changed files with 306 additions and 8 deletions

View file

@ -184,5 +184,11 @@ int unlink(const char*)
assert(false);
}
int isatty(int fd)
{
int rc = Syscall::invoke(Syscall::PosixIsatty, (dword)fd);
__RETURN_WITH_ERRNO(rc, 1, 0);
}
}