summaryrefslogtreecommitdiffstats
path: root/mail/procmail/files/patch-aa
blob: 3eee51edcd64d20d08ce4b985d18a6fb72830098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
*** Makefile.1.old	Thu Sep  8 20:11:33 1994
--- Makefile.1	Fri Oct  7 04:15:50 1994
***************
*** 93,105 ****
  	@for a in $(MANS1S); \
  	  do $(INSTALL) new/$$a.1 $(MAN1DIR)/$$a.$(MAN1SUFFIX); \
  	     if test "X$(MANCOMPRESS)" != "X"; \
! 	     then $(MANCOMPRESS) <new/$$a.1 >$(MAN1DIR)/$$a.$(MAN1SUFFIX); \
  	     else :; fi; \
  	  done
  	@for a in $(MANS5S); \
  	  do $(INSTALL) new/$$a.5 $(MAN5DIR)/$$a.$(MAN5SUFFIX); \
  	     if test "X$(MANCOMPRESS)" != "X"; \
! 	     then $(MANCOMPRESS) <new/$$a.5 >$(MAN5DIR)/$$a.$(MAN5SUFFIX); \
  	     else :; fi; \
  	  done
  	echo Housekeeping file >install.man
--- 93,105 ----
  	@for a in $(MANS1S); \
  	  do $(INSTALL) new/$$a.1 $(MAN1DIR)/$$a.$(MAN1SUFFIX); \
  	     if test "X$(MANCOMPRESS)" != "X"; \
! 	     then "$(MANCOMPRESS)" <new/$$a.1 >$(MAN1DIR)/$$a.$(MAN1SUFFIX); \
  	     else :; fi; \
  	  done
  	@for a in $(MANS5S); \
  	  do $(INSTALL) new/$$a.5 $(MAN5DIR)/$$a.$(MAN5SUFFIX); \
  	     if test "X$(MANCOMPRESS)" != "X"; \
! 	     then "$(MANCOMPRESS)" <new/$$a.5 >$(MAN5DIR)/$$a.$(MAN5SUFFIX); \
  	     else :; fi; \
  	  done
  	echo Housekeeping file >install.man
*** src/formail.c	Mon Oct 31 18:30:09 1994
--- src/formail.c	Sat Nov 19 13:09:22 1994
***************
*** 35,41 ****
   x_[]=			"X-",				/* general extension */
   old_[]=		OLD_PREFIX,			     /* my extension */
   xloop[]=		"X-Loop:",				/* ditto ... */
!  daemon[]="<>",unknown[]=UNKNOWN,re[]=" Re:",fmusage[]=FM_USAGE;
  
  static const struct {const char*hedr;int lnr;}cdigest[]=
  {
--- 35,41 ----
   x_[]=			"X-",				/* general extension */
   old_[]=		OLD_PREFIX,			     /* my extension */
   xloop[]=		"X-Loop:",				/* ditto ... */
!  mdaemon[]="<>",unknown[]=UNKNOWN,re[]=" Re:",fmusage[]=FM_USAGE;
  
  static const struct {const char*hedr;int lnr;}cdigest[]=
  {
***************
*** 275,281 ****
  	      goto pnewname;
  	 }
  	else if(sest[i].head==returnpath)		/* nill Return-Path: */
! 	 { saddr=(char*)daemon;nowm=maxindex(sest)+2;		 /* override */
  pnewname:  lastm=nowm;saddr=strcpy(malloc(strlen(saddr)+1),saddr);
  	   if(namep)
  	      free(namep);
--- 275,281 ----
  	      goto pnewname;
  	 }
  	else if(sest[i].head==returnpath)		/* nill Return-Path: */
! 	 { saddr=(char*)mdaemon;nowm=maxindex(sest)+2;		 /* override */
  pnewname:  lastm=nowm;saddr=strcpy(malloc(strlen(saddr)+1),saddr);
  	   if(namep)
  	      free(namep);
*** src/misc.c.old	Wed Jan 11 18:11:02 1995
--- src/misc.c	Wed Jan 11 17:40:33 1995
***************
*** 290,296 ****
  { if(sp->filled==sp->tspace)			    /* growth limit reached? */
     { if(!sp->offs)
  	sp->offs=malloc(1);
!      sp->offs=realloc(sp->offs,(sp->tspace+=4)*sizeof sp->offs);   /* expand */
     }
    sp->offs[sp->filled++]=val;				     /* append to it */
  }
--- 290,296 ----
  { if(sp->filled==sp->tspace)			    /* growth limit reached? */
     { if(!sp->offs)
  	sp->offs=malloc(1);
!      sp->offs=realloc(sp->offs,(sp->tspace+=4)*sizeof(off_t));   /* expand */
     }
    sp->offs[sp->filled++]=val;				     /* append to it */
  }
OpenPOWER on IntegriCloud