Where can I find stdlib.c to check the bsearch() implementation?

2011-12-07 Thread Teodor MICU
Hi,

I would like to see how bsearch() function is implemented in GNU C
library. I see that it is declared in stdlib.h but I couldn't find
the corresponding stdlib.c file anywhere in the Debian archive (i.e.
with apt-file search stdlib.c).

I've also downloaded the 'eglibc' source package but I don't see any
stdlib.c file. Can you tell me where the file is?

Thanks


PS: I didn't considered that the implementation of the C standard
library functions are not actually available somewhere in Debian
archive.


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAG2WgfcDabuR68vJafa5bnLuUM=DnT7VGUwc2u=mitk6ohr...@mail.gmail.com



Bug#611629: libc6: fail to upgrade with Can't locate auto/Hash/Util/bootstpap.al in @INC

2011-01-31 Thread Teodor MICU
Hi,

2011/1/31 Julian Andres Klode j...@debian.org:
 Definitely not a libc6 bug, and probably not a bug
 at all. It looks like your perl-base installation
 is corrupt.

Indeed perl-base was corrupted. The question is how since I didn't
modified it manually?!

 Does perl -e require Hash::Util; work?

It didn't worked until I corrected Util.pm.

Thanks



-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTi=fd2jddd2ywwubx1d0umwocu9haqaayy1an...@mail.gmail.com



Bug#611629: libc6: fail to upgrade with Can't locate auto/Hash/Util/bootstpap.al in @INC

2011-01-31 Thread Teodor MICU
Hi,

2011/1/31 Adam D. Barratt a...@adam-barratt.org.uk:
 Looking at the log, it doesn't appear the errors are actually due to
 libc6, however.  This section suggests a broken package; it would be
 interesting to narrow down which package caused it, so we can determine
 whether it is a local or mirror issue:

I've redownloaded libc6-i686 multiple times with the same effect.
However I've performed a second upgrade on another system and it
worked in three steps: dpkg, libc6, all remaining.

 | dpkg-deb (subprocess): data: internal bzip2 read error: 'DATA_ERROR'
 | dpkg-deb: subprocess decompress returned error exit status 2
 | dpkg-deb (subprocess): failed in write on buffer copy for failed to
 write to pipe in copy: Broken pipe

 The appearance of this error also points towards a likely local problem:

 | Can't locate auto/Hash/Util/bootstpap.al in @INC (@INC contains:

 The copy of /usr/lib/perl/5.10/Hash/Util.pm shipped by perl-base 5.10.1-17
 (the version in both squeeze and sid) has line 34 as:

 bootstrap Hash::Util $VERSION;

 rather than the bootstpap in your error log.

I've manually corrected this and the installation continued without
error. I've reinstalled perl-base (from the old downloaded package in
/var/cache/apt) and the new Util.pm file is correct. So a broken
Debian repository mirror is not the issue.

Thanks



--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktin5sy1zztntic4ptoorahuqvyun1d2ph+5u3...@mail.gmail.com



Bug#611629: libc6: fail to upgrade with Can't locate auto/Hash/Util/bootstpap.al in @INC

2011-01-31 Thread Teodor MICU
Hi,

2011/1/31 Julian Andres Klode j...@debian.org:
 Indeed perl-base was corrupted. The question is how since I didn't
 modified it manually?!
 Filesystem bug, system crash?

That's the most probable cause due to a power failure last night
combined with 'ext4' file systems.

However, this shows more possible problems with ext4 than expected.
The expected problem until now was to have zero length files on sudden
power failure but only for files that didn't had enough time to sync
to disk.

Maybe reassign and lower severity?

Thanks



-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikt56bcxcdopoiv9kqp9yx8h2e52+01dyxme...@mail.gmail.com