Processed: bug 716775 is forwarded to http://sourceware.org/bugzilla/show_bug.cgi?id=15736

2013-07-12 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> forwarded 716775 http://sourceware.org/bugzilla/show_bug.cgi?id=15736
Bug #716775 [libc6] libc6:amd64: mismatch between strcasecmp and 
toupper/tolower in tr_TR.iso88599 locale
Set Bug forwarded-to-address to 
'http://sourceware.org/bugzilla/show_bug.cgi?id=15736'.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
716775: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716775
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
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/handler.s.c.137365269132190.transcr...@bugs.debian.org



r5664 - in glibc-package/trunk/debian: . patches/kfreebsd

2013-07-12 Thread Petr Salinger
Author: ps-guest
Date: 2013-07-12 15:45:54 + (Fri, 12 Jul 2013)
New Revision: 5664

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
Log:
 kfreebsd/local-sysdeps.diff: update to revision 4739 (from glibc-bsd).



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2013-07-10 05:52:02 UTC (rev 
5663)
+++ glibc-package/trunk/debian/changelog2013-07-12 15:45:54 UTC (rev 
5664)
@@ -14,7 +14,7 @@
 into  kfreebsd/local-nscd-no-sockcloexec.diff and
   kfreebsd/local-linuxthreads-tlsdesc.diff
   * add kfreebsd/local-fbtl.diff and kfreebsd/local-fbtl-depends.diff
-  * kfreebsd/local-sysdeps.diff: update to revision 4727 (from glibc-bsd).
+  * kfreebsd/local-sysdeps.diff: update to revision 4739 (from glibc-bsd).
 
  -- Aurelien Jarno   Sun, 30 Jun 2013 01:45:35 +0200
 

Modified: glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff
===
--- glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff  
2013-07-10 05:52:02 UTC (rev 5663)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-sysdeps.diff  
2013-07-12 15:45:54 UTC (rev 5664)
@@ -4560,7 +4560,7 @@
 +
 --- /dev/null
 +++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/time.h
-@@ -0,0 +1,98 @@
+@@ -0,0 +1,102 @@
 +/* System-dependent timing definitions.  FreeBSD version.
 +   Copyright (C) 1996-1997, 1999, 2000, 2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -4605,10 +4605,6 @@
 +#  ifdef __USE_POSIX199309
 +/* Identifier for system-wide realtime clock.  */
 +#   define CLOCK_REALTIME 0
-+/* High-resolution timer from the CPU.  */
-+#   define CLOCK_PROCESS_CPUTIME_ID   2
-+/* Thread-specific CPU-time clock.  */
-+#   define CLOCK_THREAD_CPUTIME_ID3
 +/* Monotonic system-wide clock.  */
 +#   define CLOCK_MONOTONIC4
 +/* These are BSD specific clocks.  */
@@ -4624,6 +4620,14 @@
 +#define CLOCK_MONOTONIC_FAST12  /* FreeBSD-specific. */
 +#define CLOCK_SECOND13  /* FreeBSD-specific. */
 +#   endif
++/* Thread-specific CPU-time clock.  */
++#   define CLOCK_THREAD_CPUTIME_ID14
++/* High-resolution timer from the CPU.  */
++#   define CLOCK_PROCESS_CPUTIME_ID   15
++#   ifdef __USE_BSD
++# define CPUCLOCK_WHICH_PID 0
++# define CPUCLOCK_WHICH_TID 1
++#   endif
 +
 +/* Flag to indicate time is absolute.  */
 +#   define TIMER_RELTIME  0   /* relative timer */
@@ -5097,7 +5101,7 @@
 +#include 
 --- /dev/null
 +++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/clock_getres.c
-@@ -0,0 +1,42 @@
+@@ -0,0 +1,43 @@
 +/* Copyright (C) 2006 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +
@@ -5123,15 +5127,16 @@
 +
 +# define SYSDEP_GETRES \
 +  case CLOCK_REALTIME:\
++  case CLOCK_VIRTUAL: \
++  case CLOCK_PROF:\
 +  case CLOCK_MONOTONIC:   \
++  case CLOCK_UPTIME:  \
++  case CLOCK_UPTIME_PRECISE:  \
++  case CLOCK_UPTIME_FAST: \
++  case CLOCK_REALTIME_PRECISE:\
 +  case CLOCK_REALTIME_FAST:   \
-+  case CLOCK_REALTIME_PRECISE:\
++  case CLOCK_MONOTONIC_PRECISE:   \
 +  case CLOCK_MONOTONIC_FAST:  \
-+  case CLOCK_MONOTONIC_PRECISE:   \
-+  case CLOCK_UPTIME:  \
-+  case CLOCK_UPTIME_FAST: \
-+  case CLOCK_UPTIME_PRECISE:  \
-+  case CLOCK_VIRTUAL: \
 +  case CLOCK_SECOND:  \
 +retval = INLINE_SYSCALL (clock_getres, 2, clock_id, res);   \
 +break
@@ -5142,7 +5147,7 @@
 +#include 
 --- /dev/null
 +++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/clock_gettime.c
-@@ -0,0 +1,42 @@
+@@ -0,0 +1,43 @@
 +/* Copyright (C) 2006 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +
@@ -5169,15 +5174,16 @@
 +
 +# define SYSDEP_GETTIME \
 +  case CLOCK_REALTIME:\
++  case CLOCK_VIRTUAL: \
++  case CLOCK_PROF:\
 +  case CLOCK_MONOTONIC:   \
++  case CLOCK_UPTIME:  \
++  case CLOCK_UPTIME_PRECISE:  \
++  case CLOCK_UPTIME_FAST: \
++  case CLOCK_REALTIME_PRECISE:\
 +  case CLOCK_REALTIME_FAST:   \
-+  case CLOCK_REALTIME_PRECISE:\
++  case CLOCK_MONOTONIC_PRECISE:   \
 +  case CLOCK_MONOTONIC_FAST:  \
-+  case CLOCK_MONOTONIC_PRECISE:   \
-+  case CLOCK_UPTIME:  \
-+  case CLOCK_UPTIME_FAST: \
-+  case CLOCK_UPTIME_PRECISE:  \
-+  case CLOCK_VIRTUAL: \
 +  case CLOCK_SECOND:  \
 +retval = INLINE_SYSCALL (clock_gettime, 2, clock_id, tp);   \
 +break
@@ -6943,7 +6949,7 @@
 +pthread
 --- /dev/null
 +++ b

Bug#716775: libc6:amd64: mismatch between strcasecmp and toupper/tolower in tr_TR.iso88599 locale

2013-07-12 Thread Vincent Lefevre
Package: libc6
Version: 2.17-7
Severity: normal

There is a mismatch between strcasecmp and toupper/tolower in the
tr_TR.iso88599 locale:

#include 
#include 
#include 
#include 
#include 

int main (void)
{
  int i, j, k;
  char *infs[] = { "INF", "inf" };

  if (setlocale (LC_ALL, "") == NULL)
{
  fprintf (stderr, "locale-test: can't set locales\n");
  exit (EXIT_FAILURE);
}

  for (i = 0; i < 2; i++)
for (j = 0; j < 4; j++)
  {
char s[4];
for (k = 0; k < 3; k++)
  {
s[k] = infs[i][k];
if (j > k)
  s[k] = (i ? toupper : tolower)(s[k]);
  }
s[3] = '\0';
printf ("%d%d %s\n",
!strcasecmp (s, "INF"), !strcasecmp (s, "inf"), s);
  }

  return 0;
}

gives:

11 INF
00 ıNF
00 ınF
00 ınf
11 inf
00 İnf
00 İNf
00 İNF

Since the modifications of the string have been done with toupper and
tolower, I would have expected 11 everywhere.

(Probably an upstream bug, but their BTS is currently down.)

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6:amd64 depends on:
ii  libgcc1  1:4.8.1-6

libc6:amd64 recommends no packages.

Versions of packages libc6:amd64 suggests:
ii  debconf [debconf-2.0]  1.5.50
ii  glibc-doc  2.17-7
ii  locales2.17-7

-- debconf information:
  glibc/upgrade: true
  glibc/disable-screensaver:
  glibc/restart-failed:
* glibc/restart-services: cups cron atd apache2
* libraries/restart-without-asking: false


-- 
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/20130712152427.ga16...@ypig.lip.ens-lyon.fr



Bug#665287: [#665287] clockid_t types (fwd)

2013-07-12 Thread Robert Millan
2013/7/11 Petr Salinger :
> The kernel support is available in HEAD (but not in STABLE-9).
> It could be easier to backport (kernel part of)
>
> http: //www.freebsd.org/cgi/query-pr.cgi?pr=16841

Uhm wrong PR number.

> into our kernel.
>
> Or even persuade upstream to MFC it into STABLE-9 ;-)

Do you know which is the HEAD commit rev?

--
Robert Millan


-- 
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/caofdtxps99nq+hghua9ps1wbjwnsmxygeogenqksy2hkvck...@mail.gmail.com