Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/kern

Module Name:    src
Committed By:   erh
Date:           Mon Oct 27 15:40:56 UTC 2008

Modified Files:
        src/sys/kern: sysv_shm.c

Log Message:
Change the order of error checks in shmget so EEXIST is returned before
 EINVAL or EACCESS so callers have a more reliable way to tell if a
 shared memory segment already exists.

To generate a diff of this commit:
cvs rdiff -r1.112 -r1.113 src/sys/kern/sysv_shm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index