Changeset 772


Ignore:
Timestamp:
Aug 6, 2007, 7:20:34 PM (13 years ago)
Author:
Steven Levine
Message:

Comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/makelist.c

    r730 r772  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2003, 2006 Steven H.Levine
     9  Copyright (c) 2003, 2007 Steven H.Levine
    1010
    1111  12 Feb 03 SHL AddToFileList: standardize EA math
     
    103103
    104104  if (string && ffb4) {
     105    // Ensure room for NULL entry
    105106    if (((*numfiles) + 3) > *numalloced) {
    106107      FILELIST **pflArray;
    107108
    108109      // Use plain realloc for speed
     110      // 06 Aug 07 SHL fixme to know why + 6
    109111      pflArray = realloc(*list, (*numalloced + 6) * sizeof(FILELIST *));
    110112      if (!pflArray) {
     
    133135    (*list)[*numfiles] = pfl;
    134136    (*numfiles)++;
     137    // Ensure list always ends with two NULL entries
     138    // 06 Aug 07 SHL fixme to know why
    135139    (*list)[*numfiles] = NULL;
    136140    (*list)[(*numfiles) + 1] = NULL;
Note: See TracChangeset for help on using the changeset viewer.