components/unrar/patches/02.getpass.patch
author saurabh.vyas@oracle.com
Wed, 27 Jan 2016 09:13:52 -0800
changeset 5350 0bd2e97a57c6
parent 779 0efb89d4efa5
permissions -rw-r--r--
22599480 move mcollective to Ruby 2.1 22599526 move stomp to Ruby 2.1

--- 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));