Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169396510
D17989.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
483 B
Referenced Files
None
Subscribers
None
D17989.id.diff
View Options
Index: head/lib/libc/gen/sysconf.c
===================================================================
--- head/lib/libc/gen/sysconf.c
+++ head/lib/libc/gen/sysconf.c
@@ -291,10 +291,7 @@
mib[1] = CTL_P1003_1B_MQ_OPEN_MAX;
goto yesno;
case _SC_PAGESIZE:
- defaultresult = getpagesize();
- mib[0] = CTL_P1003_1B;
- mib[1] = CTL_P1003_1B_PAGESIZE;
- goto yesno;
+ return (getpagesize());
case _SC_RTSIG_MAX:
mib[0] = CTL_P1003_1B;
mib[1] = CTL_P1003_1B_RTSIG_MAX;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 2, 10:18 AM (16 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37821557
Default Alt Text
D17989.id.diff (483 B)
Attached To
Mode
D17989: Avoid syscall for _SC_PAGESIZE.
Attached
Detach File
Event Timeline
Log In to Comment