components/unrar/patches/02.getpass.patch
author Bill Rushmore <bill.rushmore@oracle.com>
Fri, 15 Aug 2014 15:13:12 -0700
branchs11u2-sru
changeset 3273 73f7b1db598e
parent 779 0efb89d4efa5
permissions -rw-r--r--
19365059 perl-pmtools package needs cleanup 19364210 Perl authen::pam packages need updates

--- consio.cpp.orig	2012-04-17 08:23:59.905765212 -0700
+++ consio.cpp	2012-04-17 08:25:47.074246361 -0700
@@ -141,7 +141,7 @@
   SetConsoleMode(hConOut,ConOutMode);
 #else
   char StrA[MAXPASSWORD];
-#if defined(_EMX) || defined(_BEOS) || defined(__sparc) || defined(sparc) || defined (__VMS)
+#if defined(_EMX) || defined(_BEOS) || defined (__VMS)
   fgets(StrA,ASIZE(StrA)-1,stdin);
 #else
   strncpyz(StrA,getpass(""),ASIZE(StrA));