VirtualBox

Changeset 2290 in kBuild for trunk/src/kash/shfile.c


Ignore:
Timestamp:
Feb 27, 2009 4:08:07 AM (16 years ago)
Author:
bird
Message:

kash: malloc/free/friends gets a psh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/shfile.c

    r2289 r2290  
    150150        while (new_size < fdMin)
    151151            new_size += SHFILE_GROW;
    152         new_tab = realloc(pfdtab->tab, new_size * sizeof(shfile));
     152        new_tab = sh_realloc(NULL, pfdtab->tab, new_size * sizeof(shfile));
    153153        if (new_tab)
    154154        {
     
    230230}
    231231
    232 
    233232/**
    234233 * Constructs a path from the current directory and the passed in path.
     
    257256#if K_OS == K_OS_WINDOWS || K_OS == K_OS_OS2
    258257        ||  *path == '\\'
    259         ||  (   !*path
     258        ||  (   *path
    260259             && path[1] == ':'
    261260             && (   (*path >= 'A' && *path <= 'Z')
     
    10501049}
    10511050
     1051void shfile_set_umask(shfdtab *pfdtab, mode_t mask)
     1052{
     1053    (void)mask;
     1054}
     1055
    10521056
    10531057shdir *shfile_opendir(shfdtab *pfdtab, const char *dir)
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