Home | History | Annotate | Download | only in sys
History log of /src/lib/libc/sys/fdatasync.2
RevisionDateAuthorComments
 1.17  25-Mar-2020  gdt Relax fdatasync restriction that fd be writable

The restriction that a fd passed to fdatasync(2) must be writable was
added in 2003 in order to comply with POSIX. Since then, POSIX has
removed that requirement, and POSIX-valid programs have been therefore
encountering errors on NetBSD.

Patch by Paul Ripke after discussion on netbsd-users. Issue
discovered with pkgsrc/databases/mongodb3 as used by pkgsrc/net/unifi.
 1.16  30-Apr-2008  martin branches: 1.16.8; 1.16.56; 1.16.64; 1.16.66;
Convert TNF licenses to new 2 clause variant
 1.15  13-May-2004  wiz branches: 1.15.24;
\- is a minus, not -.
 1.14  25-Oct-2003  kleink POSIX: when attempting to fdatasync(2) a file which is not open for
writing, fail with EBADF.
 1.13  16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.12  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.11  02-Oct-2002  wiz Correct various misspellings.
 1.10  01-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.9  08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.8  16-Sep-2001  wiz Sort sections, sort SEE ALSO, punctuation and miscellanous fixes.
 1.7  16-Sep-2001  wiz Boring whitespace fixes.
 1.6  02-Dec-1999  kleink branches: 1.6.6;
Add a LIBRARY section to system call manual pages. While it's clear that the
libraries contain stubs only (with minor exceptions a la pipe(2)), the purpose
of this section is to provide linkage information.
 1.5  22-Mar-1999  garbled branches: 1.5.6;
Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Wheee!
 1.4  16-Feb-1999  kleink Dv vs. Va police.
 1.3  06-Jun-1998  scottr Fix a tyop.
 1.2  06-Jun-1998  kleink Rework this file, as based on suggestions made by Chris Demetriou.
 1.1  05-Jun-1998  kleink Manual page for fdatasync(2).
 1.5.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.6.4  18-Oct-2002  nathanw Catch up to -current.
 1.6.6.3  22-Mar-2002  nathanw Catch up to -current.
 1.6.6.2  08-Mar-2002  nathanw Catch up to -current.
 1.6.6.1  08-Oct-2001  nathanw Catch up to -current.
 1.15.24.1  18-May-2008  yamt sync with head.
 1.16.66.1  22-Apr-2020  martin Pull up following revision(s) (requested by gdt in ticket #840):

sys/kern/vfs_syscalls.c: revision 1.544
lib/libc/sys/fdatasync.2: revision 1.17

Relax fdatasync restriction that fd be writable

The restriction that a fd passed to fdatasync(2) must be writable was
added in 2003 in order to comply with POSIX. Since then, POSIX has
removed that requirement, and POSIX-valid programs have been therefore
encountering errors on NetBSD.

Patch by Paul Ripke after discussion on netbsd-users. Issue
discovered with pkgsrc/databases/mongodb3 as used by pkgsrc/net/unifi.
 1.16.64.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.16.56.1  22-Apr-2020  martin Pull up following revision(s) (requested by gdt in ticket #1534):

sys/kern/vfs_syscalls.c: revision 1.544
lib/libc/sys/fdatasync.2: revision 1.17

Relax fdatasync restriction that fd be writable

The restriction that a fd passed to fdatasync(2) must be writable was
added in 2003 in order to comply with POSIX. Since then, POSIX has
removed that requirement, and POSIX-valid programs have been therefore
encountering errors on NetBSD.

Patch by Paul Ripke after discussion on netbsd-users. Issue
discovered with pkgsrc/databases/mongodb3 as used by pkgsrc/net/unifi.
 1.16.8.2  30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.16.8.1  30-Apr-2008  martin file fdatasync.2 was added on branch christos-time_t on 2008-04-30 13:10:52 +0000

RSS XML Feed