]> git.pld-linux.org Git - packages/apache-mod_watch.git/blob - apache-mod_watch-shm-fix.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/apache-mod_watch.git] / apache-mod_watch-shm-fix.patch
1 --- mod_watch-4.3/SharedHash.c~ 2003-03-14 10:56:44.000000000 +0100
2 +++ mod_watch-4.3/SharedHash.c  2011-03-10 19:27:57.164192958 +0100
3 @@ -99,7 +99,7 @@
4  char *
5  shVerifyString(struct shTable *tp, char *str)
6  {
7 -       if ((char *) tp->shared <= str && str < (char *) tp->eshared) {
8 +       if ((char *) apr_shm_baseaddr_get(tp->shared) <= str && str < (char *) tp->eshared) {
9                 if (str + strlen(str) < (char *) tp->eshared)
10                         return str;
11         }
This page took 0.046465 seconds and 3 git commands to generate.