diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-27 23:05:23 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-27 23:05:23 +0200 |
commit | f9dbebde256ec6c5bdcd5ec9318d5a312ae62198 (patch) | |
tree | 550edcca3102da54c3222f29890e38a8a4bb2b00 /package/alsa-utils/patches/patch-alsactl_init_parse_c | |
parent | 6f58e88ce0c721c8954898f81c9fbf8088fcba13 (diff) |
update packages, fix rb532 ext2 rootfs
- update alsa, asterisk and nfs-utils
- fix ext2fs rootfs on rb532
Diffstat (limited to 'package/alsa-utils/patches/patch-alsactl_init_parse_c')
-rw-r--r-- | package/alsa-utils/patches/patch-alsactl_init_parse_c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/package/alsa-utils/patches/patch-alsactl_init_parse_c b/package/alsa-utils/patches/patch-alsactl_init_parse_c deleted file mode 100644 index fca7eedd9..000000000 --- a/package/alsa-utils/patches/patch-alsactl_init_parse_c +++ /dev/null @@ -1,21 +0,0 @@ -$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- alsa-utils-1.0.19.orig/alsactl/init_parse.c 2009-01-19 12:17:19.000000000 +0100 -+++ alsa-utils-1.0.19/alsactl/init_parse.c 2009-05-09 04:56:45.000000000 +0200 -@@ -381,7 +381,7 @@ static int set_ctl_value(struct space *s - snd_ctl_elem_value_set_integer(space->ctl_value, idx, val); - } else if (items > 2 && value[items-2] == 'd' && value[items-1] == 'B') { - val = strtol(value, NULL, 0) * 100; -- if ((pos2 = index(value, '.')) != NULL) { -+ if ((pos2 = strchr(value, '.')) != NULL) { - if (isdigit(*(pos2-1)) && isdigit(*(pos2-2))) { - if (val < 0) - val -= strtol(pos2 + 1, NULL, 0); -@@ -1253,7 +1253,7 @@ static char *new_root_dir(const char *fi - - res = strdup(filename); - if (res) { -- tmp = rindex(res, '/'); -+ tmp = strrchr(res, '/'); - if (tmp) - *tmp = '\0'; - } |