Changeset 2293


Ignore:
Timestamp:
Aug 21, 2005, 7:08:28 AM (20 years ago)
Author:
bird
Message:

Added OBJ_FORK to the allocations in sysv_shm.

Location:
trunk/src/emx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/ChangeLog.LIBC

    • Property cvs2svn:cvs-rev changed from 1.119 to 1.120
    r2292 r2293  
    22
    33TODO: open replace on RAMFS fails with error 32!
     4
     52005-08-20: Lorne Sunley <lsunley@mb.sympatico.  >
     6    - libc:
     7        o Added OBJ_FORK to the allocations in sysv_shm.
    48
    592005-08-20: knut st. osmundsen <bird-gccos2-spam@anduin.net>
  • trunk/src/emx/src/lib/sys/sysv_shm.c

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r2292 r2293  
    707707         */
    708708        FS_VAR_SAVE_LOAD();
    709         int error = DosAllocSharedMemEx(&shm_object, NULL, size, PAG_READ | PAG_WRITE | PAG_EXECUTE | PAG_COMMIT | OBJ_GETTABLE | OBJ_ANY);
     709        int error = DosAllocSharedMemEx(&shm_object, NULL, size, PAG_READ | PAG_WRITE | PAG_EXECUTE | PAG_COMMIT | OBJ_FORK | OBJ_GETTABLE | OBJ_ANY);
    710710        if (error)
    711             error = DosAllocSharedMemEx(&shm_object, NULL, size, PAG_READ | PAG_WRITE | PAG_EXECUTE | PAG_COMMIT | OBJ_GETTABLE);
     711            error = DosAllocSharedMemEx(&shm_object, NULL, size, PAG_READ | PAG_WRITE | PAG_EXECUTE | PAG_COMMIT | OBJ_FORK | OBJ_GETTABLE);
    712712        FS_RESTORE();
    713713        if (error)
Note: See TracChangeset for help on using the changeset viewer.