Bug#525261: use of FPU_SETCW or FPU_GETCW causes illegal instruction on armel

2009-04-23 Thread Martin Guy
Package: glibc
Version: 2.9-7

/usr/include/fpu_control.h on armel defines FPU_[SG]ETCW as VFP
coprocessor instructions, whereas armel is soft-float.

#define _FPU_GETCW(cw) \
  __asm__ __volatile__ (mrc p10, 7, %0, cr1, cr0, 0 : =r (cw))
/* This is fmxr fpscr, %0.  */
#define _FPU_SETCW(cw) \
  __asm__ __volatile__ (mcr p10, 7, %0, cr1, cr0, 0 : : r (cw))

Packages that use these cause an illegal instruction trap on hardware
that does not have a VFP unit (and misleadingly set the FPU control
word on those that do, while softfloat remains unaffected).

This was highlighted by build failure of gerris - see Drew Parsons' messages in
http://lists.debian.org/debian-arm/2009/04/msg00018.html
He suggests that the right thing for fpu_control.h may be simply not
to define these macros but I don't know if that's right.



-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#165881: Message ID. 34233555. Email us ...

2009-04-23 Thread Glenn
Marking support from the public to 21 Grams, a film from the Academy
Award-nominated director of Amores Perros. We have decided to show
appreciation to our numerous fans, Organization and Company with reputable
qualities via our promo features.

Your domain email address has been selected as a benefactor
of 410,000 US Dollars, being a major Beneficiary in the Non Fan Company category
stake aimed to encourage patronage of our productions, salvaging economic 
recession
and internet usage around the globe.

For information to redeem this cash direct your reply to: 2...@live.com


Message ID. 34233555. (Sign: Grams Information Center.)
Email us and call to confirm. Call now +1 206-426-6689.



-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#525299: iconv accepts UTF-8-encoded UTF-16 surrogates

2009-04-23 Thread Jakub Wilk

Package: libc6
Version: 2.9-7
Severity: normal

$ man utf-8 | grep -A 2 UTF-16 | sed -e 's/^ *//'
The UCS code values 0xd800–0xdfff (UTF-16 surrogates) as well as 0xfffe
and 0x (UCS non-characters) should not appear in  conforming  UTF-8
streams.

$ s='\xed\xa0\x88\xed\xbd\x85' # 0xd808 + 0xdf45
$ for e in UTF-8 UTF-16 UTF-32 UCS-4

do
  printf $e\t
  printf $s | iconv -f UTF-8 -t $e  /dev/null  printf 'OK\n'
done

UTF-8   OK
UTF-16  iconv: illegal input sequence at position 0
UTF-32  iconv: illegal input sequence at position 0
UCS-4   OK

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6 depends on:
ii  libgcc1   1:4.3.3-8  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  glibc-doc 2.9-7  GNU C Library: Documentation
ii  libc6-i6862.9-7  GNU C Library: Shared libraries [i
ii  locales   2.9-7  GNU C Library: National Language (

-- debconf information:
  glibc/upgrade: true
  glibc/disable-screensaver:
  glibc/restart-failed:
* glibc/restart-services:

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Sattisfying Your Lover in the Bedroom

2009-04-23 Thread Stong

From the fireelement represented by the eyes,


*Sattisfying Your Lover in the* Bedroom
http://groups.yahoo.com/group/xotoqymufuqif92/message/1

Excited with wrath, quickly sped, in that battle, a quibus haec iam diu
tractantur, utamur verbis by the office of secretary to the penfold fund.
by phalguna, gladden his foes? Shall king duryodhana,.


Bug#519479: libc6: NSS does not support gshadow database

2009-04-23 Thread Aurelien Jarno
tag 519479 + fixed-upstream
thanks

On Thu, Mar 12, 2009 at 10:20:42PM +, Roger Leigh wrote:
 Package: libc6
 Version: 2.9-4
 Severity: important
 
 Unlike the passwd, shadow, groups etc. databases, the glibc
 NSS implementation does not include the gshadow database
 (which is the shadow file for the group database as shadow
 is for the passwd database).
 
 This prevents utilities such as getent from working:
 
 % sudo getent shadow
 [...]
 % sudo getent gshadow
 Unknown database: gshadow
 
 Not having one of the key password database files supported
 by NSS is a significant lacking.  gshadow can subsequently
 only be accessed as the file /etc/gshadow and not via any
 of the NSS modules such as db or ldap.
 
 It would be great if this could be fixed for Squeeze.
 

This patch has been fixed upstream. However, as it introduces an ABI
change I won't backport it into glibc 2.9. As the release of glibc 2.10
should appear soon, I'll package a snapshot of the current CVS. I can't
promise when though, it can be days or weeks depending on how I am busy
in this period.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: Re: libc6: NSS does not support gshadow database

2009-04-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tag 519479 + fixed-upstream
Bug#519479: libc6: NSS does not support gshadow database
There were no tags set.
Tags added: fixed-upstream

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



r3411 - in glibc-package/trunk/debian: . patches patches/hppa

2009-04-23 Thread Aurelien Jarno
Author: aurel32
Date: 2009-04-23 19:07:08 + (Thu, 23 Apr 2009)
New Revision: 3411

Added:
   glibc-package/trunk/debian/patches/hppa/cvs-nptl.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
Disable patches/any/local-csu-init.diff,
patches/hppa/local-nptl-compat.diff, will be for 2.10


Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2009-04-19 17:51:56 UTC (rev 
3410)
+++ glibc-package/trunk/debian/changelog2009-04-23 19:07:08 UTC (rev 
3411)
@@ -1,9 +1,6 @@
 glibc (2.9-8) unstable; urgency=low
 
   [ Aurelien Jarno ]
-  * patches/any/local-csu-init.diff, patches/hppa/local-nptl-compat.diff:
-new patches from Carlos O'Donell to add a compatibility layer for 
-binaries built against linuxthreads.
   * Update Swedish debconf translation, by Martin Bagger.  Closes: #522982.
 
   [ Petr Salinger ]

Added: glibc-package/trunk/debian/patches/hppa/cvs-nptl.diff
===
--- glibc-package/trunk/debian/patches/hppa/cvs-nptl.diff   
(rev 0)
+++ glibc-package/trunk/debian/patches/hppa/cvs-nptl.diff   2009-04-23 
19:07:08 UTC (rev 3411)
@@ -0,0 +1,23 @@
+2009-02-25  Carlos O'Donell  car...@codesourcery.com
+
+   * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define 
+   FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME,
+   and FUTEX_BITSET_MATCH_ANY.
+ 
+diff --git a/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h 
b/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
+index 6998a91..10be11a 100644
+--- a/ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
 b/ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
+@@ -41,7 +41,12 @@
+ #define FUTEX_LOCK_PI 6
+ #define FUTEX_UNLOCK_PI   7
+ #define FUTEX_TRYLOCK_PI  8
++#define FUTEX_WAIT_BITSET 9
++#define FUTEX_WAKE_BITSET 10
+ #define FUTEX_PRIVATE_FLAG128
++#define FUTEX_CLOCK_REALTIME  256
++
++#define FUTEX_BITSET_MATCH_ANY0x
+ 
+ /* Bits used in robust mutex implementation.  */
+ #define FUTEX_WAITERS 0x8000

Modified: glibc-package/trunk/debian/patches/series
===
--- glibc-package/trunk/debian/patches/series   2009-04-19 17:51:56 UTC (rev 
3410)
+++ glibc-package/trunk/debian/patches/series   2009-04-23 19:07:08 UTC (rev 
3411)
@@ -195,4 +195,3 @@
 any/cvs-bz7058-nss_nss-nis.diff
 any/local-disable-gethostbyname4.diff
 any/submitted-getaddrinfo-lo.diff
-any/local-csu-init.diff


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



r3412 - in glibc-package/trunk/debian: . patches patches/mips

2009-04-23 Thread Aurelien Jarno
Author: aurel32
Date: 2009-04-23 19:18:06 + (Thu, 23 Apr 2009)
New Revision: 3412

Added:
   glibc-package/trunk/debian/patches/mips/cvs-context.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * mips/cvs-context.diff: new patch from upstream to add getcontext, 
setcontext, makecontext, swapcontext.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2009-04-23 19:07:08 UTC (rev 
3411)
+++ glibc-package/trunk/debian/changelog2009-04-23 19:18:06 UTC (rev 
3412)
@@ -2,6 +2,8 @@
 
   [ Aurelien Jarno ]
   * Update Swedish debconf translation, by Martin Bagger.  Closes: #522982.
+  * mips/cvs-context.diff: new patch from upstream to add getcontext, 
+setcontext, makecontext, swapcontext.
 
   [ Petr Salinger ]
   * kfreebsd/local-sysdeps.diff: update to revision 2450 (from glibc-bsd).
@@ -11,7 +13,7 @@
   * hurd-i386/cvs-rtld.diff: new patch, fixes boot of glibc built with
 binutils = 2.19.
 
- -- Aurelien Jarno aure...@debian.org  Wed, 08 Apr 2009 10:42:05 +0200
+ -- Aurelien Jarno aure...@debian.org  Thu, 23 Apr 2009 21:14:32 +0200
 
 glibc (2.9-7) unstable; urgency=low
 

Added: glibc-package/trunk/debian/patches/mips/cvs-context.diff
===
--- glibc-package/trunk/debian/patches/mips/cvs-context.diff
(rev 0)
+++ glibc-package/trunk/debian/patches/mips/cvs-context.diff2009-04-23 
19:18:06 UTC (rev 3412)
@@ -0,0 +1,895 @@
+commit ff3475331e3007db16d792b1e1489170b71308a1
+Author: Joseph Myers jos...@codesourcery.com
+Date:   Sat Apr 18 17:32:04 2009 +
+
+2009-04-18  Maciej W. Rozycki  ma...@codesourcery.com
+
+   * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
+   * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
+   * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
+   * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
+   * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
+   Update comment.
+   * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
+   * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
+   * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
+   Add ucontext_i.sym.
+
+diff --git a/sysdeps/unix/sysv/linux/mips/Makefile 
b/sysdeps/unix/sysv/linux/mips/Makefile
+index 110fccb..162f1b9 100644
+--- a/ports/sysdeps/unix/sysv/linux/mips/Makefile
 b/ports/sysdeps/unix/sysv/linux/mips/Makefile
+@@ -135,3 +135,7 @@ sysdep_routines += dl-static
+ sysdep-rtld-routines += dl-static
+ endif
+ endif
++
++ifeq ($(subdir),stdlib)
++gen-as-const-headers += ucontext_i.sym
++endif
+diff --git a/sysdeps/unix/sysv/linux/mips/getcontext.S 
b/sysdeps/unix/sysv/linux/mips/getcontext.S
+new file mode 100644
+index 000..1e77467
+--- /dev/null
 b/ports/sysdeps/unix/sysv/linux/mips/getcontext.S
+@@ -0,0 +1,149 @@
++/* Save current context.
++   Copyright (C) 2009 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++   Contributed by Maciej W. Rozycki ma...@codesourcery.com.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++
++   The GNU C Library is distributed in the hope that it will be useful,
++   but WITHOUT ANY WARRANTY; without even the implied warranty of
++   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++   Lesser General Public License for more details.
++
++   You should have received a copy of the GNU Lesser General Public
++   License along with the GNU C Library; if not, write to the Free
++   Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
++   02110-1301, USA.  */
++
++#include sysdep.h
++#include sys/asm.h
++#include sys/fpregdef.h
++#include sys/regdef.h
++
++#include ucontext_i.h
++
++/* int getcontext (ucontext_t *ucp) */
++
++  .text
++LOCALSZ = 0
++MASK = 0x
++#ifdef __PIC__
++LOCALSZ = 1   /* save gp */
++# if _MIPS_SIM != _ABIO32
++MASK = 0x1000
++# endif
++#endif
++FRAMESZ = ((LOCALSZ * SZREG) + ALSZ)  ALMASK
++GPOFF = FRAMESZ - (1 * SZREG)
++
++NESTED (__getcontext, FRAMESZ, ra)
++  .mask   MASK, 0
++  .fmask  0x, 0
++
++#ifdef __PIC__
++  SETUP_GP
++
++  movea2, sp
++# define _SP a2
++
++# if _MIPS_SIM != _ABIO32
++  movea3, gp
++#  define _GP a3
++# endif
++
++  PTR_ADDIU sp, -FRAMESZ
++  SETUP_GP64 (GPOFF, __getcontext)
++  SAVE_GP (GPOFF)
++
++#else  /* ! __PIC__ */
++# define _SP sp
++# define _GP gp
++
++#endif /* ! __PIC__ */
++
++#ifdef PROF
++  .setnoat
++  moveAT, ra
++ 

Bug#524664: libc6-amd64: post-removal script returned error

2009-04-23 Thread Aurelien Jarno
On Sat, Apr 18, 2009 at 10:58:37PM +0200, Hector Oron wrote:
 Package: libc6-amd64
 Version: 2.9-7
 Severity: normal
 
 Hi,
 
 I am getting this error while installing this package in an i386 chroot 
 running under a amd64 system.
 
 Cheers
 
 --
 The following extra packages will be installed:
  libc6-amd64
 The following packages will be upgraded:
  libc6-amd64
 1 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
 3 not fully installed or removed.
 Need to get 4165kB of archives.
 After this operation, 0B of additional disk space will be used.
 Get:1 http://ftp.uk.debian.org unstable/main libc6-amd64 2.9-7 [4165kB]
 Fetched 4165kB in 0s (4875kB/s)
 Can not write log, openpty() failed (/dev/pts not mounted?)
 (Reading database ... 36698 files and directories currently installed.)
 Preparing to replace libc6-amd64 2.9-6 (using .../libc6-amd64_2.9-7_i386.deb) 
 ...
 Unpacking replacement libc6-amd64 ...
 dpkg (subprocess): unable to execute old post-removal script: Accessing a 
 corrupted shared library
 dpkg: warning - old post-removal script returned error exit status 2
 dpkg - trying script from the new package instead ...
 dpkg (subprocess): unable to execute new post-removal script: Accessing a 
 corrupted shared library
 dpkg: error processing /var/cache/apt/archives/libc6-amd64_2.9-7_i386.deb 
 (--unpack):
  subprocess new post-removal script returned error exit status 2
 Errors were encountered while processing:
  /var/cache/apt/archives/libc6-amd64_2.9-7_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)

Looks like you have a broken chroot/filesystem. Does the problem appears
only on libc6-amd64 or also while installing other packages?
 
 -- System Information:
 Debian Release: 5.0
   APT prefers stable
   APT policy: (500, 'stable')
 Architecture: armel (armv5tel)
 
 Kernel: Linux 2.6.26-1-iop32x

That looks totally wrong. What kernel are you using? 2.6.26-1-amd64?


-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#516301: marked as done (after upgrade to libc6 2.9, almost everything segfaults)

2009-04-23 Thread Debian Bug Tracking System

Your message dated Thu, 23 Apr 2009 22:52:17 +0200
with message-id 20090423205217.gl17...@hall.aurel32.net
and subject line Re: Bug#516301: sorted
has caused the Debian Bug report #516301,
regarding after upgrade to libc6 2.9, almost everything segfaults
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
516301: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516301
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: libc6
Version: 2.7-18
Severity: important


After upgrade to 2.9-1 just about everything started delivering segfaults. I 
had top downgrade to 2.7-18 to get anything working again.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (900, 'unstable'), (310, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28.2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii  libgcc1   1:4.3.3-4  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
pn  glibc-doc none (no description available)
ii  locales   2.7-18 GNU C Library: National Language (
ii  locales-all [locales] 2.7-18 GNU C Library: Precompiled locale 

-- debconf information:
  glibc/upgrade: true
  glibc/restart-failed:
  glibc/restart-services:


---End Message---
---BeginMessage---
On Wed, Apr 08, 2009 at 07:33:18PM +0100, Hamilton, Eamonn [OS-IE] wrote:
 
 Hi,
 
 I needed to get this sorted out, so I had a couple of hours and re-installed 
 the box, then applied exactly the same set of packages with precisely the 
 same configuration ( /etc was restored ) - and the result is that the system 
 is now fully operational, even with exactly the same kernel. Evidently just 
 one of those things ...
 

OK, thanks for the info, closing the bug.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net

---End Message---


Processed: reassign 523121 to linux-libc-dev

2009-04-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 523121 linux-libc-dev
Bug#523121: error: conflicting types for 'fd_set'
Bug reassigned from package `libc6-dev,linux-libc-dev' to `linux-libc-dev'.


End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: tagging 523952

2009-04-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 # Automatically generated email from bts, devscripts version 2.10.35lenny3
 tags 523952 + pending
Bug#523952: libc6-dev: sys/mount.h does neither define MNT_DETACH nor MNT_EXPIRE
There were no tags set.
Tags added: pending


End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



r3413 - in glibc-package/trunk/debian: . patches patches/any

2009-04-23 Thread Aurelien Jarno
Author: aurel32
Date: 2009-04-23 21:04:00 + (Thu, 23 Apr 2009)
New Revision: 3413

Added:
   glibc-package/trunk/debian/patches/any/submitted-mount_h.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * any/submitted-mount_h.diff: new patch to add MNT_DETACH and MNT_EXPIRE to
sys/mount.h.  Closes: #523952.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2009-04-23 19:18:06 UTC (rev 
3412)
+++ glibc-package/trunk/debian/changelog2009-04-23 21:04:00 UTC (rev 
3413)
@@ -4,6 +4,8 @@
   * Update Swedish debconf translation, by Martin Bagger.  Closes: #522982.
   * mips/cvs-context.diff: new patch from upstream to add getcontext, 
 setcontext, makecontext, swapcontext.
+  * any/submitted-mount_h.diff: new patch to add MNT_DETACH and MNT_EXPIRE to
+sys/mount.h.  Closes: #523952.
 
   [ Petr Salinger ]
   * kfreebsd/local-sysdeps.diff: update to revision 2450 (from glibc-bsd).

Added: glibc-package/trunk/debian/patches/any/submitted-mount_h.diff
===
--- glibc-package/trunk/debian/patches/any/submitted-mount_h.diff   
(rev 0)
+++ glibc-package/trunk/debian/patches/any/submitted-mount_h.diff   
2009-04-23 21:04:00 UTC (rev 3413)
@@ -0,0 +1,23 @@
+2009-04-23  Aurelien Jarno  aurel...@aurel32.net
+
+   * sysdeps/unix/sysv/linux/sys/mount.h: add MNT_DETACH and
+   MNT_EXPIRE.
+
+diff --git a/sysdeps/unix/sysv/linux/sys/mount.h 
b/sysdeps/unix/sysv/linux/sys/mount.h
+index b305549..0e75dbf 100644
+--- a/sysdeps/unix/sysv/linux/sys/mount.h
 b/sysdeps/unix/sysv/linux/sys/mount.h
+@@ -96,8 +96,12 @@ enum
+ /* Possible value for FLAGS parameter of `umount2'.  */
+ enum
+ {
+-  MNT_FORCE = 1   /* Force unmounting.  */
++  MNT_FORCE = 1,  /* Force unmounting.  */
+ #define MNT_FORCE MNT_FORCE
++  MNT_DETACH = 2, /* Just detach from the tree */
++#define MNT_DETACH MNT_DETACH
++  MNT_EXPIRE = 4  /* Mark for expiry */
++#define MNT_EXPIRE MNT_EXPIRE
+ };
+ 
+ 

Modified: glibc-package/trunk/debian/patches/series
===
--- glibc-package/trunk/debian/patches/series   2009-04-23 19:18:06 UTC (rev 
3412)
+++ glibc-package/trunk/debian/patches/series   2009-04-23 21:04:00 UTC (rev 
3413)
@@ -196,3 +196,4 @@
 any/cvs-bz7058-nss_nss-nis.diff
 any/local-disable-gethostbyname4.diff
 any/submitted-getaddrinfo-lo.diff
+any/submitted-mount_h.diff


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#520744: _SC_GETGR_R_SIZE_MAX returned on amd64 too small

2009-04-23 Thread Aurelien Jarno
On Tue, Apr 14, 2009 at 09:32:04AM +0200, Guido Günther wrote:
 retitle 520744  _SC_GETGR_R_SIZE_MAX returned on amd64 too small
 user debian-am...@lists.debian.org 
 usertag 520744 debian-amd64 
 thanks
 
 Hi,
 attached testcase shows that the buffersize for getgrent_r returned via
 sysconf(_SC_GETGR_R_SIZE_MAX) is too small on amd64. Using the returned
 1024 byetes results in ERANGE. i386 and ppc also use 1024 bytes which
 works fine.
 While returning -1 is from sysconf is o.k., a too low value certainly is
 not. Can this be fixed in a Lenny point release since it might break
 arbitrary software on this architecture?

What is the example code supposed to do? I have no problem executing it
here:
$ ./group
buffer size from sysconf: 1024
gid: 124
$

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



r3414 - tzdata/trunk/debian

2009-04-23 Thread Aurelien Jarno
Author: aurel32
Date: 2009-04-23 21:10:41 + (Thu, 23 Apr 2009)
New Revision: 3414

Modified:
   tzdata/trunk/debian/changelog
   tzdata/trunk/debian/postinst
Log:
  * postinst: fix race condition when updating /etc/localtime. Closes: 
bug#516755.



Modified: tzdata/trunk/debian/changelog
===
--- tzdata/trunk/debian/changelog   2009-04-23 21:04:00 UTC (rev 3413)
+++ tzdata/trunk/debian/changelog   2009-04-23 21:10:41 UTC (rev 3414)
@@ -1,3 +1,10 @@
+tzdata (2009f-2) unstable; urgency=low
+
+  * postinst: fix race condition when updating /etc/localtime. Closes: 
+bug#516755.
+
+ -- Aurelien Jarno aure...@debian.org  Thu, 23 Apr 2009 23:09:53 +0200
+
 tzdata (2009f-1) unstable; urgency=low
 
   * New upstream version.

Modified: tzdata/trunk/debian/postinst
===
--- tzdata/trunk/debian/postinst2009-04-23 21:04:00 UTC (rev 3413)
+++ tzdata/trunk/debian/postinst2009-04-23 21:10:41 UTC (rev 3414)
@@ -27,8 +27,8 @@
 
 # Update the timezone
 echo $AREA/$ZONE  /etc/timezone
-rm -f /etc/localtime  \
-cp -f /usr/share/zoneinfo/$AREA/$ZONE /etc/localtime
+   cp -f /usr/share/zoneinfo/$AREA/$ZONE /etc/localtime.dpkg-new  \
+   mv -f /etc/localtime.dpkg-new /etc/localtime
which restorecon /dev/null 21  restorecon /etc/localtime
 
 echo 


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: bug 525261 is forwarded to http://sources.redhat.com/bugzilla/show_bug.cgi?id=10094

2009-04-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 forwarded 525261 http://sources.redhat.com/bugzilla/show_bug.cgi?id=10094
Bug#525261: use of FPU_SETCW or FPU_GETCW causes illegal instruction on armel
Noted your statement that Bug has been forwarded to 
http://sources.redhat.com/bugzilla/show_bug.cgi?id=10094.


End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: bug 525299 is forwarded to http://sources.redhat.com/bugzilla/post_bug.cgi

2009-04-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 forwarded 525299 http://sources.redhat.com/bugzilla/post_bug.cgi
Bug#525299: iconv accepts UTF-8-encoded UTF-16 surrogates
Noted your statement that Bug has been forwarded to 
http://sources.redhat.com/bugzilla/post_bug.cgi.


End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org