Ignore:
Timestamp:
Sep 7, 2001, 12:33:10 PM (24 years ago)
Author:
bird
Message:

reverse prev rev.

File:
1 edited

Legend:

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

    r6677 r6678  
    1 /* $Id: APIImport.cpp,v 1.11 2001-09-07 10:24:05 bird Exp $ */
     1/* $Id: APIImport.cpp,v 1.12 2001-09-07 10:31:42 bird Exp $ */
    22/*
    33 *
     
    9292                    break;
    9393
    94                 case '-':
    9594                case 'h':
    9695                case 'H':
     
    258257            char    achDataBuffer[0x200];
    259258            char   *pszModuleName = &achDataBuffer[0];
    260             signed long  lModule;
     259            signed long  lDll;
    261260
    262261            /* try create file objects */
     
    287286
    288287                /* find or insert module name */
    289                 if ((lModule = dbCheckInsertModule(pszModuleName, DLL_ODIN32_API)) >= 0)
     288                if ((lDll = dbCheckInsertDll(pszModuleName, DLL_ODIN32_API)) >= 0)
    290289                {
    291290                    BOOL    fClearUpdateOk = FALSE;
     
    295294                    /* Clear the update flag for all functions in this DLL. */
    296295                    if (pOptions->fErase)
    297                         fClearUpdateOk = dbClearUpdateFlagFunction(lModule, FALSE);
     296                        fClearUpdateOk = dbClearUpdateFlagFunction(lDll, FALSE);
    298297
    299298                    lRc = 0;
     
    335334                            else
    336335                            {   /* Update Database */
    337                                 fOk = dbInsertUpdateFunction(lModule,
     336                                fOk = dbInsertUpdateFunction(lDll,
    338337                                                             &szName[0],
    339338                                                             &szIntName[0],
     
    359358                    /* Clear the update flag for all functions in this DLL. */
    360359                    if (fClearUpdateOk && pOptions->fErase)
    361                         if (!dbDeleteNotUpdatedFunctions(lModule, FALSE))
     360                        if (!dbDeleteNotUpdatedFunctions(lDll, FALSE))
    362361                        {
    363362                            fprintf(phLog, "%s: error - dbDeleteNotUpdatedFunctions failed.\n\terror description: %s\n",
Note: See TracChangeset for help on using the changeset viewer.