www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3782] New: The POSIX sys/un.h header

reply d-bugmail puremagic.com writes:
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



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: -------
Feb 08 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3782


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

           What    |Removed                     |Added
----------------------------------------------------------------------------

           obsolete|                            |



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: -------
Feb 08 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3782


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

           What    |Removed                     |Added
----------------------------------------------------------------------------

        description|char->byte                  |sys/un.h


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 08 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3782


Sean Kelly <sean invisibleduck.org> changed:

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



---
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: -------
Feb 08 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3782




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: -------
Feb 08 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3782




---
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: -------
Feb 09 2010
prev sibling parent d-bugmail puremagic.com writes:
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



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: -------
Aug 11 2010