logo       

cvs: TSRM / TSRM.c: msg#00010

Subject: cvs: TSRM / TSRM.c
helly           Wed May 12 18:17:03 2004 EDT

  Modified files:              
    /TSRM       TSRM.c 
  Log:
  ifdef out the ts_free_id until php 5.1 and until it is complete
  
  
http://cvs.php.net/diff.php/TSRM/TSRM.c?r1=1.57&r2=1.58&ty=u
Index: TSRM/TSRM.c
diff -u TSRM/TSRM.c:1.57 TSRM/TSRM.c:1.58
--- TSRM/TSRM.c:1.57    Wed May 12 06:30:46 2004
+++ TSRM/TSRM.c Wed May 12 18:17:01 2004
@@ -159,9 +159,11 @@
                                next_p = p->next;
                                for (j=0; j<p->count; j++) {
                                        if (p->storage[j]) {
+#if MBO_0
                                                if (resource_types_table && 
resource_types_table[j].dtor) {
                                                        
resource_types_table[j].dtor(p->storage[j], &p->storage);
                                                }
+#endif
                                                free(p->storage[j]);
                                        }
                                }
@@ -422,6 +424,7 @@
 /* deallocates all occurrences of a given id */
 void ts_free_id(ts_rsrc_id id)
 {
+#if MBO_0
        int i;
        int j = TSRM_UNSHUFFLE_RSRC_ID(id);
 
@@ -449,6 +452,7 @@
        tsrm_mutex_unlock(tsmm_mutex);
 
        TSRM_ERROR((TSRM_ERROR_LEVEL_CORE, "Successfully freed resource id %d", 
id));
+#endif
 }
 
 

-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe