Your message dated Sun, 02 Apr 2006 16:02:03 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#360433: fixed in moreutils 0.10
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: moreutils
Version: 0.9
Severity: normal
Tags: patch

$ ifdata -ph foo
ioctl: No such device
00:00:00:00:00:00

The attached patch changes the behaviour to

$ ifdata -ph foo
ioctl: No such device

without printing the bogus hwaddr.


Adam
-- 
Adam                 [EMAIL PROTECTED]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
Index: ifdata.c
===================================================================
--- ifdata.c    (revision 35)
+++ ifdata.c    (working copy)
@@ -152,9 +152,7 @@
 
        PREPARE_SOCK(iface);
        CALL_IOCTL(SIOCGIFHWADDR);
-       if (res < 0) {
-               CALL_ERROR();
-       }
+       CALL_ERROR(return);
        hwaddr = (unsigned char *)req.ifr_hwaddr.sa_data;
        printf("%02X:%02X:%02X:%02X:%02X:%02X",
                hwaddr[0], hwaddr[1], hwaddr[2], hwaddr[3], hwaddr[4], 
hwaddr[5]);

--- End Message ---
--- Begin Message ---
Source: moreutils
Source-Version: 0.10

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

moreutils_0.10.dsc
  to pool/main/m/moreutils/moreutils_0.10.dsc
moreutils_0.10.tar.gz
  to pool/main/m/moreutils/moreutils_0.10.tar.gz
moreutils_0.10_i386.deb
  to pool/main/m/moreutils/moreutils_0.10_i386.deb



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.
Joey Hess <[EMAIL PROTECTED]> (supplier of updated moreutils 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,  2 Apr 2006 18:34:01 -0400
Source: moreutils
Binary: moreutils
Architecture: source i386
Version: 0.10
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 moreutils  - additional unix utilities
Closes: 360433
Changes: 
 moreutils (0.10) unstable; urgency=low
 .
   * ifdata: patch from Adam Lackorzynski to translate French error messages
     to English and to convert some #defines to enums.
   * ifdata: patch from Adam Lackorzynski to avoid printing info for
     bogus interface. Closes: #360433
   * Add zrun, contributed by Chung-chieh Shan (you might prefer to alias it to
     "z").
Files: 
 e8cb36dfc6781ecfce499a5bd990c4e7 532 utils optional moreutils_0.10.dsc
 988f31d3801619016e410ed21a9337ec 21765 utils optional moreutils_0.10.tar.gz
 a7211cf9238945b2ccf7cc2fecc42de0 30586 utils optional moreutils_0.10_i386.deb

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

iD8DBQFEMFSR2tp5zXiKP0wRAg8rAJ9XCOBoBbl/d8uqQhV9UG+9hmjB+wCgiFVm
Kr8RHVj7kH13U3vyqDkb590=
=Mlcd
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to