components/unrar/patches/02.getpass.patch
author Bill Rushmore <bill.rushmore@oracle.com>
Mon, 11 Aug 2014 11:03:27 -0700
branchs11u2-sru
changeset 3256 61b30f1097ec
parent 779 0efb89d4efa5
permissions -rw-r--r--
19309028 Update XML-Parser package attribution 19079465 Update XML-Simple package attribution
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
779
0efb89d4efa5 7161382 Update unrar to version 4.1.4
Rich Burridge <rich.burridge@oracle.com>
parents: 293
diff changeset
     1
--- consio.cpp.orig	2012-04-17 08:23:59.905765212 -0700
0efb89d4efa5 7161382 Update unrar to version 4.1.4
Rich Burridge <rich.burridge@oracle.com>
parents: 293
diff changeset
     2
+++ consio.cpp	2012-04-17 08:25:47.074246361 -0700
0efb89d4efa5 7161382 Update unrar to version 4.1.4
Rich Burridge <rich.burridge@oracle.com>
parents: 293
diff changeset
     3
@@ -141,7 +141,7 @@
293
a352bfc26435 7052460 move unrar to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     4
   SetConsoleMode(hConOut,ConOutMode);
a352bfc26435 7052460 move unrar to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     5
 #else
779
0efb89d4efa5 7161382 Update unrar to version 4.1.4
Rich Burridge <rich.burridge@oracle.com>
parents: 293
diff changeset
     6
   char StrA[MAXPASSWORD];
0efb89d4efa5 7161382 Update unrar to version 4.1.4
Rich Burridge <rich.burridge@oracle.com>
parents: 293
diff changeset
     7
-#if defined(_EMX) || defined(_BEOS) || defined(__sparc) || defined(sparc) || defined (__VMS)
0efb89d4efa5 7161382 Update unrar to version 4.1.4
Rich Burridge <rich.burridge@oracle.com>
parents: 293
diff changeset
     8
+#if defined(_EMX) || defined(_BEOS) || defined (__VMS)
0efb89d4efa5 7161382 Update unrar to version 4.1.4
Rich Burridge <rich.burridge@oracle.com>
parents: 293
diff changeset
     9
   fgets(StrA,ASIZE(StrA)-1,stdin);
0efb89d4efa5 7161382 Update unrar to version 4.1.4
Rich Burridge <rich.burridge@oracle.com>
parents: 293
diff changeset
    10
 #else
0efb89d4efa5 7161382 Update unrar to version 4.1.4
Rich Burridge <rich.burridge@oracle.com>
parents: 293
diff changeset
    11
   strncpyz(StrA,getpass(""),ASIZE(StrA));