Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-18 | Meta: Add license header to source files | Andreas Kling | |
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header. | |||
2020-01-13 | AK: Add ArmedScopeGuard, a scope guard that can be disarmed | Andrew Kaster | |
2019-06-18 | AK: ScopeGuard.h needs StdLibExtras.h | Andreas Kling | |
2019-06-07 | AK: Add a ScopeGuard helper that invokes a callback when destroyed. | Andreas Kling | |
This is useful when you want to ensure some little thing happens when you exit a certain scope. This patch makes use of it in LibC's netdb code to make sure we close the connection to the LookupServer. |