DescriptionCreate pkg/os/sys_bsd for code used by Darwin and other *BSDs
This CL is similar in spirit to:
http://codereview.appspot.com/751041/show
and is offered for the same reasons:
1. reduce existing code duplication between the Darwin (OS X)
and FreeBSD ports
2. eliminate the need to duplicate the code a third time for
the in-progress NetSBD port
3. As more functions are added, the need only be added once,
not once for each *BSD based OS that Go is ported to
The payback is not as large immediately as for 751041 as only
one function is shared and the Makefile becomes more complex.
(If there is a simpler way to achieve the same result in the
Makefile, please let me know and I will revise the CL. I did
look for simpler methods, but perhaps someone with more GNU
make expertise will know a useful trick or idiom.)
Patch Set 1 #Patch Set 2 : code review 897042: Create pkg/os/sys_bsd for code used by Darwin and other... #
MessagesTotal messages: 5
|