diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-10 12:20:37 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-10 12:20:37 +0000 |
commit | 32bc8138101e01482000a980e1473cc77e8cff28 (patch) | |
tree | 443d39e59b105e6640e0ff3b52c9b2e55cd51379 | |
parent | e6bd4839de6ca9a2a00bee11bf7e022b8a7a8933 (diff) | |
download | perl-URPM-32bc8138101e01482000a980e1473cc77e8cff28.tar perl-URPM-32bc8138101e01482000a980e1473cc77e8cff28.tar.gz perl-URPM-32bc8138101e01482000a980e1473cc77e8cff28.tar.bz2 perl-URPM-32bc8138101e01482000a980e1473cc77e8cff28.tar.xz perl-URPM-32bc8138101e01482000a980e1473cc77e8cff28.zip |
RPMERR_* doesn't exist anymore in rpm.org HEAD
(nb: this code (rpmErrorWriteTo) is currently only used by Drakx)
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -136,7 +136,9 @@ static const void* unused_variable(const void *p) { static int rpmError_callback_data; void rpmError_callback() { +#ifndef RPM_ORG if (rpmErrorCode() != RPMERR_UNLINK && rpmErrorCode() != RPMERR_RMDIR) +#endif write_nocheck(rpmError_callback_data, rpmlogMessage(), strlen(rpmlogMessage())); } |