// Parse /etc/group files and serialize them
-// Copyright (C) 2019 Simon Ruderich
+// Copyright (C) 2019-2020 Simon Ruderich
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
"encoding/binary"
"fmt"
"io"
+ "math"
"sort"
"strconv"
"strings"
- "math"
"github.com/pkg/errors"
)
tmp := make([]byte, 8)
// Create index "sorted" in input order, used when iterating over all
- // passwd entries (getgrent_r); keeping the original order makes
+ // group entries (getgrent_r); keeping the original order makes
// debugging easier
var indexOrig bytes.Buffer
for _, g := range grs {