search for: 9714bee

Displaying 1 result from an estimated 1 matches for "9714bee".

2007 Aug 23
0
[git patch] klibc dash 0.5.4 update
...oup_array = stalloc(ngroups * sizeof(gid_t)); - getgroups(ngroups, group_array); + if ((getgroups(ngroups, group_array)) != ngroups) + return (0); /* Search through the list looking for GID. */ for (i = 0; i < ngroups; i++) diff --git a/usr/dash/mkinit.c b/usr/dash/mkinit.c index e803751..9714bee 100644 --- a/usr/dash/mkinit.c +++ b/usr/dash/mkinit.c @@ -427,9 +427,12 @@ writetext(struct text *text, FILE *fp) struct block *bp; if (text->start != NULL) { - for (bp = text->start ; bp != text->last ; bp = bp->next) - fwrite(bp->text, sizeof (char), BLOCKSIZE, fp); - fw...