1 |
/* |
/* |
2 |
Copyright (C) 1997,98,99,2001 Free Software Foundation, Inc. |
Copyright (C) 1997,98,99,2001,02 Free Software Foundation, Inc. |
3 |
Written by Thomas Bushnell, n/BSG. |
Written by Thomas Bushnell, n/BSG. |
4 |
|
|
5 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
221 |
int entry, |
int entry, |
222 |
int nentries, |
int nentries, |
223 |
char **data, |
char **data, |
224 |
u_int *datacnt, |
size_t *datacnt, |
225 |
vm_size_t bufsiz, |
vm_size_t bufsiz, |
226 |
int *amt) |
int *amt) |
227 |
{ |
{ |
333 |
if (datap - *data + reclen > allocsize) |
if (datap - *data + reclen > allocsize) |
334 |
{ |
{ |
335 |
vm_address_t newdata; |
vm_address_t newdata; |
336 |
|
|
337 |
vm_allocate (mach_task_self (), &newdata, |
vm_allocate (mach_task_self (), &newdata, |
338 |
(ouralloc |
(ouralloc |
339 |
? (allocsize *= 2) |
? (allocsize *= 2) |