X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=js.go;h=0aa43d9393cbc07cbc0adc98ca56ef87303578ff;hb=HEAD;hp=56566e444d1c9391b38e113aa796011435fcc6a8;hpb=b69d2ab11a495413ecc16a9bfea0d105b030c606;p=goredo.git diff --git a/js.go b/js.go index 56566e4..0aa43d9 100644 --- a/js.go +++ b/js.go @@ -1,19 +1,17 @@ -/* -goredo -- djb's redo implementation on pure Go -Copyright (C) 2020-2023 Sergey Matveev - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, version 3 of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ +// goredo -- djb's redo implementation on pure Go +// Copyright (C) 2020-2024 Sergey Matveev +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, version 3 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . // Jobserver @@ -99,7 +97,7 @@ func jsStart(jobsEnv string) { } JSR, JSW, err = os.Pipe() if err != nil { - log.Fatalln(err) + log.Fatal(err) } tracef(CJS, "initial fill with %d", jobs) jsTokens[BMakeGoodToken] = int(jobs) @@ -153,7 +151,7 @@ func jsInit() { func() { defer func() { if err := recover(); err != nil { - log.Fatalln(err) + log.Fatal(err) } }() JSR = mustParseFd(match[2], "JSR")