--- src/usr.sbin/acpi/acpidb/osunixxf.c.patch 2005/03/12 14:33:40 1.1 +++ src/usr.sbin/acpi/acpidb/osunixxf.c.patch 2007/01/17 17:31:19 1.2 @@ -1,16 +1,26 @@ $DragonFly$ ---- osunixxf.c.orig 2005-02-12 08:32:17.000000000 +0900 -+++ osunixxf.c 2005-03-05 20:47:12.000000000 +0900 -@@ -184,8 +184,10 @@ - UINT32 Flags, - ACPI_POINTER *Address) +--- osunixxf.c.orig 2006-09-13 02:49:37.000000000 +0900 ++++ osunixxf.c 2006-11-17 15:53:31.000000000 +0900 +@@ -428,13 +428,19 @@ + AcpiOsGetLine ( + char *Buffer) { -- -+#if 0 -+ /* AeLocalGetRootPointer is not properly implemented yet */ - return (AeLocalGetRootPointer(Flags, Address)); -+#endif - } +- UINT8 Temp; ++ UINT8 Temp; ++ int c; + UINT32 i; + for (i = 0; ; i++) + { +- scanf ("%1c", &Temp); ++ c = scanf ("%1c", &Temp); ++ if (c != 1) ++ { ++ AcpiGbl_DbTerminateThreads = TRUE; ++ break; ++ } + if (!Temp || Temp == '\n') + { + break;