Package: dbview Version: 1.0.4-1 Severity: important Tags: patch
Version 1.0.4 returns exit code 1 on success. This value is interpreted as a failure code by make. The simple hack below makes this nice tool compatible with use from a makefile. === modified file 'db_dump.c' --- db_dump.c 2007-08-28 06:46:17 +0000 +++ db_dump.c 2007-08-28 06:58:08 +0000 @@ -129,7 +129,7 @@ db3_print_recs(dbhead.count, flags, delim); } fclose(dbfile); - return TRUE; + return 0; /* 0 means success and is used by make */ } Kind regards, Berni -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages dbview depends on: ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries dbview recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]