Bug#484321: libc: wrong result from inet_ntop

2008-06-03 Thread Salvo Tomaselli
Package: libc6 Version: 2.7-11 Severity: normal File: libc Hello executing this code: inet_ntop(AF_INET6, &farAddr.sin6_addr, ip_addr, INET6_ADDRSTRLEN); if the client is using an ipv4 address (this program is using both IPv4 and 6) the resulting string within ip_addr will be something like: ::f

Bug#484477: wrong result from inet_ntop

2008-06-04 Thread Salvo Tomaselli
Subject: libc6: wrong result from inet_ntop Package: libc6 Version: 2.7-11 Severity: normal *** Please type your report below this line *** Hello, am sending this report again because i had no feedback from the 1st sending. executing this code: inet_ntop(AF_INET6, &farAddr.sin6_addr, ip_addr, INE

Bug#484477: bug closed

2008-06-05 Thread Salvo Tomaselli
,&locAddr.sin6_addr)==0) { printf("Invalid IP address: %s\n",ip); exit(2); } it exits. -- Salvo Tomaselli / La Teoria e' quando si sa tutto ma non \ | funziona niente; la Pratica e' quando | | tutto funzi

Bug#484477: sorry

2008-06-05 Thread Salvo Tomaselli
no bug. Just my fault in copying and pasting ipv6 address from a log. i tought that : was part of the address and not a splitter between fields. sorry again -- Salvo Tomaselli / La Teoria e' quando si sa tutto ma non \ | funziona niente; la Prat

Bug#526734: libc: poll not working on ipv4 socket

2009-05-03 Thread Salvo Tomaselli
Package: libc6 Version: 2.9-9 Severity: normal File: libc The following code: if (poll(monitor,1,READ_TIMEOUT)==0) { r=0; } else { r = read(fd,buf->buffer,buf->size); } Works as expected (giving up the read a

Bug#526734: heem

2009-05-03 Thread Salvo Tomaselli
I am afraid after a suspend2ram it isn't occurring again :-s -- Salvo Tomaselli -- To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Bug#583077: libc6-dev: unexplicaple warning when using putenv with -std=c99

2010-05-25 Thread Salvo Tomaselli
Package: libc6-dev Version: 2.10.2-9 Severity: normal I try to compile this: #include int main () { putenv("a=b"); } And i point out that the include is there as reported by putenv(3) manpage. But compiling it with: $ gcc -std=c99 test.c I obtain: test.c: In function ‘main’: test.c:

Bug#858866: libc6-dev: improve documentation for strchrnul

2017-03-27 Thread Salvo Tomaselli
Package: libc6-dev Version: 2.24-9 Severity: normal Dear Maintainer, See this code: #include #define _GNU_SOURCE #include int main() { const char * filename = "cia ii manpages-dev 4.09-2 -- no debconf information