Ignore:
Timestamp:
May 30, 2000, 12:32:09 AM (25 years ago)
Author:
sandervl
Message:

Resource sections are read/write now (temporary fix for gdi32 crashes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/winimagepeldr.cpp

    r3625 r3635  
    1 /* $Id: winimagepeldr.cpp,v 1.44 2000-05-28 16:45:13 sandervl Exp $ */
     1/* $Id: winimagepeldr.cpp,v 1.45 2000-05-29 22:32:09 sandervl Exp $ */
    22
    33/*
     
    1010 *
    1111 * TODO: Check psh[i].Characteristics for more than only the code section
     12 * TODO: Make resource section readonly when GDI32 is fixed
    1213 *
    1314 * NOTE: RSRC_LOAD is a special flag to only load the resource directory
     
    844845                section[i].pageflags = PAG_WRITE | PAG_READ;
    845846                break;
     847
     848        case SECTION_RESOURCE:
     849                //TODO: GDI32 changes some bitmap structures to avoid problems in Open32
     850                //      -> causes crashes if resource section is readonly
     851                //      -> make it readonly again when gdi32 has been rewritten
     852                section[i].pageflags = PAG_WRITE | PAG_READ;
     853                break;
     854
    846855        case SECTION_READONLYDATA:
    847         case SECTION_RESOURCE:
    848856        case SECTION_TLS:
    849857        default:
Note: See TracChangeset for help on using the changeset viewer.