version 1.9, 2010/09/22 21:04:16
|
version 1.10, 2010/09/22 21:06:49
|
Line 1469 const static signed char *const *const s
|
Line 1469 const static signed char *const *const s
|
|
|
static void gentab(struct sitab *st, struct timeval *tv) |
static void gentab(struct sitab *st, struct timeval *tv) |
{ |
{ |
int l; |
int i, l; |
unsigned char *b; |
unsigned char *b; |
memset(&descrcnt[0], 0, sizeof(descrcnt)); |
memset(&descrcnt[0], 0, sizeof(descrcnt)); |
l = st->pid - TABLE_PID_FIRST; |
i = st->pid - TABLE_PID_FIRST; |
b = &tabbuf[l][tabin[l]]; |
b = &tabbuf[i][tabin[i]]; |
*b++ = st->pid >> 8; |
*b++ = st->pid >> 8; |
*b++ = st->pid; |
*b++ = st->pid; |
switch (st->esi) { |
switch (st->esi) { |
Line 1490 static void gentab(struct sitab *st, str
|
Line 1490 static void gentab(struct sitab *st, str
|
fprintf(stderr, "internal error (gentab, %d)\n", st->esi); |
fprintf(stderr, "internal error (gentab, %d)\n", st->esi); |
exit(1); |
exit(1); |
} |
} |
tabin[st->pid - TABLE_PID_FIRST] += l+2; |
tabin[i] += l+2; |
} |
} |
|
|
static enum enumsi alloctab(long pid, long tid) |
static enum enumsi alloctab(long pid, long tid) |