Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=f8fca235e40f874159085452aabbd5bb1b45a599
commit f8fca235e40f874159085452aabbd5bb1b45a599 Author: Michel Hermier <herm...@frugalware.org> Date: Mon Nov 11 12:02:30 2013 +0100 libpacman: Documentation fixes. diff --git a/lib/libpacman/be_files.c b/lib/libpacman/be_files.c index 881a9e0..a0004e4 100644 --- a/lib/libpacman/be_files.c +++ b/lib/libpacman/be_files.c @@ -52,11 +52,10 @@ #include "error.h" #include "handle.h" -/* reads dbpath/.lastupdate and populates *ts with the contents. +/* Reads dbpath/treename.lastupdate and populates *ts with the contents. * *ts should be malloc'ed and should be at least 15 bytes. * - * Returns 0 on success, 1 on error - * + * Returns 0 on success, -1 on error. */ int _pacman_db_getlastupdate(pmdb_t *db, char *ts) { @@ -87,7 +86,9 @@ int _pacman_db_getlastupdate(pmdb_t *db, char *ts) return(0); } -/* writes the dbpath/.lastupdate with the contents of *ts +/* Writes the dbpath/treename.lastupdate with the contents of *ts + * + * Returns 0 on success, -1 on error. */ int _pacman_db_setlastupdate(pmdb_t *db, const char *ts) { _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git