put back 3 _alpm_log() calls
This commit is contained in:
parent
23cd8d87cb
commit
d30333756a
1 changed files with 3 additions and 6 deletions
|
@ -456,8 +456,7 @@ int db_write(pmdb_t *db, pmpkg_t *info, unsigned int inforeq)
|
||||||
if(inforeq & INFRQ_DESC) {
|
if(inforeq & INFRQ_DESC) {
|
||||||
snprintf(path, PATH_MAX, "%s/desc", topdir);
|
snprintf(path, PATH_MAX, "%s/desc", topdir);
|
||||||
if((fp = fopen(path, "w")) == NULL) {
|
if((fp = fopen(path, "w")) == NULL) {
|
||||||
/* ORE
|
_alpm_log(PM_LOG_ERROR, "db_write: could not open file %s/desc", db->treename);
|
||||||
perror("db_write");*/
|
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
fputs("%NAME%\n", fp);
|
fputs("%NAME%\n", fp);
|
||||||
|
@ -494,8 +493,7 @@ int db_write(pmdb_t *db, pmpkg_t *info, unsigned int inforeq)
|
||||||
if(inforeq & INFRQ_FILES) {
|
if(inforeq & INFRQ_FILES) {
|
||||||
snprintf(path, PATH_MAX, "%s/files", topdir);
|
snprintf(path, PATH_MAX, "%s/files", topdir);
|
||||||
if((fp = fopen(path, "w")) == NULL) {
|
if((fp = fopen(path, "w")) == NULL) {
|
||||||
/* ORE
|
_alpm_log(PM_LOG_ERROR, "db_write: could not open file %s/files", db->treename);
|
||||||
perror("db_write"); */
|
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
fputs("%FILES%\n", fp);
|
fputs("%FILES%\n", fp);
|
||||||
|
@ -515,8 +513,7 @@ int db_write(pmdb_t *db, pmpkg_t *info, unsigned int inforeq)
|
||||||
if(inforeq & INFRQ_DEPENDS) {
|
if(inforeq & INFRQ_DEPENDS) {
|
||||||
snprintf(path, PATH_MAX, "%s/depends", topdir);
|
snprintf(path, PATH_MAX, "%s/depends", topdir);
|
||||||
if((fp = fopen(path, "w")) == NULL) {
|
if((fp = fopen(path, "w")) == NULL) {
|
||||||
/* ORE
|
_alpm_log(PM_LOG_ERROR, "could not open file %s/depends", db->treename);
|
||||||
perror("db_write"); */
|
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
fputs("%DEPENDS%\n", fp);
|
fputs("%DEPENDS%\n", fp);
|
||||||
|
|
Loading…
Add table
Reference in a new issue