jer 15/02/09 07:55:30 Added: oprofile-1.0.0-opjitconv-open.patch Log: Fix opjitconv open() flag (bug #538788). (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Revision Changes Path 1.1 dev-util/oprofile/files/oprofile-1.0.0-opjitconv-open.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/files/oprofile-1.0.0-opjitconv-open.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/files/oprofile-1.0.0-opjitconv-open.patch?rev=1.1&content-type=text/plain Index: oprofile-1.0.0-opjitconv-open.patch =================================================================== --- a/opjitconv/opjitconv.c +++ b/opjitconv/opjitconv.c @@ -216,7 +216,7 @@ int file_locked = 0; unsigned int usecs_waited = 0; int rc = OP_JIT_CONV_OK; - int fd = open(dumpfile, S_IRUSR); + int fd = open(dumpfile, O_RDONLY); if (fd < 0) { perror("opjitconv failed to open JIT dumpfile"); return OP_JIT_CONV_FAIL;
