1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

[PATCH] klibc: update to version 0.198

This commit is contained in:
kay.sievers@vrfy.org 2005-01-28 07:53:22 +01:00 committed by Greg KH
parent 6142386306
commit 43ca395e49
7 changed files with 13 additions and 13 deletions

View File

@ -1,6 +1,6 @@
Summary: A minimal libc subset for use with initramfs.
Name: klibc
Version: 0.194
Version: 0.198
Release: 1
License: BSD/GPL
Group: Development/Libraries

View File

@ -59,7 +59,7 @@ LIB = libc.a
INTERP_O = interp.o
all: tests $(CRT0) $(LIB) $(SOLIB) klibc.so
all: tests $(CRT0) $(LIB) $(SOLIB) $(SOHASH) $(INTERP_O)
# Add any architecture-specific rules
include arch/$(ARCH)/Makefile.inc

View File

@ -15,9 +15,10 @@ size_t _fread(void *buf, size_t count, FILE *f)
while ( count ) {
rv = read(fileno(f), p, count);
if ( rv == -1 ) {
if ( errno == EINTR )
if ( errno == EINTR ) {
errno = 0;
continue;
else
} else
break;
} else if ( rv == 0 ) {
break;

View File

@ -15,9 +15,10 @@ size_t _fwrite(const void *buf, size_t count, FILE *f)
while ( count ) {
rv = write(fileno(f), p, count);
if ( rv == -1 ) {
if ( errno == EINTR )
continue;
else
if ( errno == EINTR ) {
errno = 0;
continue;
} else
break;
} else if ( rv == 0 ) {
break;

View File

@ -263,7 +263,7 @@ unsigned char finalcount[8];
char *mybase64(uint8_t digest[20])
{
static const char charz[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+_";
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
uint8_t input[21];
static char output[28];
int i, j;

View File

@ -12,14 +12,12 @@ char *strncat(char *dst, const char *src, size_t n)
char ch;
size_t nn = q-dst;
if ( __likely(nn <= n) )
n -= nn;
while (n--) {
*q++ = ch = *p++;
if ( !ch )
break;
return dst;
}
*q = '\0';
return dst;
}

View File

@ -1 +1 @@
0.196
0.198