tags 552862 + confirmed patch thanks Hi, I can confirm this FTBFS on i386 too... The following patch seems to fix the issue.
Regards, Ruben Molina
--- postman-2.1.orig/cgi-lib.c +++ postman-2.1/cgi-lib.c @@ -235,7 +235,7 @@ /* stolen from k&r and seriously modified to do what I want */ -int getline(char s[], int lim) +int mygetline(char s[], int lim) { int c = 0, i=0, num; @@ -282,9 +282,9 @@ list_create(entries); window = entries->head; //ignore first boundary; this isn't so robust; improve it later - getline(buffer,BUFSIZ); + mygetline(buffer,BUFSIZ); //now start parsing - while ((bytesread=getline(buffer,BUFSIZ)) != 0) + while ((bytesread=mygetline(buffer,BUFSIZ)) != 0) { start = 1; // this assumes that buffer contains no binary characters. if the buffer contains the first valid header, then this @@ -358,7 +358,7 @@ else isfile = 0; //ignore rest of headers and first blank line - while (getline(buffer, BUFSIZ) > 1) + while (mygetline(buffer, BUFSIZ) > 1) { //DOS style blank line? if ((buffer[0] == '\r') && (buffer[1] == '\n')) break; @@ -367,7 +367,7 @@ j = 0; while (!done) { - bytesread = getline(buffer,BUFSIZ); + bytesread = mygetline(buffer,BUFSIZ); buffer[bytesread] = '\0'; if (bytesread && strstr(buffer,boundary) == NULL) {
signature.asc
Description: Esta parte del mensaje está firmada digitalmente