patches/uClibc/0.9.28/000-string-functions.patch
author |
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
|
Mon Jul 07 21:25:57 2008 +0000 (2008-07-07) |
changeset 642 |
887ce0523903 |
permissions |
-rw-r--r-- |
Although working with bash, 'echo -n' is really non-portable.
Get rid of this by using printf(1) with no trailing new-line (\n).
Again, thanks to Martin GUY, who pointed this issue.
/trunk/kconfig/kconfig.mk | 2 1 1 0
/trunk/scripts/build/libc_uClibc.sh | 4 3 1 0 ++
/trunk/scripts/showSamples.sh | 78 39 39 0 +++++++++++++++++++++---------------------
3 files changed, 43 insertions(+), 41 deletions(-)
yann@1
|
1 |
--- uClibc.orig/libc/Makefile 2005-07-20 08:10:44.000000000 +0200
|
yann@1
|
2 |
+++ uclibc/libc/Makefile 2005-07-28 13:33:40.000000000 +0200
|
yann@1
|
3 |
@@ -59,7 +59,7 @@
|
yann@1
|
4 |
$(AR) dN 2 $(LIBNAME) $$objs && \
|
yann@1
|
5 |
$(AR) dN 2 $(LIBNAME) $$objs
|
yann@1
|
6 |
@for objfile in obj.signal \
|
yann@1
|
7 |
- obj.string.generic obj.string.$(TARGET_ARCH) obj.string \
|
yann@1
|
8 |
+ obj.string obj.string.generic obj.string.$(TARGET_ARCH) \
|
yann@1
|
9 |
obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \
|
yann@1
|
10 |
if [ -e $$objfile ] ; then \
|
yann@1
|
11 |
echo $(AR) $(ARFLAGS) $(LIBNAME) $$objfile ; \
|