From 7627d2f868053a6d96abfa34dc00510a65ef492c Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 6 Jan 2005 15:02:48 +0000 Subject: use the base name only, so if a full path is passed to us we still write 2005-01-06 JP Rosevear * e-error-tool.c (main): use the base name only, so if a full path is passed to us we still write out to the current directory, for when builddir != srcdir svn path=/trunk/; revision=28253 --- e-util/ChangeLog | 6 ++++++ e-util/e-error-tool.c | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/e-util/ChangeLog b/e-util/ChangeLog index c9f1596fb6..e5e3340e14 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,9 @@ +2005-01-06 JP Rosevear + + * e-error-tool.c (main): use the base name only, so if a full path + is passed to us we still write out to the current directory, for + when builddir != srcdir + 2005-01-04 Rodrigo Moya * e-categories-config.[ch]: removed most of the API. The rest will diff --git a/e-util/e-error-tool.c b/e-util/e-error-tool.c index c6f1e0ff8c..4544b8b158 100644 --- a/e-util/e-error-tool.c +++ b/e-util/e-error-tool.c @@ -111,9 +111,12 @@ int main(int argc, char **argv) FILE *out; for (i=1;i