Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=204c28a0179222bf7c80d2e7220ecef7c1eda232
commit 204c28a0179222bf7c80d2e7220ecef7c1eda232 Author: Michel Hermier <herm...@frugalware.org> Date: Sat Dec 7 08:57:13 2013 +0100 libpacman: Fix some cut/paste error, and style error. diff --git a/lib/libpacman/fstring.c b/lib/libpacman/fstring.c index 37927d1..1d0554e 100644 --- a/lib/libpacman/fstring.c +++ b/lib/libpacman/fstring.c @@ -1,7 +1,7 @@ /* * fstring.c * - * Copyright (c) 2013 by Michel Hermier <jvi...@zeroflux.org> + * Copyright (c) 2013 by Michel Hermier <herm...@frugalware.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/lib/libpacman/util.c b/lib/libpacman/util.c index 808daf0..78a602d 100644 --- a/lib/libpacman/util.c +++ b/lib/libpacman/util.c @@ -205,7 +205,7 @@ int _pacman_lckmk(char *file) while((fd = open(file, O_WRONLY | O_CREAT | O_EXCL, 0000)) == -1 && errno == EACCES) { if(++count < 1) { sleep(1); - } else { + } else { close(fd); return(-1); } _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git