author | David Rajchenbach-Teller <dteller@mozilla.com> |
Tue, 28 Aug 2012 13:23:47 -0400 | |
changeset 103679 | 44cfdb8eba09def2914ce7e5c1486b5d09a94509 |
parent 103678 | b22fb91ad7e207e91bfd63ecf18410d17ee356b3 |
child 103680 | 054229ba8fd6663cb192f7663dd374146f30bc45 |
push id | 14110 |
push user | ryanvm@gmail.com |
push date | Tue, 28 Aug 2012 17:23:53 +0000 |
treeherder | mozilla-inbound@04d13cf166ab [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | froydnj |
bugs | 784373 |
milestone | 18.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/toolkit/components/osfile/osfile_unix_front.jsm +++ b/toolkit/components/osfile/osfile_unix_front.jsm @@ -137,17 +137,17 @@ * file. If |OS.File.POS_CURRENT|, |pos| is relative to the * current position in the file. If |OS.File.POS_END|, |pos| is * relative to the end of the file. * * @return The new position in the file. */ File.prototype.setPosition = function setPosition(pos, whence) { if (whence === undefined) { - whence = Const.SEEK_START; + whence = Const.SEEK_SET; } return throw_on_negative("setPosition", UnixFile.lseek(this.fd, pos, whence) ); }; /** * Fetch the information on the file.