VirtualBox

Changeset 2039 in kBuild


Ignore:
Timestamp:
Nov 3, 2008 12:00:24 PM (16 years ago)
Author:
bird
Message:

kmk: gcc 3.2.3 optimiazation bugs/hacks.

Location:
trunk/src/kmk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/make.h

    r1993 r2039  
    604604/* Free an item. */
    605605MY_INLINE void
    606 alloccache_free (struct alloccache *cache, void *item)
     606alloccache_free (struct alloccache *cache, void volatile *item)
    607607{
    608608  struct alloccache_free_ent *f = (struct alloccache_free_ent *)item;
  • trunk/src/kmk/read.c

    r2038 r2039  
    40484048#ifndef CONFIG_WITH_ALLOC_CACHES
    40494049                    struct nameseq *elt = xmalloc (size);
    4050 #else
    4051                     struct nameseq *elt = alloccache_alloc (cache);
    4052 #endif
    40534050                    memset (elt, '\0', size);
     4051#else
     4052                    struct nameseq *elt = alloccache_calloc (cache);
     4053#endif
    40544054                    elt->name = strcache_add (gl.gl_pathv[i]);
    40554055                    elt->next = new;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette