2005-11-16 Shaun Jackman <sjackman@gmail.com>
authorDaniel Jacobowitz <drow@false.org>
Thu, 17 Nov 2005 04:23:03 +0000 (04:23 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 17 Nov 2005 04:23:03 +0000 (04:23 +0000)
commit2be701a30fd949e7a486fcf6843fdb34f6bc00dc
tree871749badaeb387d44319e905742f916fd27486c
parent17d43da18d589448d77205b685265bd95e8d896e
2005-11-16  Shaun Jackman  <sjackman@gmail.com>

* sim/arm/armos.c: Include limits.h
(unlink): Remove this macro. It is unused in this file and
conflicts with sim_callback->unlink.
(PATH_MAX): Define as 1024 if not already defined.
(ReadFileName): New function.
(SWIopen): Fix a potential buffer overflow.
(SWIremove): New function.
(SWIrename): Ditto.
(ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
SWI_Remove, and SWI_Rename, as well as the RDI calls
AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
AngelSWI_Reason_Rename.
sim/arm/ChangeLog
sim/arm/armos.c