Your message dated Sun, 06 Apr 2008 11:02:50 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#473814: fixed in libusb 2:0.1.12-10
has caused the Debian Bug report #473814,
regarding libusb: Please use const where appropriate in headers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
473814: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473814
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libusb-dev
Version: 2:0.1.12-9
Severity: wishlist
Tags: upstream

In the file /usr/include/usb.h, the prototypes for writing functions
don't declare the buffer as const.  This is problematic if strict const
handling is requested from the compiler (as is always the case when
writing C++).  In particular, the prototypes:

int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes,
        int size, int timeout);
int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes,
        int size, int timeout);

should instead be:

int usb_bulk_write(usb_dev_handle *dev, int ep, const char *bytes,
        int size, int timeout);
int usb_interrupt_write(usb_dev_handle *dev, int ep, const char *bytes,
        int size, int timeout); 

At the moment I need to cast my const strings, which is ugly.

This is obviously a request to upstream (although I would be happy with
a debian-only patch if they aren't responsive), so please forward it to
them through whatever channel they prefer.

Thanks,
Bas

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://pcbcn10.phys.rug.nl/e-mail.html

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: libusb
Source-Version: 2:0.1.12-10

We believe that the bug you reported is fixed in the latest version of
libusb, which is due to be installed in the Debian FTP archive:

libusb++-0.1-4c2_0.1.12-10_amd64.deb
  to pool/main/libu/libusb/libusb++-0.1-4c2_0.1.12-10_amd64.deb
libusb++-dev_0.1.12-10_amd64.deb
  to pool/main/libu/libusb/libusb++-dev_0.1.12-10_amd64.deb
libusb-0.1-4_0.1.12-10_amd64.deb
  to pool/main/libu/libusb/libusb-0.1-4_0.1.12-10_amd64.deb
libusb-0.1-udeb_0.1.12-10_amd64.udeb
  to pool/main/libu/libusb/libusb-0.1-udeb_0.1.12-10_amd64.udeb
libusb-dev_0.1.12-10_amd64.deb
  to pool/main/libu/libusb/libusb-dev_0.1.12-10_amd64.deb
libusb_0.1.12-10.diff.gz
  to pool/main/libu/libusb/libusb_0.1.12-10.diff.gz
libusb_0.1.12-10.dsc
  to pool/main/libu/libusb/libusb_0.1.12-10.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <[EMAIL PROTECTED]> (supplier of updated libusb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 06 Apr 2008 01:46:09 +0200
Source: libusb
Binary: libusb-0.1-4 libusb-dev libusb++-0.1-4c2 libusb++-dev libusb-0.1-udeb
Architecture: source amd64
Version: 2:0.1.12-10
Distribution: unstable
Urgency: low
Maintainer: Aurelien Jarno <[EMAIL PROTECTED]>
Changed-By: Aurelien Jarno <[EMAIL PROTECTED]>
Description: 
 libusb++-0.1-4c2 - userspace C++ USB programming library
 libusb++-dev - userspace C++ USB programming library development files
 libusb-0.1-4 - userspace USB programming library
 libusb-0.1-udeb - userspace USB programming library (udeb)
 libusb-dev - userspace USB programming library development files
Closes: 473814
Changes: 
 libusb (2:0.1.12-10) unstable; urgency=low
 .
   * Use const for buffers in write functions (closes: bug#473814).
Files: 
 cffa9653a8353fd307ce90afd66f5a9e 695 libs optional libusb_0.1.12-10.dsc
 aa37f0fdc8611f7a11e3a8a131544a9f 116552 libs optional libusb_0.1.12-10.diff.gz
 8e6f93d1c31cb4128c1d354ef868a188 21286 libs important 
libusb-0.1-4_0.1.12-10_amd64.deb
 6a66e9ded869cc8359df67c9176c749c 40498 libdevel optional 
libusb-dev_0.1.12-10_amd64.deb
 012df08527fcd45c8aa4bbc05438e7b6 16394 libs optional 
libusb++-0.1-4c2_0.1.12-10_amd64.deb
 971ad4616dab11e8400b270341c8a26d 20664 libdevel optional 
libusb++-dev_0.1.12-10_amd64.deb
 34008a7cc834618f009ec5e102854d03 12498 debian-installer optional 
libusb-0.1-udeb_0.1.12-10_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH+Kmyw3ao2vG823MRAvGkAJ4led2wyvFm6xIPNvxWkKAn6cPdKQCfStat
/KDHu52xzEA95yF6H8Ljdrg=
=qTrt
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to