summaryrefslogtreecommitdiff
path: root/japanese/pine/files/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/pine/files/patch-ag')
-rw-r--r--japanese/pine/files/patch-ag46
1 files changed, 35 insertions, 11 deletions
diff --git a/japanese/pine/files/patch-ag b/japanese/pine/files/patch-ag
index e562fb4a67d3..62e141e4ddf6 100644
--- a/japanese/pine/files/patch-ag
+++ b/japanese/pine/files/patch-ag
@@ -1,12 +1,36 @@
-*** pico/os_unix.c Thu Aug 11 21:13:34 1994
---- pico/os_unix.c Fri Sep 2 02:35:45 1994
+*** imap/ANSI/c-client/mh.c.orig Thu May 16 03:49:54 1996
+--- imap/ANSI/c-client/mh.c Fri Sep 20 13:44:42 1996
***************
-*** 952,956 ****
---- 952,958 ----
- int err;
- {
-+ #ifndef __FreeBSD__
- extern char *sys_errlist[];
-+ #endif
- extern int sys_nerr;
-
+*** 807,813 ****
+ stat (LOCAL->dir,&sbuf);
+ if (sbuf.st_ctime != LOCAL->scantime) {
+ struct direct **names = NIL;
+! long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort);
+ old = nmsgs ? mail_elt (stream,nmsgs)->data1 : 0;
+ /* note scanned now */
+ LOCAL->scantime = sbuf.st_ctime;
+--- 807,813 ----
+ stat (LOCAL->dir,&sbuf);
+ if (sbuf.st_ctime != LOCAL->scantime) {
+ struct direct **names = NIL;
+! long nfiles = scandir (LOCAL->dir,&names,mh_select,(void*)mh_numsort);
+ old = nmsgs ? mail_elt (stream,nmsgs)->data1 : 0;
+ /* note scanned now */
+ LOCAL->scantime = sbuf.st_ctime;
+***************
+*** 1049,1055 ****
+ return NIL;
+ }
+ mh_file (tmp,mailbox); /* build file name we will use */
+! if (nfiles = scandir (tmp,&names,mh_select,mh_numsort)) {
+ /* largest number */
+ last = atoi (names[nfiles-1]->d_name);
+ for (i = 0; i < nfiles; ++i) /* free directory */
+--- 1049,1055 ----
+ return NIL;
+ }
+ mh_file (tmp,mailbox); /* build file name we will use */
+! if (nfiles = scandir (tmp,&names,mh_select,(void*)mh_numsort)) {
+ /* largest number */
+ last = atoi (names[nfiles-1]->d_name);
+ for (i = 0; i < nfiles; ++i) /* free directory */