Changeset 174 for trunk/src/slib.c


Ignore:
Timestamp:
Aug 27, 2008, 5:40:28 PM (16 years ago)
Author:
katerina
Message:

Fix for tickets #112, #113 (dnmalloc deadlock on fork, hostname portability in test script).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/slib.c

    r170 r174  
    20932093            (void) free(ofiles[fd]->path);
    20942094          (void) free(ofiles[fd]);
     2095          ofiles[fd] = NULL;
     2096        }
     2097      ++fd;
     2098    }
     2099  return 0;
     2100}
     2101
     2102int sl_dropall_dirty(int fd, int except)
     2103{
     2104  while (fd < MAXFD)
     2105    {
     2106      if (ofiles[fd] != NULL && fd != except)
     2107        {
    20952108          ofiles[fd] = NULL;
    20962109        }
Note: See TracChangeset for help on using the changeset viewer.