Bug 46731
Summary: | difftime(3) may suggest that time_t can be a non-arithmetic type | ||
---|---|---|---|
Product: | Documentation | Reporter: | Michał Górny (mgorny) |
Component: | man-pages | Assignee: | Michael Kerrisk (mtk.manpages) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | mtk.manpages |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: | |
Attachments: | Patch changing the wording to the more exact problem |
Description
Michał Górny
2012-08-30 19:25:09 UTC
Garrett, I've applied a different patch from what you suggest, essentially just making EACCES a synonym of EPERM. index bb2d9a5..b1772d5 100644 --- a/man2/sysctl.2 +++ b/man2/sysctl.2 @@ -78,6 +78,7 @@ Otherwise, a value of \-1 is returned and is set to indicate the error. .SH ERRORS .TP +.TP .B EFAULT The invocation asked for the previous value by setting .I oldval @@ -88,7 +89,7 @@ non-NULL, but allowed zero room in .I name was not found. .TP -.B EPERM +.BR EACCES ", " EPERM No search permission for one of the encountered "directories", or no read permission where .I oldval lines 1-21/21 (END) Ooops -- sorry. That was pasted into the wrong bug... This text: On other systems, the data type time_t might use some other encoding where subtraction doesn't work directly. Seems to have come from Debian in 206. I'm not sure why I merged it back then, since it doesn't make much sense. I've deleted it now. That's quite different from your patch, but hopefully it addresses your problem. |