summaryrefslogtreecommitdiff
path: root/src/passwd/putgrent.c
AgeCommit message (Collapse)AuthorFilesLines
2019-05-16fix format strings for uid/gid values in putpwent/putgrentRich Felker1-1/+1
commit 648c3b4e18b2ce2b6af7d44783e42ca267ea49f5 omitted this change, which is needed to be able to use uid/gid values greater than INT_MAX with these interfaces. it fixes alpine linux bug #10460.
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy1-0/+1
2013-11-23putgrent: Add missing newlineMichael Forney1-0/+1
2013-11-23putgrent: Stop writing output on first failureMichael Forney1-2/+3
This way, if an fprintf fails, we get an incomplete group entry rather than a corrupted one.
2013-04-04add put*ent functions for passwd/group files and similar for shadowRich Felker1-0/+14
since shadow does not yet support enumeration (getspent), the corresponding FILE-based get and put versions are also subbed out for now. this is partly out of laziness and partly because it's not clear how they should work in the presence of TCB shadow files. the stubs should make it possible to compile some software that expects them to exist, but such software still may not work properly.