We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf8d646 commit 9932f2eCopy full SHA for 9932f2e
builder/ar.go
@@ -150,7 +150,7 @@ func makeArchive(arfile *os.File, objs []string) error {
150
}
151
152
// Keep track of the start of the symbol table.
153
- symbolTableStart, err := arfile.Seek(0, os.SEEK_CUR)
+ symbolTableStart, err := arfile.Seek(0, io.SeekCurrent)
154
if err != nil {
155
return err
156
@@ -172,7 +172,7 @@ func makeArchive(arfile *os.File, objs []string) error {
172
173
// Store the start index, for when we'll update the symbol table with
174
// the correct file start indices.
175
- offset, err := arfile.Seek(0, os.SEEK_CUR)
+ offset, err := arfile.Seek(0, io.SeekCurrent)
176
177
178
0 commit comments