version 1.6, 2009/02/24 07:30:15 |
version 1.7, 2010/04/23 05:34:05 |
Line 6 static char rcsid[]= |
|
Line 6 static char rcsid[]= |
|
#endif /* lint */ |
#endif /* lint */ |
|
|
#include <stdio.h> |
#include <stdio.h> |
|
#include <stdlib.h> |
|
#include <string.h> |
#include <signal.h> |
#include <signal.h> |
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/stat.h> |
#include <sys/stat.h> |
Line 545 int set_buffer (bp, size) |
|
Line 547 int set_buffer (bp, size) |
|
BUFFER *bp; |
BUFFER *bp; |
int size; |
int size; |
{ |
{ |
char *newbuf, *malloc(), *realloc(); |
char *newbuf; |
|
|
if (bp->b_buf) |
if (bp->b_buf) |
newbuf = (char *) realloc (bp->b_buf, size); |
newbuf = (char *) realloc (bp->b_buf, size); |