Package: msort
Version: 8.26-1
Severity: important
Tags: patch
When one sort key have failled, log file is closed twice.
Then I think the first fclose should be removed.
See patch file.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.4
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Versions of packages msort depends on:
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libtre4 0.7.3-1 regexp matching library with appro
msort recommends no packages.
-- no debconf information
--- msort.old.c 2006-08-15 21:44:32.000000000 +0200
+++ msort.c 2006-08-15 21:44:41.000000000 +0200
@@ -1412,7 +1412,6 @@
if(FailedKeyP == TRUE){
fprintf(stderr,
_("Key extraction failed on one or more records.\nConsult the log
for details.\n"));
- fclose(Logfp);
ExitValue = BADRECORD;
}
#ifdef HAVE_PRINTF_THSEP