[comp.unix.xenix] Here is the fix for /etc/shmcreate

root@qetzal.UUCP (09/13/87)

Here it is for all you Microport shmcreate afficionados :-)
------------
    Subject: shmcreate

    After spending a long night trying to understand why shmcreate didn't work,
    I found that the shmget (create) call was missing the IPC_SHMPHYS flag!
    The program could never have worked as coded.  Why was the program never
    tested before being distributed?  I don't know.

    Do the following to patch shmcreate so the call is done correctly.

	patch shmcreate -b +-831 noerror

    Patch should return 0xa.  This is the high-order byte of the flag 05000.
    Replace that value with the high-order byte of 045000 (74/0x4a) by
    installing the following patch:

	patch shmcreate -b +-831 noerror 74

    Shmcreate should now work.
----------

-- 
Robert C. White, Jr   *---- ----*   MENTOR SOFTWARE, INC. 1-303-252-9090
ihnp4!upba!qetzal!rcw |   |_|   |   Specializing in Unix applications,
11534 Steele St.      |  _ o _  |   system software and administrativa.
Thornton, CO 80233    | | | | | |   "We will make it work for you."