[Issue 3528] FreeBSD patches for druntime.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 22 03:47:31 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3528


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2009-11-22 03:47:29 PST ---
I started with the fine grained versioning for OS differences, but abandoned it
after it got hopelessly tangled. The problem is updating support for one OS
that trashes another. All OS specific API's should be in separate modules. Then
maintenance is a lot easier.

Also, please compile & test patches before submitting them. If it's inserted
without testing, then it may silently fail, yet will be assumed to work some
arbitrary time later.

For sure, just copying linux stuff is fraught with peril. Linux and Freebsd are
substantially different, and every declaration needs to be manually and
carefully checked against the Freebsd C header files. Getting things like bit
masks, magic values, argument types, number of arguments, struct layouts, etc.,
wrong is a potential disastrous problem.

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


More information about the Digitalmars-d-bugs mailing list