View mode: basic / threaded / horizontal-split · Log in · Help
October 31, 2009
[Issue 3458] New: int fsync(int) commented out in core.sys.posix.unistd
http://d.puremagic.com/issues/show_bug.cgi?id=3458

          Summary: int fsync(int) commented out in core.sys.posix.unistd
          Product: D
          Version: 2.035
         Platform: All
       OS/Version: Linux
           Status: NEW
         Severity: normal
         Priority: P2
        Component: druntime
       AssignedTo: sean@invisibleduck.org
       ReportedBy: llucax@gmail.com


--- Comment #0 from Leandro Lucarella <llucax@gmail.com> 2009-10-30 19:01:37 PDT ---
I don't know why, but the POSIX function fsync is commented out in the
core.sys.posix.unistd module. Same for fdatasync().

Is there any reason for that?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 31, 2009
[Issue 3458] int fsync(int) commented out in core.sys.posix.unistd
http://d.puremagic.com/issues/show_bug.cgi?id=3458


Sean Kelly <sean@invisibleduck.org> changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
            Status|NEW                         |ASSIGNED


--- Comment #1 from Sean Kelly <sean@invisibleduck.org> 2009-10-30 21:48:58 PDT ---
It's an optional feature--declarations in POSIX headers are divided into
labeled groups--and in the interest of time I've added them as needed.  Once I
check that these functions are available on Linux and OSX I'll see about adding
declarations for them.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 01, 2009
[Issue 3458] int fsync(int) commented out in core.sys.posix.unistd
http://d.puremagic.com/issues/show_bug.cgi?id=3458



--- Comment #2 from Leandro Lucarella <llucax@gmail.com> 2009-10-31 21:32:28 PDT ---
I think fsync() is pretty common in all posix OSs, and it's essential to do any
crash-resistant I/O.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 06, 2009
[Issue 3458] int fsync(int) commented out in core.sys.posix.unistd
http://d.puremagic.com/issues/show_bug.cgi?id=3458



--- Comment #3 from Sean Kelly <sean@invisibleduck.org> 2009-12-05 20:43:33 PST ---
Fix is in r210.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 08, 2009
[Issue 3458] int fsync(int) commented out in core.sys.posix.unistd
http://d.puremagic.com/issues/show_bug.cgi?id=3458



--- Comment #4 from Leandro Lucarella <llucax@gmail.com> 2009-12-08 13:33:30 PST ---
http://www.dsource.org/projects/druntime/changeset/210

Thanks

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 31, 2009
[Issue 3458] int fsync(int) commented out in core.sys.posix.unistd
http://d.puremagic.com/issues/show_bug.cgi?id=3458


Walter Bright <bugzilla@digitalmars.com> changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
            Status|ASSIGNED                    |RESOLVED
                CC|                            |bugzilla@digitalmars.com
        Resolution|                            |FIXED


--- Comment #5 from Walter Bright <bugzilla@digitalmars.com> 2009-12-31 11:19:44 PST ---
Fixed dmd 2.038

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Top | Discussion index | About this forum | D home