Re: [gentoo-user] BUG in glibc????

2005-11-01 Thread Billy Holmes
capsel wrote: j=strcmp( log, *(lines+i) ); printf( ble\n ); if( strcmp( log, *(lines+i) ) == 0 ) { printf( ble2\n ); it looks to me like you're probably getting an invalid pointer reference. When that

Re: [gentoo-user] BUG in glibc????

2005-11-01 Thread John Myers
On Sunday 30 October 2005 13:54, capsel wrote: is it a bug in glibc or in my code? Probably not a bug in glibc. I'm 99% sure that there are no bugs that obvious in printf or strcmp. glibc is absolutely the most tested code in a GNU/Linux system, aside from the kernel itself, seeing as it is

[gentoo-user] BUG in glibc????

2005-10-30 Thread capsel
Hi all, I am writing some program... simple program and I've got some code: j=strcmp( log, *(lines+i) ); printf( ble\n ); if( strcmp( log, *(lines+i) ) == 0 ) { printf( ble2\n ); it is in for loop. ble and

Re: [gentoo-user] BUG in glibc???? [WAY OT]

2005-10-30 Thread Richard Fish
capsel wrote: Hi all, is it a bug in glibc or in my code? This is so far off topic, it isn't even funny. But, I see a couple bugs in your code. I will cover them inline: if( ( config_content == NULL ) || ( config_content==0 ) ) Not really a bug here, but since NULL and