Displaying 1 result from an estimated 1 matches for "av_count".
Did you mean:
kv_count
2011 Jun 20
2
Re: Help compiling an older version of wine on 64 bit Fedora 14
...dex 83a5172..2dc2872 100644
--- a/loader/preloader.c
+++ b/loader/preloader.c
@@ -519,7 +519,7 @@ static void set_auxiliary_values( ElfW(auxv_t) *av, const ElfW(auxv_t) *new_av,
}
else if (new_count < delete_count) /* get rid of unused values */
{
- int len = (char *)(av + av_count + 1) - dst;
+ int len = (char *)(av + av_count + 1) - src;
for (i = len - 1; i >= 0; i--) dst[i] = src[i];
}
*stack = dst;
---
in wine source directory I typed:
Code:
$ patch -p1 < winepatch.diff
and this seemed to patch the code okay.
I built wine in the...