summaryrefslogtreecommitdiff
path: root/src/pkg/os
AgeCommit message (Collapse)AuthorFilesLines
2015-01-15Imported Upstream version 1.4upstream/1.4Tianon Gravi82-9582/+0
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg37-326/+1004
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg40-104/+961
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg11-35/+380
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg51-690/+1320
2012-06-14Imported Upstream version 1.0.2upstream/1.0.2Ondřej Surý1-6/+12
2012-05-02Imported Upstream version 1.0.1upstream/1.0.1Ondřej Surý1-1/+1
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý71-2249/+3653
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý55-0/+5662
2011-09-13Imported Upstream version 60Ondřej Surý54-5600/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý20-117/+310
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý24-133/+385
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý12-14/+430
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý31-694/+1584
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-0/+1
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý8-47/+162
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý3-6/+11
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý24-447/+1121
2010-06-30io/ioutil.TempFile for WindowsPeter Mundy3-0/+53
Fixes issue 834. R=rsc, brainman CC=golang-dev http://codereview.appspot.com/1686047 Committer: Russ Cox <rsc@golang.org>
2010-06-01 Correct the regexp for finding unix signal names.Vinu Rajashekhar1-1/+1
For example, earlier, the regexp would accept SIGQUEUE_MAX as a unix signal with name SIGQUEUE. Now it is ignored. R=iant CC=golang-dev, golang-nuts, joel.sherrill http://codereview.appspot.com/1452041 Committer: Ian Lance Taylor <iant@golang.org>
2010-05-31implement os.FileInfo.*time_ns for windowsAlex Brainman1-4/+3
R=golang-dev, adg CC=golang-dev http://codereview.appspot.com/1145044 Committer: Andrew Gerrand <adg@golang.org>
2010-05-27changes &x -> x[0:] for array to slice conversionRuss Cox4-5/+5
R=gri CC=golang-dev http://codereview.appspot.com/1326042
2010-05-19os: add Chtimes functionBrad Fitzpatrick2-0/+58
R=rsc, r CC=golang-dev http://codereview.appspot.com/1103041 Committer: Russ Cox <rsc@golang.org>
2010-04-29rename GOOS=mingw to GOOS=windowsAlex Brainman5-3/+3
R=rsc, Joe Poirier CC=golang-dev http://codereview.appspot.com/1015043 Committer: Russ Cox <rsc@golang.org>
2010-04-28Remove destination of symlink test in case it got left behindIan Lance Taylor1-0/+1
earlier. R=rsc CC=golang-dev http://codereview.appspot.com/972045
2010-04-26os, syscall: more mingwAlex Brainman5-27/+92
R=rsc, rsc1 CC=golang-dev http://codereview.appspot.com/878046 Committer: Russ Cox <rsc@golang.org>
2010-04-26os: create sys_bsd.goGiles Lean3-18/+7
R=rsc CC=golang-dev http://codereview.appspot.com/897042 Committer: Russ Cox <rsc@golang.org>
2010-04-26os: Fix build for MinGWEvan Shaw1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/1014041 Committer: Russ Cox <rsc@golang.org>
2010-04-26net: introduce net.Error interfaceRuss Cox1-1/+11
Adds two more methods, Timeout and Temporary. Implemented by os.Errno too. The intent is to make the checks for os.EAGAIN a little less clunky. It should also let us clean up a bug that Mike Solomon pointed out: if a network server gets an "out of file descriptors" error from Accept, the listener should not stop. It will be able to check this because that error would have Temporary() == true. Also clean up some underscore names. Fixes issue 442. R=r CC=golang-dev, msolo http://codereview.appspot.com/957045
2010-04-22runtime: closures, defer bug fix for Native ClientRuss Cox1-8/+8
Enable package tests for Native Client build. R=r CC=golang-dev http://codereview.appspot.com/957042
2010-04-22os/stat_freebsd.go: maybe fix build for freebsdRob Pike1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/970042
2010-04-22FileInfo: regularize the types of some fields.Rob Pike6-41/+41
Uid, Gid become int. File size info becomes int64. Times become int64. R=rsc, cw CC=golang-dev http://codereview.appspot.com/968042
2010-04-13os, syscall: mingw bug fixesAlex Brainman2-3/+2
R=rsc CC=golang-dev http://codereview.appspot.com/815044 Committer: Russ Cox <rsc@golang.org>
2010-04-13os: mingw version of Readdir() and Stat() implementedAlex Brainman6-76/+259
R=rsc CC=golang-dev http://codereview.appspot.com/851045 Committer: Russ Cox <rsc@golang.org>
2010-04-09freebsd: fix build, maybeRuss Cox1-17/+17
R=r CC=golang-dev http://codereview.appspot.com/909041
2010-04-09rename os.Dir to os.FileInfoRob Pike6-94/+95
R=rsc CC=golang-dev http://codereview.appspot.com/902042
2010-04-08fix bug in os_test.go checkModeAlex Brainman1-1/+1
R=golang-dev, r CC=golang-dev http://codereview.appspot.com/872043 Committer: Rob Pike <r@golang.org>
2010-04-02syscall: implementing some mingw syscalls required by os packageAlex Brainman4-3/+34
R=rsc CC=golang-dev http://codereview.appspot.com/770041 Committer: Russ Cox <rsc@golang.org>
2010-03-19os: drop File finalizer after normal CloseRuss Cox1-0/+3
R=r CC=golang-dev http://codereview.appspot.com/586043
2010-02-25strings: delete Runes, BytesRuss Cox1-3/+3
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev http://codereview.appspot.com/224062
2010-02-08runtime: allow arbitrary return type in SetFinalizer.Russ Cox1-2/+5
finalize chan, to free OS X semaphore inside Lock. os: finalize File, to close fd. Fixes issue 503. R=ken2 CC=golang-dev http://codereview.appspot.com/204065
2010-01-26os: in test, allow Hostname to return FQDN even if /bin/hostname does notIcarus Sparry1-1/+6
Hostname reads the file /proc/sys/kernel/hostname to determine the value it returns. Some people set this to a Fully Qualified Doamin Name. At least one implementation of /bin/hostname truncates the name it gets (often from the "uname" system call) at the first dot unless it is given a "-f" flag. This change makes the unit test also truncate at the first dot and checks if the strings then match. This seems more portable than adding an extra flag to the called /bin/hostname program. R=rsc CC=golang-dev http://codereview.appspot.com/181097 Committer: Russ Cox <rsc@golang.org>
2010-01-11Replicate signal names from syscall in os/signal.David Symonds3-2/+32
R=rsc CC=golang-dev http://codereview.appspot.com/183142 Committer: Russ Cox <rsc@golang.org>
2009-12-23Use t.Errorf for formatted error output.Ian Lance Taylor1-1/+1
R=dsymonds1 CC=golang-dev http://codereview.appspot.com/183049
2009-12-23Fix comment for Chmod.Peter Froehlich1-1/+1
R=r, rsc CC=golang-dev http://codereview.appspot.com/183042 Committer: Russ Cox <rsc@golang.org>
2009-12-16runtime: if os/signal is not in use, crash onRuss Cox1-0/+1
most signals, so that ordinary programs can be killed, for example. Fixes issue 434. R=dsymonds1 CC=golang-dev, hoisie http://codereview.appspot.com/180064
2009-12-15os/signal: new packageDavid Symonds3-0/+77
Fixes issue 71. R=rsc, r http://codereview.appspot.com/162056 Committer: Russ Cox <rsc@golang.org>
2009-12-151) Change default gofmt default settings forRobert Griesemer23-692/+692
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-09syscalls can return negative i/o counts. fix bugs in ReadAt and WriteAt not ↵Rob Pike1-2/+2
to include negative counts in return values. R=rsc CC=golang-dev http://codereview.appspot.com/170044
2009-12-04Add os.Rename.Ian Lance Taylor2-1/+31
R=rsc http://codereview.appspot.com/166058