Return to buf.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.41, 2006/03/28 02:13:44 | version 1.42, 2006/04/05 01:38:55 | ||
---|---|---|---|
|
|
||
{ | { | ||
BUF *b; | BUF *b; | ||
b = (BUF *)xmalloc(sizeof(*b)); | b = xmalloc(sizeof(*b)); | ||
/* Postpone creation of zero-sized buffers */ | /* Postpone creation of zero-sized buffers */ | ||
if (len > 0) { | if (len > 0) { | ||
b->cb_buf = xmalloc(len); | b->cb_buf = xmalloc(len); |