[Hostname-devel] Bug#565634: Bug#565634: hostname -A prints broken output

Michael Meskes meskes at debian.org
Mon Jan 18 09:17:11 UTC 2010


On Sun, Jan 17, 2010 at 04:04:08PM +0100, Marco d'Itri wrote:
> md at bongo:~$ hostname -A | hd
> 00000000  7f b7 01 20 61 64 73 6c  2d 75 6c 6c 2d 36 39 2d  |.·. adsl-ull-69-|
> 00000010  31 38 39 2e 34 38 2d 31  35 31 2e 6e 65 74 32 34  |189.48-151.net24|
> 00000020  2e 69 74 20 0a                                    |.it .|
> 00000025
> md at bongo:~$ hostname -A
> Š· adsl-ull-69-189.48-151.net24.it 

Could you please debug hostname? It printfs buf in line 317 which is set by
calling getnameinfo in line 310. Does getnameinfo really return this character?
Or is an error return not correctly caught?

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber meskes at jabber.org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL





More information about the Hostname-devel mailing list