Blame SOURCES/procmail-3.22-getline.patch

766047
diff -up procmail-3.22/src/fields.c.getline procmail-3.22/src/fields.c
766047
--- procmail-3.22/src/fields.c.getline	2001-09-11 06:57:08.000000000 +0200
766047
+++ procmail-3.22/src/fields.c	2009-06-30 16:10:36.000000000 +0200
766047
@@ -110,16 +110,16 @@ void dispfield(p)register const struct f
766047
 		    /* try and append one valid field to rdheader from stdin */
766047
 int readhead P((void))
766047
 { int idlen;
766047
-  getline();
766047
+  get_line();
766047
   if((idlen=breakfield(buf,buffilled))<=0) /* not the start of a valid field */
766047
      return 0;
766047
   if(idlen==STRLEN(FROM)&&eqFrom_(buf))			/* it's a From_ line */
766047
    { if(rdheader)
766047
 	return 0;			       /* the From_ line was a fake! */
766047
-     for(;buflast=='>';getline());	    /* gather continued >From_ lines */
766047
+     for(;buflast=='>';get_line());	    /* gather continued >From_ lines */
766047
    }
766047
   else
766047
-     for(;;getline())		      /* get the rest of the continued field */
766047
+     for(;;get_line())		      /* get the rest of the continued field */
766047
       { switch(buflast)			     /* will this line be continued? */
766047
 	 { case ' ':case '\t':				  /* yep, it sure is */
766047
 	      continue;
766047
diff -up procmail-3.22/src/formail.c.getline procmail-3.22/src/formail.c
766047
--- procmail-3.22/src/formail.c.getline	2009-06-30 16:00:40.000000000 +0200
766047
+++ procmail-3.22/src/formail.c	2009-06-30 16:10:49.000000000 +0200
766047
@@ -819,7 +819,7 @@ splitit:       { if(!lnl)   /* did the p
766047
       { if(split)		       /* gobble up the next start separator */
766047
 	 { buffilled=0;
766047
 #ifdef sMAILBOX_SEPARATOR
766047
-	   getline();buffilled=0;		 /* but only if it's defined */
766047
+	   get_line();buffilled=0;		 /* but only if it's defined */
766047
 #endif
766047
 	   if(buflast!=EOF)					   /* if any */
766047
 	      goto splitit;
766047
diff -up procmail-3.22/src/formisc.c.getline procmail-3.22/src/formisc.c
766047
--- procmail-3.22/src/formisc.c.getline	2001-06-29 04:20:45.000000000 +0200
766047
+++ procmail-3.22/src/formisc.c	2009-06-30 16:12:20.000000000 +0200
766047
@@ -115,7 +115,7 @@ void loadchar(c)const int c;		      /* a
766047
   buf[buffilled++]=c;
766047
 }
766047
 
766047
-int getline P((void))			   /* read a newline-terminated line */
766047
+int get_line P((void))			   /* read a newline-terminated line */
766047
 { if(buflast==EOF)			 /* at the end of our Latin already? */
766047
    { loadchar('\n');					  /* fake empty line */
766047
      return EOF;					  /* spread the word */
766047
diff -up procmail-3.22/src/formisc.h.getline procmail-3.22/src/formisc.h
766047
--- procmail-3.22/src/formisc.h.getline	1999-04-19 08:42:15.000000000 +0200
766047
+++ procmail-3.22/src/formisc.h	2009-06-30 16:10:02.000000000 +0200
766047
@@ -17,4 +17,4 @@ void
766047
 char*
766047
  skipwords P((char*start));
766047
 int
766047
- getline P((void));
766047
+ get_line P((void));