Russ Cox
|
66f5e89082
|
os: MkdirAll, RemoveAll, Chmod, Chown, Truncate, Getgroups.
Getuid, etc drop their errors -- they cannot error
R=r
DELTA=605 (547 added, 12 deleted, 46 changed)
OCL=28919
CL=28929
|
2009-05-15 14:11:24 -07:00 |
|
Russ Cox
|
5e76c032f6
|
make Stat indicate whether it followed a symlink.
R=r
DELTA=61 (34 added, 0 deleted, 27 changed)
OCL=28904
CL=28906
|
2009-05-15 11:04:49 -07:00 |
|
Ian Lance Taylor
|
7aabf2d9b1
|
Add os.Link, os.Symlink, os.Readlink.
R=r,rsc
DELTA=161 (161 added, 0 deleted, 0 changed)
OCL=28745
CL=28747
|
2009-05-13 10:16:46 -07:00 |
|
Russ Cox
|
918afd9491
|
move things out of sys into os and runtime
R=r
OCL=28569
CL=28573
|
2009-05-08 15:21:41 -07:00 |
|
Russ Cox
|
f7d3eb9db9
|
exit with error status EPIPE if
one fd gets too many EPIPEs in a row
during write.
R=r
DELTA=10 (9 added, 0 deleted, 1 changed)
OCL=28057
CL=28057
|
2009-04-29 18:18:42 -07:00 |
|
Rob Pike
|
aaf63f8d06
|
Step 1 of the Big Error Shift: make os.Error an interface and replace *os.Errors with os.Errors.
lib/template updated to use new setup; its clients also updated.
Step 2 will make os's error support internally much cleaner.
R=rsc
OCL=27586
CL=27586
|
2009-04-17 00:08:24 -07:00 |
|
Russ Cox
|
ff73221d6f
|
fix infinite loop in Readdirnames: bufp > nbuf can happen
after EOF has been hit, because nbuf is now 0 or -1.
discard old comment.
R=r
DELTA=3 (0 added, 0 deleted, 3 changed)
OCL=27463
CL=27465
|
2009-04-14 18:52:39 -07:00 |
|
Russ Cox
|
9b3f43774a
|
fix error return in Remove
change canexec to canExec.
R=r
DELTA=7 (0 added, 0 deleted, 7 changed)
OCL=27393
CL=27398
|
2009-04-13 19:14:09 -07:00 |
|
Russ Cox
|
5eae3b2102
|
lib misc
* exec.LookPath
* flag.Args
* os.Remove
* strings.HasPrefix
* strings.HasSuffix
* syscall.Rmdir
TBR=r
DELTA=100 (100 added, 0 deleted, 0 changed)
OCL=27373
CL=27392
|
2009-04-13 16:50:42 -07:00 |
|
Russ Cox
|
61ba160120
|
Chdir
R=r
DELTA=17 (17 added, 0 deleted, 0 changed)
OCL=27146
CL=27153
|
2009-04-07 00:40:36 -07:00 |
|
Russ Cox
|
7a706fb3d7
|
Rename os.FD to os.File.
Make Fstat, Readdirnames, and Readdir methods
on os.File.
R=r
DELTA=281 (79 added, 3 deleted, 199 changed)
OCL=25891
CL=26130
|
2009-03-11 12:51:10 -07:00 |
|
Rob Pike
|
333cdd8f2a
|
document os
R=rsc
DELTA=143 (96 added, 0 deleted, 47 changed)
OCL=25876
CL=25888
|
2009-03-07 16:56:44 -08:00 |
|
Russ Cox
|
be2edb5761
|
Automated g4 rollback of changelist 25024,
plus significant hand editing.
Back to T{x} for composite literals.
R=r
OCL=25612
CL=25632
|
2009-03-03 08:39:12 -08:00 |
|
Russ Cox
|
91ceda5c18
|
add os.ForkExec, os.Exec, os.Wait, exec.OpenCmd.
as thread-safe as possible, given the surrounding system.
add stub RWLock implementation.
R=r
DELTA=852 (834 added, 6 deleted, 12 changed)
OCL=25046
CL=25053
|
2009-02-15 19:35:52 -08:00 |
|
Russ Cox
|
9f8f2e6130
|
convert composite literals from { } to ( ).
only non-trivial changes are in
convlit1.go
golden.out
R=gri
OCL=25019
CL=25024
|
2009-02-13 14:48:32 -08:00 |
|
Rob Pike
|
0c4010a747
|
change DirInfo->dirInfo now that 6g export bug is fixed
R=rsc
DELTA=4 (0 added, 0 deleted, 4 changed)
OCL=24788
CL=24805
|
2009-02-10 16:44:04 -08:00 |
|
Rob Pike
|
6017895659
|
drop the os_ prefix on the file names in os. os_test.go can stay.
R=rsc
DELTA=793 (392 added, 392 deleted, 9 changed)
OCL=24777
CL=24804
|
2009-02-10 16:40:06 -08:00 |
|