# HG changeset patch # User carl # Date 1140389406 28800 # Node ID ac98f448b6ab32f8b6cd0200464200696effa84b # Parent 3f2fedec798c0d46bda98a363cdd51e49d910bae patches from debian diff -r 3f2fedec798c -r ac98f448b6ab package --- a/package Sun Feb 19 14:35:22 2006 -0800 +++ b/package Sun Feb 19 14:50:06 2006 -0800 @@ -9,6 +9,7 @@ chown --recursive carl:carl * if [ -f pst2ldif ]; then + rm -f pst2ldif.log my.log ./pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' $pst >ams.ldif ./readpstlog pst2ldif.log | less >my.log hexdump -C $pst >pst.dump diff -r 3f2fedec798c -r ac98f448b6ab pst2ldif.cpp --- a/pst2ldif.cpp Sun Feb 19 14:35:22 2006 -0800 +++ b/pst2ldif.cpp Sun Feb 19 14:50:06 2006 -0800 @@ -400,8 +400,10 @@ exit(2); } - DEBUG_INIT("pst2ldif.log"); - DEBUG_REGISTER_CLOSE(); + #ifdef DEBUG_ALL + DEBUG_INIT("pst2ldif.log"); + DEBUG_REGISTER_CLOSE(); + #endif DEBUG_ENT("main"); RET_DERROR(pst_open(&pstfile, fname, "r"), 1, ("Error opening File\n")); RET_DERROR(pst_load_index(&pstfile), 2, ("Index Error\n"));