Page MenuHomeFreeBSD

Add BUGS section about pwrite(2)
ClosedPublic

Authored by khng on Jan 27 2021, 4:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 8, 1:51 AM
Unknown Object (File)
Thu, Nov 28, 4:05 PM
Unknown Object (File)
Nov 26 2024, 8:47 AM
Unknown Object (File)
Nov 18 2024, 11:06 AM
Unknown Object (File)
Nov 7 2024, 11:51 PM
Unknown Object (File)
Oct 11 2024, 2:25 AM
Unknown Object (File)
Sep 30 2024, 9:18 AM
Unknown Object (File)
Sep 20 2024, 9:05 AM

Details

Summary

Add a BUGS section about using pwrite(2) when O_APPEND
is set on the fd.

Submitted by: Ka Ho Ng
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

khng requested review of this revision.Jan 27 2021, 4:45 PM
khng edited the summary of this revision. (Show Details)
gbe added a subscriber: gbe.

LGTM from the manpages perspective.

@emaste, if write(2) isn't working as specified by POSIX, the libc should maybe updated.

@gbe : do we need to update .Dd field for this change?

ygy added a subscriber: ygy.

LGTM on the doc side, please update .Dd when committing, thanks ;)

This revision is now accepted and ready to land.Feb 11 2021, 1:59 PM
yuripv added inline comments.
lib/libc/sys/write.2
306–307

nitpicking: this could be one line

  • Make "contrary to" one-line
This revision now requires review to proceed.Feb 11 2021, 3:14 PM
khng marked an inline comment as done.Feb 11 2021, 3:14 PM

@gbe : do we need to update .Dd field for this change?

Done.

This revision was not accepted when it landed; it landed in state Needs Review.Feb 20 2021, 8:07 AM
This revision was automatically updated to reflect the committed changes.