components/unrar/patches/02.getpass.patch
changeset 5794 b6c18cf8ca81
parent 5793 baf73b0669ce
child 5795 b6b9d57d2466
--- a/components/unrar/patches/02.getpass.patch	Fri Apr 15 14:44:19 2016 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
---- 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));