A few cleanups, followed by improved usage of the glib library (no need to reinvent the wheel when glib provides the necessary functionality), and then the addition of support for RHEL 4.x and 5.x.
Brandon Casey (15):
contrib/git-credential-gnome-keyring.c: remove unnecessary
pre-declarations
contrib/git-credential-gnome-keyring.c: remove unused die() function
contrib/git-credential-gnome-keyring.c: add static where applicable
contrib/git-credential-gnome-keyring.c: exit non-zero when called
incorrectly
contrib/git-credential-gnome-keyring.c: set Gnome application name
contrib/git-credential-gnome-keyring.c: strlen() returns size_t, not
ssize_t
contrib/git-credential-gnome-keyring.c: ensure buffer is non-empty
before accessing
contrib/git-credential-gnome-keyring.c: use gnome helpers in
keyring_object()
contrib/git-credential-gnome-keyring.c: use secure memory functions
for passwds
contrib/git-credential-gnome-keyring.c: use secure memory for reading
passwords
contrib/git-credential-gnome-keyring.c: use glib memory allocation
functions
contrib/git-credential-gnome-keyring.c: use glib messaging functions
contrib/git-credential-gnome-keyring.c: report failure to store
password
contrib/git-credential-gnome-keyring.c: support ancient gnome-keyring
contrib/git-credential-gnome-keyring.c: support really ancient
gnome-keyringcontrib/credential/gnome-keyring/Makefile | 4 +- .../gnome-keyring/git-credential-gnome-keyring.c | 280 ++++++++++++--------- 2 files changed, 158 insertions(+), 126 deletions(-)
-- 1.8.4.489.g545bc72