]> Cypherpunks.ru repositories - goredo.git/blobdiff - ifchange.go
Raise copyright years in advance
[goredo.git] / ifchange.go
index a55120e2e995b957c78dc46f44614229542f3488..929a051f3497b3ac55dfca06dff8cb12ac429a5a 100644 (file)
@@ -1,6 +1,6 @@
 /*
 goredo -- djb's redo implementation on pure Go
-Copyright (C) 2020-2023 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2020-2024 Sergey Matveev <stargrave@stargrave.org>
 
 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
@@ -80,7 +80,7 @@ func buildDependants(tgts []*Tgt) map[string]*Tgt {
                        }
                }
        }
-       TgtCache = nil
+       TgtCache = make(map[string]*Tgt)
        IfchangeCache = nil
        if len(seen) == 0 {
                return seen