summaryrefslogtreecommitdiff
path: root/src/pkg/syscall/zsyscall_darwin_386.go
AgeCommit message (Collapse)AuthorFilesLines
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg1-25/+77
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg1-7/+2
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-37/+202
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-198/+396
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+977
2011-09-13Imported Upstream version 60Ondřej Surý1-977/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-1/+26
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-32/+57
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-0/+20
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-46/+251
2010-06-30syscall: add socketpairIvan Krasin1-0/+9
R=rsc CC=golang-dev http://codereview.appspot.com/1319042 Committer: Russ Cox <rsc@golang.org>
2010-05-19syscall: add Utimes on Darwin/FreeBSD, add Futimes everywhereRuss Cox1-0/+12
Needed for CL 1103041 and beyond. R=adg, bradfitzpatrick CC=bradfitz, golang-dev http://codereview.appspot.com/1172042
2010-03-26syscall: Create syscall_bsd.go for code used by Darwin and other *BSDsGiles Lean1-6/+6
In this change I'd like to combine the common code that is present in syscall_darwin.go and syscall_freebsd.go. I have three reasons for wanting to do this now: 1. reducing code duplication is nearly always good :-) 2. the duplication will get worse if I duplicate this code a third time for the NetBSD port I'm working on, which I need to do almost immediately 3. by making this change all in one lump and ignoring any commonality with the syscall_linux*.go files the diff is long but, I think, readable In future it may be possible to cherry pick functions that also apply to Linux and put them in (say) syscall_unix.go, and of course some functions may diverge in future and have to move out to OS or architecture specific files, but today I want just the low hanging fruit. Tested and passed on: Darwin (Snow Leopard, 10.6): amd64 and 386 FreeBSD (8.0-RELEASE): 386 only(*) (*) All my virtualisation software has stopped playing nice with FreeBSD for the moment, so I don't have facilities to test the amd64 port. As the OS X port is OK and the diff looks all right to my eyes I shall keep my fingers crossed. If someone with a FreeBSD/amd64 system cares to test and report I would be appreciative. 2010-03-27 update: I have replaced my virtualisation software, and have working FreeBSD/i386 and FreeBSD/amd64 virtual machines again. As I hoped (and expected -- programmers are optimists :-) the code built and passed all but the two currently known to fail tests on FreeBSD/amd64. I rechecked FreeBSD/i386 too: same results. R=rsc CC=golang-dev http://codereview.appspot.com/751041 Committer: Russ Cox <rsc@golang.org>
2010-03-24syscall: bring generated files zsyscall_darwin_*.goGiles Lean1-6/+6
up to date. No functional change, but when these files are regenerated they change, leading to noisy diffs when working in the syscall package. R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/705043 Committer: Russ Cox <rsc@golang.org>
2010-02-16syscall: make signature of Umask on OS X, FreeBSD match Linux.Giles Lean1-3/+3
R=rsc CC=golang-dev http://codereview.appspot.com/207071 Committer: Russ Cox <rsc@golang.org>
2010-02-04syscall: on freebsd, darwin, give Kill same signature as on linuxRuss Cox1-1/+1
R=r, cw CC=golang-dev http://codereview.appspot.com/201043
2009-12-151) Change default gofmt default settings forRobert Griesemer1-342/+342
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 4th set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180049
2009-12-13syscall: fix error return bug for 64-bit return on 32-bit platformChristopher Wedgwood1-1/+2
R=dho, rsc CC=r http://codereview.appspot.com/176058 Committer: Russ Cox <rsc@golang.org>
2009-12-01syscall: add Shutdown on OS X, add more constants in mkerror.shRuss Cox1-0/+6
R=dho CC=golang-dev http://codereview.appspot.com/163061
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-10/+10
R=rsc, r http://go/go-review/1025029
2009-11-01syscall cleanup.Russ Cox1-0/+21
* rename PORT.sh -> mkall.sh (hopefully more obvious), change behavior: run commands by default. * pull more constants out of #defines automatically, instead of editing large lists by hand. * add Recvfrom, Sendto add os.O_EXCL. R=r http://go/go-review/1017009
2009-10-06apply gofmt to auto-generated syscall filesRuss Cox1-17/+30
R=gri DELTA=4023 (104 added, 27 deleted, 3892 changed) OCL=35416 CL=35418
2009-09-15final batch for "declared and not used"Russ Cox1-96/+96
* update mksyscall.sh and rebuild syscall/z*.go * fix a few linux-only files R=r DELTA=455 (12 added, 1 deleted, 442 changed) OCL=34637 CL=34655
2009-08-13change the names to have .sh suffixes.Rob Pike1-1/+1
also fix the comments in the generated files. R=rsc DELTA=949 (470 added, 465 deleted, 14 changed) OCL=33197 CL=33201
2009-08-12convert non-low-level non-google pkg codeRuss Cox1-4/+1
to whole-package compilation. R=r OCL=33070 CL=33101
2009-06-29add os.HostnameRuss Cox1-0/+8
R=r DELTA=188 (182 added, 3 deleted, 3 changed) OCL=30856 CL=30860
2009-06-17add Addr() string to net.Listener interface.Russ Cox1-0/+12
use it to avoid use of fixed ports in tests. convert google/net/rpc to gotest R=r DELTA=523 (275 added, 229 deleted, 19 changed) OCL=30458 CL=30460
2009-06-16386 system call fixes:Russ Cox1-9/+8
* use 64-bit file system calls (Linux, Darwin) * use 32-bit [sic] uid/gid calls (Linux) * fix sockets on Linux Darwin/386 works again. Linux/386 is better but must never have worked; there are still bugs surrounding the creation of new threads in the runtime package. R=austin DELTA=1332 (673 added, 614 deleted, 45 changed) OCL=30327 CL=30380
2009-06-09mv src/lib to src/pkgRob Pike1-0/+624
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102