The following commit has been merged in the master branch:
commit e1b2a73e7723126e0cf2109c9e44a793e39ac243
Author: Guillem Jover <[email protected]>
Date: Tue Nov 2 20:40:13 2010 +0100
libdpkg: Rename print_error_cleanup() to print_cleanup_error()
diff --git a/lib/dpkg/ehandle.c b/lib/dpkg/ehandle.c
index 4543d33..61ddeb1 100644
--- a/lib/dpkg/ehandle.c
+++ b/lib/dpkg/ehandle.c
@@ -119,7 +119,9 @@ void push_error_handler(jmp_buf *jbufp,
onerr_abort= 0;
}
-static void print_error_cleanup(const char *emsg, const char *contextstring) {
+static void
+print_cleanup_error(const char *emsg, const char *contextstring)
+{
fprintf(stderr, _("%s: error while cleaning up:\n %s\n"),thisname,emsg);
}
@@ -151,7 +153,7 @@ static void run_cleanups(struct errorcontext *econ, int
flagsetin) {
recurserr.jbufp= &recurejbuf;
recurserr.cleanups= NULL;
recurserr.next= NULL;
- recurserr.printerror= print_error_cleanup;
+ recurserr.printerror = print_cleanup_error;
recurserr.contextstring= NULL;
econtext= &recurserr;
cep->calls[i].call(cep->argc,cep->argv);
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]