FreeBSD Bugzilla – Attachment 26327 Details for
Bug 44951
[patch] audio/rawrec: fix mlockall usage on -current
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 1.37 KB, created by
Volker Stolz
on 2002-11-05 21:30:00 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Volker Stolz
Created:
2002-11-05 21:30:00 UTC
Size:
1.37 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># files ># files/patch-src-play.c ># files/patch-src-record.c ># >echo c - files >mkdir -p files > /dev/null 2>&1 >echo x - files/patch-src-play.c >sed 's/^X//' >files/patch-src-play.c << 'END-of-files/patch-src-play.c' >X--- play.c.orig Tue Nov 5 22:11:11 2002 >X+++ play.c Tue Nov 5 22:11:38 2002 >X@@ -400,7 +400,7 @@ >X } >X >X /* Entering critical section. Lock down our memory, if possible. */ >X-#ifdef _POSIX_MEMLOCK >X+#if _POSIX_MEMLOCK == 1 >X if ( mlockall(MCL_CURRENT) == -1 ) { >X fprintf(stderr, "%s: mlockall(MCL_CURRENT) failed: ", progname); >X perror(""); >END-of-files/patch-src-play.c >echo x - files/patch-src-record.c >sed 's/^X//' >files/patch-src-record.c << 'END-of-files/patch-src-record.c' >X--- record.c.orig Tue Nov 5 22:11:18 2002 >X+++ record.c Tue Nov 5 22:11:55 2002 >X@@ -317,7 +317,7 @@ >X } >X >X /* Entering critical section. Lock down our memory, if possible. */ >X-#ifdef _POSIX_MEMLOCK >X+#if _POSIX_MEMLOCK == 1 >X if ( mlockall(MCL_CURRENT) == -1 ) { >X fprintf(stderr, "%s: mlockall(MCL_CURRENT) failed: ", progname); >X perror(""); >END-of-files/patch-src-record.c >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 44951
: 26327