]> git.pld-linux.org Git - packages/php.git/commitdiff
- fix invalid lvalue assignment.
authorPaweł Sikora <pluto@pld-linux.org>
Mon, 14 Feb 2005 01:42:26 +0000 (01:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-gcc4.patch -> 1.1

php-gcc4.patch [new file with mode: 0644]

diff --git a/php-gcc4.patch b/php-gcc4.patch
new file mode 100644 (file)
index 0000000..b4468b3
--- /dev/null
@@ -0,0 +1,11 @@
+--- php-5.0.3/TSRM/TSRM.h.orig 2003-12-03 15:26:41.000000000 +0100
++++ php-5.0.3/TSRM/TSRM.h      2005-02-13 20:57:08.000000000 +0100
+@@ -151,7 +151,7 @@
+ #define TSRMLS_FETCH()                        void ***tsrm_ls = (void ***) ts_resource_ex(0, NULL)
+ #define TSRMLS_FETCH_FROM_CTX(ctx)    void ***tsrm_ls = (void ***) ctx
+-#define TSRMLS_SET_CTX(ctx)           (void ***) ctx = tsrm_ls
++#define TSRMLS_SET_CTX(ctx)           ctx = tsrm_ls
+ #define TSRMG(id, type, element)      (((type) (*((void ***) tsrm_ls))[TSRM_UNSHUFFLE_RSRC_ID(id)])->element)
+ #define TSRMLS_D      void ***tsrm_ls
+ #define TSRMLS_DC     , TSRMLS_D
This page took 2.761877 seconds and 4 git commands to generate.