Ignore:
Timestamp:
Sep 6, 2001, 1:14:12 AM (24 years ago)
Author:
bird
Message:

Fix for tiny files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/database/StateUpd.cpp

    r6651 r6660  
    1 /* $Id: StateUpd.cpp,v 1.34 2001-09-05 13:59:03 bird Exp $
     1/* $Id: StateUpd.cpp,v 1.35 2001-09-05 23:14:12 bird Exp $
    22 *
    33 * StateUpd - Scans source files for API functions and imports data on them.
     
    688688     */
    689689    iRet = i;
    690     while (i < iRet + 10 && (psz = strstr(papszLines[i], "$Id"": ")) == NULL)
     690    while (i < iRet + 10 && (psz = papszLines[i]) != NULL && (psz = strstr(psz, "$Id"": ")) == NULL) /* check for end-of-file */
    691691        i++;
    692692    if (psz != NULL)
Note: See TracChangeset for help on using the changeset viewer.