Package: libglib2.0-dev Version: 2.16.3-2 Severity: wishlist Hi,
glib currently provides g_dir_read_name for reading the contents of a directory. It's a quite common operation to first get a directory entry and stat() it directly afterwards. When using g_dir_read_name this currently requires you build the full path name to the directory entry using g_build_filename() (or something similar) and to call g_{,l}stat for getting the file information. This is not only unconvenient but also ineffective on platforms that provide fstatat(). The patch at http://files.perldition.org/g_dir_read_name_stat.patch implements a g_dir_read_name_stat function that reads the name of the next directory entry from a GDir, just like g_dir_read_name does, and stats if afterwards. It uses fstatat() where available. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.25-rc7 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libglib2.0-dev depends on: ii libc6 2.7-10 GNU C Library: Shared libraries ii libglib2.0-0 2.16.3-2 The GLib library of C routines ii libpcre3 7.6-2 Perl 5 Compatible Regular Expressi ii libselinux1 2.0.59-1 SELinux shared libraries ii pkg-config 0.22-1 manage compile and link flags for Versions of packages libglib2.0-dev recommends: ii python 2.5.2-1 An interactive high-level object-o -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]