diff options
author | asami <asami@FreeBSD.org> | 1995-06-22 14:32:41 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1995-06-22 14:32:41 +0800 |
commit | 948daf5fbc376175b9173c06caaeba82078ae2aa (patch) | |
tree | 7b922b743d89505cbfb18c27af46998f66206b29 /mail/xbuffy/files | |
parent | f3f5876fb417312874b61ab0df11baf09b0fc15f (diff) | |
download | freebsd-ports-gnome-948daf5fbc376175b9173c06caaeba82078ae2aa.tar.gz freebsd-ports-gnome-948daf5fbc376175b9173c06caaeba82078ae2aa.tar.zst freebsd-ports-gnome-948daf5fbc376175b9173c06caaeba82078ae2aa.zip |
Another biff replacement.
Submitted by: Dave Chapeskie <dchapes@ale.zeus.leitch.com>
Diffstat (limited to 'mail/xbuffy/files')
-rw-r--r-- | mail/xbuffy/files/patch-aa | 27 | ||||
-rw-r--r-- | mail/xbuffy/files/patch-ac | 29 | ||||
-rw-r--r-- | mail/xbuffy/files/patch-ad | 11 | ||||
-rw-r--r-- | mail/xbuffy/files/patch-ae | 46 | ||||
-rw-r--r-- | mail/xbuffy/files/patch-af | 46 | ||||
-rw-r--r-- | mail/xbuffy/files/patch-ag | 46 | ||||
-rw-r--r-- | mail/xbuffy/files/patch-ah | 12 | ||||
-rw-r--r-- | mail/xbuffy/files/patch-ai | 86 | ||||
-rw-r--r-- | mail/xbuffy/files/patch-ak | 201 |
9 files changed, 504 insertions, 0 deletions
diff --git a/mail/xbuffy/files/patch-aa b/mail/xbuffy/files/patch-aa new file mode 100644 index 000000000000..62bd74c831c4 --- /dev/null +++ b/mail/xbuffy/files/patch-aa @@ -0,0 +1,27 @@ +*** XBuffy.ad.orig Tue Jan 31 16:37:56 1995 +--- XBuffy.ad Wed Jun 21 16:37:30 1995 +*************** +*** 1,11 **** + ! + ! Application Defaults file for XBuffy, this is just meant as an example + ! +! *nobeep: FALSE +! *horiz: FALSE +! *names: FALSE +! *shortnames: TRUE +! *polltime: 30 +! *priority: 15 +! *headertime: 10 +! *mailboxes: /usr/spool/mail/wfp5p:/home/wfp5p/.Mail/elmProblems +--- 1,11 ---- + ! + ! Application Defaults file for XBuffy, this is just meant as an example + ! +! !XBuffy*nobeep: FALSE +! !XBuffy*horiz: TRUE +! !XBuffy*names: FALSE +! !XBuffy*shortnames: TRUE +! XBuffy*polltime: 30 +! XBuffy*priority: 15 +! XBuffy*headertime: 10 +! !XBuffy*mailboxes: /usr/spool/mail/wfp5p:/home/wfp5p/.Mail/elmProblems diff --git a/mail/xbuffy/files/patch-ac b/mail/xbuffy/files/patch-ac new file mode 100644 index 000000000000..b89ba09b8e23 --- /dev/null +++ b/mail/xbuffy/files/patch-ac @@ -0,0 +1,29 @@ +*** libdyn/dyn_append.c.orig Fri Dec 10 14:56:02 1993 +--- libdyn/dyn_append.c Wed Jun 21 16:45:48 1995 +*************** +*** 11,16 **** +--- 11,17 ---- + */ + + #include <stdio.h> ++ #include <string.h> + + #include "dynP.h" + +*************** +*** 20,26 **** + int num; + { + if (obj->debug) +! fprintf(stderr, "dyn: append: Writing %d bytes from %d to %d + %d\n", + obj->el_size*num, els, obj->array, obj->num_el*obj->el_size); + + if (obj->size < obj->num_el + num) { +--- 21,27 ---- + int num; + { + if (obj->debug) +! fprintf(stderr, "dyn: append: Writing %d bytes from %p to %p + %d\n", + obj->el_size*num, els, obj->array, obj->num_el*obj->el_size); + + if (obj->size < obj->num_el + num) { diff --git a/mail/xbuffy/files/patch-ad b/mail/xbuffy/files/patch-ad new file mode 100644 index 000000000000..80dac2fb31c5 --- /dev/null +++ b/mail/xbuffy/files/patch-ad @@ -0,0 +1,11 @@ +*** libdyn/dyn_create.c.orig Fri Dec 10 14:56:02 1993 +--- libdyn/dyn_create.c Wed Jun 21 16:39:16 1995 +*************** +*** 12,17 **** +--- 12,18 ---- + */ + + #include <stdio.h> ++ #include <stdlib.h> + + #include "dynP.h" diff --git a/mail/xbuffy/files/patch-ae b/mail/xbuffy/files/patch-ae new file mode 100644 index 000000000000..2dfa30da136f --- /dev/null +++ b/mail/xbuffy/files/patch-ae @@ -0,0 +1,46 @@ +*** libdyn/dyn_delete.c.orig Fri Dec 10 14:56:03 1993 +--- libdyn/dyn_delete.c Wed Jun 21 16:45:00 1995 +*************** +*** 11,16 **** +--- 11,17 ---- + */ + + #include <stdio.h> ++ #include <string.h> + + #include "dynP.h" + +*************** +*** 45,51 **** + else { + if (obj->debug) + fprintf(stderr, +! "dyn: delete: copying %d bytes from %d + %d to + %d.\n", + obj->el_size*(obj->num_el - index), obj->array, + (index+1)*obj->el_size, index*obj->el_size); + +--- 46,52 ---- + else { + if (obj->debug) + fprintf(stderr, +! "dyn: delete: copying %d bytes from %p + %d to + %d.\n", + obj->el_size*(obj->num_el - index), obj->array, + (index+1)*obj->el_size, index*obj->el_size); + +*************** +*** 56,62 **** + if (obj->paranoid) { + if (obj->debug) + fprintf(stderr, +! "dyn: delete: zeroing %d bytes from %d + %d\n", + obj->el_size, obj->array, + obj->el_size*(obj->num_el - 1)); + bzero(obj->array + obj->el_size*(obj->num_el - 1), +--- 57,63 ---- + if (obj->paranoid) { + if (obj->debug) + fprintf(stderr, +! "dyn: delete: zeroing %d bytes from %p + %d\n", + obj->el_size, obj->array, + obj->el_size*(obj->num_el - 1)); + bzero(obj->array + obj->el_size*(obj->num_el - 1), diff --git a/mail/xbuffy/files/patch-af b/mail/xbuffy/files/patch-af new file mode 100644 index 000000000000..a1d43fb9f586 --- /dev/null +++ b/mail/xbuffy/files/patch-af @@ -0,0 +1,46 @@ +*** libdyn/dyn_insert.c.orig Fri Dec 10 14:56:04 1993 +--- libdyn/dyn_insert.c Wed Jun 21 16:47:42 1995 +*************** +*** 11,16 **** +--- 11,17 ---- + */ + + #include <stdio.h> ++ #include <string.h> + #include "dynP.h" + + int DynInsert(obj, index, els, num) +*************** +*** 35,41 **** + } + + if (obj->debug) +! fprintf(stderr,"dyn: insert: Moving %d bytes from %d + %d to + %d\n", + (obj->num_el-index)*obj->el_size, obj->array, + obj->el_size*index, obj->el_size*(index+num)); + +--- 36,42 ---- + } + + if (obj->debug) +! fprintf(stderr,"dyn: insert: Moving %d bytes from %p + %d to + %d\n", + (obj->num_el-index)*obj->el_size, obj->array, + obj->el_size*index, obj->el_size*(index+num)); + +*************** +*** 46,52 **** + (obj->num_el-index)*obj->el_size); + + if (obj->debug) +! fprintf(stderr, "dyn: insert: Copying %d bytes from %d to %d + %d\n", + obj->el_size*num, els, obj->array, obj->el_size*index); + + bcopy(els, obj->array + obj->el_size*index, obj->el_size*num); +--- 47,53 ---- + (obj->num_el-index)*obj->el_size); + + if (obj->debug) +! fprintf(stderr, "dyn: insert: Copying %d bytes from %p to %p + %d\n", + obj->el_size*num, els, obj->array, obj->el_size*index); + + bcopy(els, obj->array + obj->el_size*index, obj->el_size*num); diff --git a/mail/xbuffy/files/patch-ag b/mail/xbuffy/files/patch-ag new file mode 100644 index 000000000000..ad960f9c0a53 --- /dev/null +++ b/mail/xbuffy/files/patch-ag @@ -0,0 +1,46 @@ +*** libdyn/dyn_put.c.orig Fri Dec 10 14:56:04 1993 +--- libdyn/dyn_put.c Wed Jun 21 16:43:13 1995 +*************** +*** 11,16 **** +--- 11,17 ---- + */ + + #include <stdio.h> ++ #include <string.h> + + #include "dynP.h" + +*************** +*** 34,40 **** + } + + if (obj->debug) +! fprintf(stderr, "dyn: get: Returning address %d + %d.\n", + obj->array, obj->el_size*num); + + return (DynPtr) obj->array + obj->el_size*num; +--- 35,41 ---- + } + + if (obj->debug) +! fprintf(stderr, "dyn: get: Returning address %p + %d.\n", + obj->array, obj->el_size*num); + + return (DynPtr) obj->array + obj->el_size*num; +*************** +*** 67,73 **** + int ret; + + if (obj->debug) +! fprintf(stderr, "dyn: put: Writing %d bytes from %d to %d + %d\n", + obj->el_size, el, obj->array, index*obj->el_size); + + if ((ret = _DynResize(obj, index)) != DYN_OK) +--- 68,74 ---- + int ret; + + if (obj->debug) +! fprintf(stderr, "dyn: put: Writing %d bytes from %p to %p + %d\n", + obj->el_size, el, obj->array, index*obj->el_size); + + if ((ret = _DynResize(obj, index)) != DYN_OK) diff --git a/mail/xbuffy/files/patch-ah b/mail/xbuffy/files/patch-ah new file mode 100644 index 000000000000..19da78be771c --- /dev/null +++ b/mail/xbuffy/files/patch-ah @@ -0,0 +1,12 @@ +*** libdyn/dyn_realloc.c.orig Fri Dec 10 14:56:05 1993 +--- libdyn/dyn_realloc.c Wed Jun 21 16:46:32 1995 +*************** +*** 11,16 **** +--- 11,17 ---- + */ + + #include <stdio.h> ++ #include <stdlib.h> + + #include "dynP.h" + diff --git a/mail/xbuffy/files/patch-ai b/mail/xbuffy/files/patch-ai new file mode 100644 index 000000000000..dd085eaa16b6 --- /dev/null +++ b/mail/xbuffy/files/patch-ai @@ -0,0 +1,86 @@ +*** nntp.c.orig Tue Jan 31 16:37:56 1995 +--- nntp.c Wed Jun 21 19:33:33 1995 +*************** +*** 73,79 **** + } + + +! int initNNTP() + { + char line[1024]; + int err; +--- 73,79 ---- + } + + +! void initNNTP() + { + char line[1024]; + int err; +*************** +*** 101,107 **** + + bcopy(*hp->h_addr_list, (char *) &server.sin_addr, hp->h_length); + +! err = connect(sock, &server, sizeof(server)); + + if (err) + Fatal("connect failed"); +--- 101,107 ---- + + bcopy(*hp->h_addr_list, (char *) &server.sin_addr, hp->h_length); + +! err = connect(sock, (struct sockaddr*)&server, sizeof(server)); + + if (err) + Fatal("connect failed"); +*************** +*** 137,143 **** + + if ((x = atoi(line)) != 221) + { +! if (x = 423) /* then the article just don't exist */ + return (0); + else + Fatal("getHeaders: got a bad value: %s", line); +--- 137,143 ---- + + if ((x = atoi(line)) != 221) + { +! if (x == 423) /* then the article just don't exist */ + return (0); + else + Fatal("getHeaders: got a bad value: %s", line); +*************** +*** 184,190 **** + return (fname); + } + +! int readNewsrcEntry(newsBox, firstArt, lastArt) + BoxInfo_t *newsBox; + long firstArt; + long lastArt; +--- 184,190 ---- + return (fname); + } + +! void readNewsrcEntry(newsBox, firstArt, lastArt) + BoxInfo_t *newsBox; + long firstArt; + long lastArt; +*************** +*** 289,300 **** + DynObject headerString; + Boolean *beenTouched; + { +- int sock, err, len; + char line[1024]; +- long ipaddr; + char *from; + char *subject; +- long firstScanArticle; + long firstArticle; + long lastArticle; + long retVal; +--- 289,297 ---- +[40;1H[K
\ No newline at end of file diff --git a/mail/xbuffy/files/patch-ak b/mail/xbuffy/files/patch-ak new file mode 100644 index 000000000000..558e93b19cce --- /dev/null +++ b/mail/xbuffy/files/patch-ak @@ -0,0 +1,201 @@ +*** xbuffy.c.orig Thu Mar 30 09:57:43 1995 +--- xbuffy.c Wed Jun 21 18:51:45 1995 +*************** +*** 179,193 **** + void CheckBox(i) + int i; + { +! int num; +! char amt[MAX_STRING]; + Arg args[5]; + int nargs; +- static BoxInfo_t *tempNews = 0; + BoxInfo_t *currentBox; +- int found; +- static char *mailHeader = NULL; +- int headerSize; + Boolean beenTouched; + Boolean isIcon = FALSE; + +--- 179,188 ---- + void CheckBox(i) + int i; + { +! int num = 0; + Arg args[5]; + int nargs; + BoxInfo_t *currentBox; + Boolean beenTouched; + Boolean isIcon = FALSE; + +*************** +*** 276,283 **** + char amt[MAX_STRING]; + char fmtString[MAX_STRING]; + char *ptr; +! int offset; +! Boolean name, shortName; + Arg args[5]; + int nargs; + +--- 271,277 ---- + char amt[MAX_STRING]; + char fmtString[MAX_STRING]; + char *ptr; +! int offset; + Arg args[5]; + int nargs; + +*************** +*** 439,445 **** + static XtIntervalId timerID; + static int rootH = 0; + static int rootW = 0; +! int number; + static Boolean firstTime = TRUE; + static DynObject mailHeaders; + static char *hdrPtr; +--- 433,439 ---- + static XtIntervalId timerID; + static int rootH = 0; + static int rootW = 0; +! int number = 0; + static Boolean firstTime = TRUE; + static DynObject mailHeaders; + static char *hdrPtr; +*************** +*** 620,631 **** + XEvent *event; + Boolean *cont; + { +- char *command; + BoxInfo_t *currentBox; +- char *tmp; +- char buf[512]; +- char *av[5]; +- int ac = 0; + + currentBox = &boxInfo[i]; + +--- 614,620 ---- +*************** +*** 665,671 **** + char buffer[MAX_STRING]; + char From[MAX_STRING], Subject[MAX_STRING]; + register int count = 0; +! int status; + register Boolean in_header = FALSE; + struct stat f_stat; + +--- 654,660 ---- + char buffer[MAX_STRING]; + char From[MAX_STRING], Subject[MAX_STRING]; + register int count = 0; +! int status = UNKNOWN; + register Boolean in_header = FALSE; + struct stat f_stat; + +*************** +*** 697,704 **** + + while (fgets(buffer, MAX_STRING - 2, fp) != 0) + { +! long CL; +! int has_CL; + + buffer[MAX_STRING - 1] = '\0'; /* just in case */ + if ((strchr(buffer, '\n') == NULL) && (!feof(fp))) +--- 686,693 ---- + + while (fgets(buffer, MAX_STRING - 2, fp) != 0) + { +! long CL = 0L; +! int has_CL = FALSE; + + buffer[MAX_STRING - 1] = '\0'; /* just in case */ + if ((strchr(buffer, '\n') == NULL) && (!feof(fp))) +*************** +*** 836,842 **** + tempBox.type = BoxType; + tempBox.boxNum = nBoxes; + +! if (BoxType = NNTPBOX) + { + tempBox.articles = DynCreate(sizeof(Articles_t), 2); + #ifdef DEBUG +--- 825,831 ---- + tempBox.type = BoxType; + tempBox.boxNum = nBoxes; + +! if (BoxType == NNTPBOX) + { + tempBox.articles = DynCreate(sizeof(Articles_t), 2); + #ifdef DEBUG +*************** +*** 902,908 **** + { + char *mailPath = 0; + char *boxes = 0; +- int pos = 0; + char *str = 0; + + /* get mail path */ +--- 891,896 ---- +*************** +*** 946,952 **** + { + char *newsPath = 0; + char *boxes = 0; +- int pos = 0; + char *str = 0; + + /* get nntp path */ +--- 934,939 ---- +*************** +*** 1023,1028 **** +--- 1010,1016 ---- + break; + case NONE: + case USR: ++ case UNDEF: + break; + } + +*************** +*** 1039,1044 **** +--- 1027,1033 ---- + break; + case NONE: + case USR: ++ case UNDEF: + break; + } + +*************** +*** 1100,1113 **** + }; + + #endif +- FILE *boxes; + static Boolean mailArgs; + Widget form; +- Widget command; + int i; + char *check; + char name[MAX_STRING]; +- Pixel bg, fg; + Arg args[5]; + int nargs; + int pid; +--- 1089,1099 ---- +*************** +*** 1223,1230 **** + #ifdef NNTP + else + { +- int dummy; +- + initBox(NEWstrdup(*argv), NNTPBOX, envPolltime, envHeadertime, + UNDEF, data.command, data.audioCmd, NULL, data.origMode, data.nobeep,NULL,NULL); + +--- 1209,1214 ---- |