summaryrefslogtreecommitdiff
path: root/mail/evolution-devel/files/patch-ah
blob: 92e9ce53367102f23585a0afd096264da252ae6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- mail/mail-crypto.c.orig	Fri Aug 11 15:27:12 2000
+++ mail/mail-crypto.c	Wed Aug 23 11:17:44 2000
@@ -189,7 +189,7 @@
 
         passwd_next = passphrase;
         passwd_remaining = strlen (passphrase);
-        passwd_incr = fpathconf (passwd_fds[1], _PC_PIPE_BUF);
+        passwd_incr = 1024; /* XXX: no fpathconf() in libc_r? */
 	/* Use a reasonable default value on error. */
         if (passwd_incr <= 0)
 		passwd_incr = 1024;
@@ -197,7 +197,7 @@
 
 	input_next = input;
 	input_remaining = strlen (input);
-	input_incr = fpathconf (ip_fds[1], _PC_PIPE_BUF);
+	input_incr = 1024; /* XXX: no fpathconf() in libc_r? */
 	if (input_incr <= 0)
                 input_incr = 1024;
 	input_eof_seen = FALSE;