Changeset 4542 for trunk/src


Ignore:
Timestamp:
Oct 27, 2000, 12:59:13 PM (25 years ago)
Author:
bird
Message:

Fixed bug which prevented the symbolname to be copied to the szSymbolfile
global variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/dev16/probkrnl.c

    r4347 r4542  
    1 /* $Id: probkrnl.c,v 1.27 2000-10-01 02:58:15 bird Exp $
     1/* $Id: probkrnl.c,v 1.28 2000-10-27 10:59:13 bird Exp $
    22 *
    33 * Description:   Autoprobes the os2krnl file and os2krnl[*].sym files.
     
    8686 * IMPORTANT: aImportTab has three sibling arrays, two in dev32\d32init.c (aulProc
    8787 *            and aTstFakers), and the calltab.asm, which must match entry by entry.
     88 *  - obsolete warning -
    8889 *            When adding/removing/shuffling items in aImportTab, aulProc and
    8990 *            calltab.asm has to be updated immediately!
    9091 *            Use the mkcalltab.exe to generate calltab.asm and aTstFakers.
     92 *  - obsolete warning -
     93 *            We'll now generate both of these files from this table.
     94 *
    9195 */
    9296IMPORTKRNLSYM DATA16_GLOBAL aImportTab[NBR_OF_KRNLIMPORTS] =
     
    632636
    633637            dprintf(("LookUpKrnlEntry - found entry for this kernel!\n"));
     638            kstrcpy(szSymbolFile, "Win32k Symbol Database");
    634639
    635640            /*
     
    653658
    654659            /* set sym name on success or complain on error */
    655             if (rc == 0)
    656                 kstrcpy(szSymbolFile, "Win32k Symbol Database");
    657             else
     660            if (rc != 0)
    658661            {
    659662                printf16("Warning: The Win32k Symbol Database entry found.\n"
     
    12581261                        rc = rc2;
    12591262                }
    1260                 if (rc == NO_ERROR)
     1263                if (rc2 == NO_ERROR)
     1264                {
    12611265                    kstrcpy(szSymbolFile, apszSym[i]);
    1262                 else if (rc == 1 || rc2 == NO_ERROR)
    1263                     rc = rc2;
     1266                    rc = NO_ERROR;
     1267                }
    12641268                #endif
    12651269            }
Note: See TracChangeset for help on using the changeset viewer.