Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37536898
en ru br
ALT Linux repos
5.0: 4.64L-alt5.1
4.1: 4.64L-alt5
4.0: 4.64L-alt4.1
3.0: 4.58L-alt4
+backports:4.64L-alt0.M30.4

Group :: Networking/Mail
RPM: pine

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: pine4.10-c-client_directory_with_driver.patch
Download


--- pine4.10/imap/src/osdep/unix/dummy.c.orig	Thu Jul 15 02:33:39 1999
+++ pine4.10/imap/src/osdep/unix/dummy.c	Thu Jul 15 02:36:42 1999
@@ -331,7 +331,10 @@
   DRIVER *d;
 				/* don't \NoSelect if have a driver for it */
   if ((attributes & LATT_NOSELECT) && (d = mail_valid (NIL,name,NIL)) &&
-      (d != &dummydriver)) attributes &= ~LATT_NOSELECT;
+      (d != &dummydriver)) {
+    attributes &= ~LATT_NOSELECT;
+    attributes |= LATT_NOINFERIORS;
+  }
   if (contents) {		/* want to search contents? */
 				/* forget it if can't select or open */
     if ((attributes & LATT_NOSELECT) || !(csiz = strlen (contents)) ||
@@ -353,7 +356,8 @@
   }
 				/* notify main program */
   mm_list (stream,delimiter,name,attributes);
-  return T;
+  if (attributes & LATT_NOINFERIORS) return NIL;
+  else return T;
 }
 
 /* Dummy create mailbox
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin