[Pkg-dspam-misc] Bug#369414: dspam: add-config-dir.dpatch passes args of wrong type, resulting in spurious compiler warnings

Daniel Kahn Gillmor dkg-debian.org at fifthhorseman.net
Mon May 29 16:59:36 UTC 2006


Package: dspam
Version: 3.6.6-1
Severity: normal
Tags: patch


add-config-dir.dpatch passes several arguments around as config_t**,
when it should probably be config_t*.

since config_t itself is typedef'ed to attrib_t, the extra layer of
dereferencing is one too many.

i'm attaching a new version of add-config-dir.dpatch which should fix
the issues.

The patch now also limits itself to reading files named *.conf in any
Include directories, which helps to avoid reading $EDITOR-generated
backup files, for example.

Thanks for maintaining dspam for debian!

	--dkg

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (700, 'testing'), (700, 'stable'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages dspam depends on:
ii  adduser                       3.87       Add and remove users and groups
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libdspam7                     3.6.6-1  DSPAM is a scalable and statistica
ii  libldap2                      2.1.30-13  OpenLDAP libraries
ii  procmail                      3.22-16    Versatile e-mail processor

Versions of packages dspam recommends:
pn  clamav-daemon                 <none>     (no description available)
ii  dspam-doc                     3.6.4-4    Documentation for dspam

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-config-dir.dpatch
Type: application/x-shellscript
Size: 4931 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-dspam-misc/attachments/20060529/cb742357/add-config-dir.bin


More information about the Pkg-dspam-misc mailing list