]> granicus.if.org Git - php/commitdiff
fix spelling
authorAntony Dovgal <tony2001@php.net>
Tue, 29 Apr 2008 13:50:27 +0000 (13:50 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 29 Apr 2008 13:50:27 +0000 (13:50 +0000)
Zend/zend_gc.c

index bcf7965080c99de093d79e165c4edec8dbd623d7..67ea744bf8b4ecd82f828a25152027e7c929935d 100644 (file)
@@ -140,7 +140,7 @@ ZEND_API void gc_zval_possible_root(zval *zv TSRMLS_DC)
                           GC_ZVAL_GET_COLOR(zv) == GC_BLACK) &&
                           (GC_ZVAL_ADDRESS(zv) < GC_G(buf) ||
                            GC_ZVAL_ADDRESS(zv) >= GC_G(last_unused))) {
-               /* The given zval is a gurbage that is going to be delated by
+               /* The given zval is a garbage that is going to be deleted by
                 * currently running GC */
                return;
        }
@@ -261,7 +261,7 @@ ZEND_API void gc_remove_zval_from_buffer(zval *zv)
                           GC_ZVAL_GET_COLOR(zv) == GC_BLACK) &&
                           (GC_ZVAL_ADDRESS(zv) < GC_G(buf) ||
                            GC_ZVAL_ADDRESS(zv) >= GC_G(last_unused))) {
-               /* The given zval is a gurbage that is going to be delated by
+               /* The given zval is a garbage that is going to be deleted by
                 * currently running GC */
                if (GC_G(next_to_free) == (zval_gc_info*)zv) {
                        GC_G(next_to_free) = ((zval_gc_info*)zv)->u.next;