Thread overview
[Issue 3782] New: The POSIX sys/un.h header
Feb 09, 2010
Sean Kelly
Feb 09, 2010
Sean Kelly
February 08, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3782

           Summary: The POSIX sys/un.h header
           Product: D
           Version: future
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: druntime
        AssignedTo: sean@invisibleduck.org
        ReportedBy: bugzilla@kyllingen.net


--- Comment #0 from Lars T. Kyllingstad <bugzilla@kyllingen.net> 2010-02-08 11:24:20 PST ---
Created an attachment (id=562)
D implementation of sys/un.h

I've attached an implementation of the POSIX sys/un.h header, so you can include it in druntime if you like.  I've tried to follow the format of the other POSIX headers in druntime as closely as possible.

I may need to implement more of these, so please let me know if you are at all interested in such contributions.

I hereby release the attached file into the public domain.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 08, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3782


Lars T. Kyllingstad <bugzilla@kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #562 is|0                           |1
           obsolete|                            |


--- Comment #1 from Lars T. Kyllingstad <bugzilla@kyllingen.net> 2010-02-08 11:29:05 PST ---
Created an attachment (id=563)
Minor correction: char->byte

Oops... Wrote 'char' instead of 'byte' in the linux version.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 08, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3782


Lars T. Kyllingstad <bugzilla@kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
    Attachment #563|Minor correction:           |D implementation of
        description|char->byte                  |sys/un.h


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 09, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3782


Sean Kelly <sean@invisibleduck.org> changed:

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


--- Comment #2 from Sean Kelly <sean@invisibleduck.org> 2010-02-08 20:03:46 PST ---
Looks great at a glance.  And I'm not sure if I've said anywhere, but I use the OpenGroup site as a reference for creating the headers: http://www.opengroup.org/onlinepubs/009695399/  I'll double check the header against that and add it before the next release.  Thanks!  And by all means submit more if you'd like.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 09, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3782



--- Comment #3 from Lars T. Kyllingstad <bugzilla@kyllingen.net> 2010-02-08 22:55:53 PST ---
Ah, as you'll see from the doc comment in the file I used the Open Group site as a source as well, only I used the POSIX:2008 specification (issue 7) at

  http://www.opengroup.org/onlinepubs/9699919799/

I see that the headers in druntime conform to POSIX:2004 (issue 6).  Is it a point to try and keep all of them at the same POSIX version?  For this particular one it doesn't matter, as it hasn't changed since 2004, so it's simply a matter of changing the comment.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 09, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3782



--- Comment #4 from Sean Kelly <sean@invisibleduck.org> 2010-02-09 09:29:32 PST ---
I'd like to use the latest revision of the spec.  Work on the headers simply began before 2008 :-)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 11, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3782


Lars T. Kyllingstad <bugzilla@kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


--- Comment #5 from Lars T. Kyllingstad <bugzilla@kyllingen.net> 2010-08-11 02:45:10 PDT ---
Fixed DMD 2.048

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------