/branches/sparc/uspace/app/bdsh/cmds/modules/cat/cat.c |
103,13 → 103,11 |
} |
|
do { |
memset(buff, 0, sizeof(buff)); |
bytes = read(fd, buff, blen); |
if (bytes > 0) { |
count += bytes; |
if (bytes < blen) |
buff[bytes] = '\0'; |
printf(buff); |
buff[bytes] = '\0'; |
printf("%s", buff); |
reads++; |
} |
} while (bytes > 0); |
/branches/sparc/uspace/app/tester/Makefile |
29,6 → 29,8 |
## Setup toolchain |
# |
|
include ../../Makefile.config |
|
LIBC_PREFIX = ../../lib/libc |
SOFTINT_PREFIX = ../../lib/softint |
include $(LIBC_PREFIX)/Makefile.toolchain |
/branches/sparc/uspace/app/klog/Makefile |
29,6 → 29,8 |
## Setup toolchain |
# |
|
include ../../Makefile.config |
|
LIBC_PREFIX = ../../lib/libc |
SOFTINT_PREFIX = ../../lib/softint |
include $(LIBC_PREFIX)/Makefile.toolchain |
/branches/sparc/uspace/app/trace/Makefile |
29,6 → 29,8 |
## Setup toolchain |
# |
|
include ../../Makefile.config |
|
LIBC_PREFIX = ../../lib/libc |
SOFTINT_PREFIX = ../../lib/softint |
include $(LIBC_PREFIX)/Makefile.toolchain |