Source-Changes archive

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

CVS commit: [netbsd-3] src/lib/libpthread



Module Name:    src
Committed By:   tron
Date:           Tue Sep 27 20:23:04 UTC 2005

Modified Files:
        src/lib/libpthread [netbsd-3]: pthread_attr.c

Log Message:
Pull up following revision(s) (requested by tv in ticket #818):
        lib/libpthread/pthread_attr.c: revision 1.5
pthread_attr_getschedpolicy() wasn't setting the return buffer at all.
SCHED_OTHER happens to be 0, so this assignment to "int *" succeeds,
and becomes a no-op.
Fix by dereferencing "policy" to do the assignment, thus filling the
return buffer with 0.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.4.2.1 src/lib/libpthread/pthread_attr.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