~sergiusens/libhybris/autotests

« back to all changes in this revision

Viewing changes to debian/patches/0011-hooks.c-no-need-to-map-strcasestr.patch

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo
  • Date: 2013-06-24 23:03:45 UTC
  • Revision ID: package-import@ubuntu.com-20130624230345-6878jmp7is1uywe0
Tags: 0.1.0+git20130606+c5d897a-0ubuntu5
* 0010-hardware-include-adding-audio-hal-related-headers-fr.patch:
  - Updating based on the version set upstream
* Adding 0011-hooks.c-no-need-to-map-strcasestr.patch:
  - Remove hook for strcasesrt, glibc verision behaves differently

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
 
2
Subject: hooks.c: no need to map strcasestr
 
3
 
 
4
Glibc implementation has a different behavior (e.g mako's android audio
 
5
HAL fails to parse alsa ucm file), and mapping is not needed.
 
6
 
 
7
Origin: vendor
 
8
Forwarded: yes
 
9
---
 
10
 hybris/common/hooks.c | 1 -
 
11
 1 file changed, 1 deletion(-)
 
12
 
 
13
diff --git a/hybris/common/hooks.c b/hybris/common/hooks.c
 
14
index 6a10f7e..2a176f7 100644
 
15
--- a/hybris/common/hooks.c
 
16
+++ b/hybris/common/hooks.c
 
17
@@ -1238,7 +1238,6 @@ static struct _hook hooks[] = {
 
18
     {"strncasecmp",strncasecmp},
 
19
     {"strdup",strdup},
 
20
     {"strstr",strstr},
 
21
-    {"strcasestr",strcasestr},
 
22
     {"strtok",strtok},
 
23
     {"strtok_r",strtok_r},
 
24
     {"strerror",strerror},
 
25
-- 
 
26
1.8.3.1
 
27