summaryrefslogtreecommitdiff
path: root/meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-02-14 01:18:44 +0000
committerRichard Purdie <richard@openedhand.com>2008-02-14 01:18:44 +0000
commit54566e6f90dbe5ca89a7d8ddb5843ea406bc3cc4 (patch)
tree1cc2f47d0e0d4ed361525db43a3652022ce4e5bd /meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch
parentb0a6e92f31355dffd1515d9399d100289ebbce25 (diff)
downloadopenembedded-core-54566e6f90dbe5ca89a7d8ddb5843ea406bc3cc4.tar.gz
openembedded-core-54566e6f90dbe5ca89a7d8ddb5843ea406bc3cc4.tar.bz2
openembedded-core-54566e6f90dbe5ca89a7d8ddb5843ea406bc3cc4.tar.xz
openembedded-core-54566e6f90dbe5ca89a7d8ddb5843ea406bc3cc4.zip
uclibc: Sync patches with OE, fix KERNEL variables to match sysroot changes, add patch to fix alignment problems on armv5e devices
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3795 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch')
-rw-r--r--meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch b/meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch
new file mode 100644
index 000000000..7b246c1ad
--- /dev/null
+++ b/meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-fix-gethostent_r-failure-retval.patch
@@ -0,0 +1,12 @@
+diff -ur uClibc-0.9.29/libc/inet/resolv.c uClibc-0.9.29-patched/libc/inet/resolv.c
+--- uClibc-0.9.29/libc/inet/resolv.c 2007-04-23 12:01:05.000000000 -0500
++++ uClibc-0.9.29-patched/libc/inet/resolv.c 2007-05-09 18:05:33.563404419 -0500
+@@ -1700,7 +1700,7 @@
+ int gethostent_r(struct hostent *result_buf, char *buf, size_t buflen,
+ struct hostent **result, int *h_errnop)
+ {
+- int ret;
++ int ret = HOST_NOT_FOUND;
+
+ __UCLIBC_MUTEX_LOCK(mylock);
+ if (__gethostent_fp == NULL) {