* Some build fixes for diet libc have been made.

This commit is contained in:
Gunnar Ritter
2005-01-16 13:47:23 +00:00
parent bac07daedd
commit 3a23482887
5 changed files with 16 additions and 5 deletions

View File

@@ -73,7 +73,7 @@
#ifndef lint
#ifdef DOSCCS
static char sccsid[] = "@(#)ex_vget.c 1.26 (gritter) 11/27/04";
static char sccsid[] = "@(#)ex_vget.c 1.27 (gritter) 1/16/05";
#endif
#endif
@@ -579,10 +579,14 @@ imacpush(int *ip, int canundo)
char buf[BUFSIZ], *bp = buf;
int n;
#ifdef MB
do {
n = wctomb(bp, *ip&TRIM);
bp += n;
} while (*ip++);
#else /* !MB */
while (*bp++ = *ip++);
#endif /* !MB */
macpush(buf, canundo);
}