components/unrar/patches/02.getpass.patch
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Mon, 24 Oct 2011 15:15:55 -0700
changeset 538 d8d7345db00f
parent 293 a352bfc26435
child 779 0efb89d4efa5
permissions -rw-r--r--
7104397 Userland should split out package BUILD_VERSION information Added tag s11 for changeset 10bd3a98a582

--- consio.cpp.orig	Tue Jun  7 16:00:37 2011
+++ consio.cpp	Tue Jun  7 16:01:33 2011
@@ -124,7 +124,7 @@
   OemToChar(Str,Str);
   SetConsoleMode(hConIn,ConInMode);
   SetConsoleMode(hConOut,ConOutMode);
-#elif defined(_EMX) || defined(_BEOS) || defined(__sparc) || defined(sparc) || defined (__VMS)
+#elif defined(_EMX) || defined(_BEOS) || defined (__VMS)
   fgets(Str,MaxLength-1,stdin);
 #else
   strncpyz(Str,getpass(""),MaxLength);