home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_09_01
/
9n01104e
< prev
next >
Wrap
Text File
|
1990-10-04
|
451b
|
15 lines
s = Tcl_GetVar(interp,"match_max",0);
if (buf_size != (new_size = 2*atoi(s))) {
if (0 == (new_buf = realloc(buf,new_size+1))) {
tcl_error("failed to grow match buf to %d bytes",
new_size);
return(TCL_ERROR);
}
buf_size = new_size;
buf = new_buf;
}
Listing 5