diff options
| author | Jeff Carr <[email protected]> | 2025-01-09 16:02:53 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-09 16:02:53 -0600 |
| commit | b1961c371da567692314f775f9bdcb95837d9278 (patch) | |
| tree | 0aebbe3b1246aef3e9265452da6176d83f7d6464 /sort.go | |
| parent | fe98085712189edea536d9207b40f8b0daf826ef (diff) | |
auto test both. logic is correct now. seems to work
Diffstat (limited to 'sort.go')
| -rw-r--r-- | sort.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -191,9 +191,10 @@ func (pf *File) appendUnique(w io.Writer, blah *MsgName, names map[string]string var LOCK string = pf.Bases.Lockname if argv.Mutex { - LOCK = pf.Bases.Lockname - } else { + // use the mutex lock from the modified protoc.pb.go file LOCK = "all.Lock" + } else { + LOCK = pf.Bases.Lockname } fmt.Fprintln(w, "// enforces "+BASE+" is unique") |
