public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/15808] New: localtime operator error
@ 2013-07-31  3:48 380374483 at qq dot com
  2013-07-31  4:03 ` [Bug libc/15808] " 380374483 at qq dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: 380374483 at qq dot com @ 2013-07-31  3:48 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15808

            Bug ID: 15808
           Summary: localtime operator error
           Product: glibc
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: 380374483 at qq dot com
                CC: drepper.fsp at gmail dot com

Created attachment 7129
  --> http://sourceware.org/bugzilla/attachment.cgi?id=7129&action=edit
code and result picture

please see the attachment

time_t t1 = 589546905 + 100 * 3600;
time_t t2 = 589546905 + 99 * 3600;

tm tm1,tm2;

localtime_r(&t1,&tm1);
localtime_r(&t2,&tm2);

the result is the same

result:
time_t = 589906905 
year = 1988 
mon = 9 
mday = 10 
wday = 6 
hour = 23 
min = 1 
sec = 45 
time_t = 589903305 
year = 1988 
mon = 9 
mday = 10 
wday = 6 
hour = 23 
min = 1 
sec = 45

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/15808] localtime operator error
  2013-07-31  3:48 [Bug libc/15808] New: localtime operator error 380374483 at qq dot com
@ 2013-07-31  4:03 ` 380374483 at qq dot com
  2013-07-31  4:07 ` 380374483 at qq dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: 380374483 at qq dot com @ 2013-07-31  4:03 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15808

Felowria <380374483 at qq dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7129|0                           |1
        is obsolete|                            |
                 CC|                            |380374483 at qq dot com

--- Comment #1 from Felowria <380374483 at qq dot com> ---
Created attachment 7130
  --> http://sourceware.org/bugzilla/attachment.cgi?id=7130&action=edit
code

the code of localtime error

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/15808] localtime operator error
  2013-07-31  3:48 [Bug libc/15808] New: localtime operator error 380374483 at qq dot com
  2013-07-31  4:03 ` [Bug libc/15808] " 380374483 at qq dot com
@ 2013-07-31  4:07 ` 380374483 at qq dot com
  2013-07-31  4:08 ` 380374483 at qq dot com
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: 380374483 at qq dot com @ 2013-07-31  4:07 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15808

--- Comment #2 from Felowria <380374483 at qq dot com> ---
Created attachment 7131
  --> http://sourceware.org/bugzilla/attachment.cgi?id=7131&action=edit
code and result picture

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/15808] localtime operator error
  2013-07-31  3:48 [Bug libc/15808] New: localtime operator error 380374483 at qq dot com
  2013-07-31  4:03 ` [Bug libc/15808] " 380374483 at qq dot com
  2013-07-31  4:07 ` 380374483 at qq dot com
@ 2013-07-31  4:08 ` 380374483 at qq dot com
  2013-07-31  4:24 ` allan at archlinux dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: 380374483 at qq dot com @ 2013-07-31  4:08 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15808

--- Comment #3 from Felowria <380374483 at qq dot com> ---
my system is openSUSE 12.3

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/15808] localtime operator error
  2013-07-31  3:48 [Bug libc/15808] New: localtime operator error 380374483 at qq dot com
                   ` (2 preceding siblings ...)
  2013-07-31  4:08 ` 380374483 at qq dot com
@ 2013-07-31  4:24 ` allan at archlinux dot org
  2013-07-31  6:10 ` 380374483 at qq dot com
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: allan at archlinux dot org @ 2013-07-31  4:24 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15808

Allan McRae <allan at archlinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |allan at archlinux dot org

--- Comment #4 from Allan McRae <allan at archlinux dot org> ---
Code works for me.

What timezone are you using?  Did Daylight Saving Time start then?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/15808] localtime operator error
  2013-07-31  3:48 [Bug libc/15808] New: localtime operator error 380374483 at qq dot com
                   ` (3 preceding siblings ...)
  2013-07-31  4:24 ` allan at archlinux dot org
@ 2013-07-31  6:10 ` 380374483 at qq dot com
  2013-07-31  7:18 ` schwab@linux-m68k.org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: 380374483 at qq dot com @ 2013-07-31  6:10 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15808

--- Comment #5 from Felowria <380374483 at qq dot com> ---
my timezone east 8
timezone tz = {tz_minuteswest = -480,tz_dsttime = 0}
I have not reset timezone,and also have not reset time as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/15808] localtime operator error
  2013-07-31  3:48 [Bug libc/15808] New: localtime operator error 380374483 at qq dot com
                   ` (4 preceding siblings ...)
  2013-07-31  6:10 ` 380374483 at qq dot com
@ 2013-07-31  7:18 ` schwab@linux-m68k.org
  2013-07-31  8:06 ` 380374483 at qq dot com
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: schwab@linux-m68k.org @ 2013-07-31  7:18 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15808

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #6 from Andreas Schwab <schwab@linux-m68k.org> ---
Please specify exactly how you set the timezone.  What does "date -d
@589906905" and "date -d @589903305" print?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/15808] localtime operator error
  2013-07-31  3:48 [Bug libc/15808] New: localtime operator error 380374483 at qq dot com
                   ` (5 preceding siblings ...)
  2013-07-31  7:18 ` schwab@linux-m68k.org
@ 2013-07-31  8:06 ` 380374483 at qq dot com
  2013-07-31  8:08 ` 380374483 at qq dot com
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: 380374483 at qq dot com @ 2013-07-31  8:06 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15808

Felowria <380374483 at qq dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7131|0                           |1
        is obsolete|                            |

--- Comment #7 from Felowria <380374483 at qq dot com> ---
Created attachment 7132
  --> http://sourceware.org/bugzilla/attachment.cgi?id=7132&action=edit
code an result picture

a new code an result picture

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/15808] localtime operator error
  2013-07-31  3:48 [Bug libc/15808] New: localtime operator error 380374483 at qq dot com
                   ` (6 preceding siblings ...)
  2013-07-31  8:06 ` 380374483 at qq dot com
@ 2013-07-31  8:08 ` 380374483 at qq dot com
  2013-07-31  8:13 ` allan at archlinux dot org
  2014-06-13 13:17 ` fweimer at redhat dot com
  9 siblings, 0 replies; 11+ messages in thread
From: 380374483 at qq dot com @ 2013-07-31  8:08 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15808

--- Comment #8 from Felowria <380374483 at qq dot com> ---
➜  trunk  date -d @589906905
Sat Sep 10 23:01:45 CST 1988
➜  trunk  date -d @589903305
Sat Sep 10 23:01:45 CDT 1988

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-19252-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jul 31 08:11:09 2013
Return-Path: <glibc-bugs-return-19252-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 19698 invoked by alias); 31 Jul 2013 08:11:09 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 19602 invoked by uid 48); 31 Jul 2013 08:11:05 -0000
From: "380374483 at qq dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/15808] localtime operator error
Date: Wed, 31 Jul 2013 08:11:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.17
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: 380374483 at qq dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15808-131-yjWafJ5xSw@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15808-131@http.sourceware.org/bugzilla/>
References: <bug-15808-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-07/txt/msg00193.txt.bz2
Content-length: 268

http://sourceware.org/bugzilla/show_bug.cgi?id\x15808

--- Comment #9 from Felowria <380374483 at qq dot com> ---
It must be that Daylight Saving Time start.I make a mistake.It is not a bug

--
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/15808] localtime operator error
  2013-07-31  3:48 [Bug libc/15808] New: localtime operator error 380374483 at qq dot com
                   ` (7 preceding siblings ...)
  2013-07-31  8:08 ` 380374483 at qq dot com
@ 2013-07-31  8:13 ` allan at archlinux dot org
  2014-06-13 13:17 ` fweimer at redhat dot com
  9 siblings, 0 replies; 11+ messages in thread
From: allan at archlinux dot org @ 2013-07-31  8:13 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15808

Allan McRae <allan at archlinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |INVALID

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug libc/15808] localtime operator error
  2013-07-31  3:48 [Bug libc/15808] New: localtime operator error 380374483 at qq dot com
                   ` (8 preceding siblings ...)
  2013-07-31  8:13 ` allan at archlinux dot org
@ 2014-06-13 13:17 ` fweimer at redhat dot com
  9 siblings, 0 replies; 11+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 13:17 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=15808

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-06-13 13:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-31  3:48 [Bug libc/15808] New: localtime operator error 380374483 at qq dot com
2013-07-31  4:03 ` [Bug libc/15808] " 380374483 at qq dot com
2013-07-31  4:07 ` 380374483 at qq dot com
2013-07-31  4:08 ` 380374483 at qq dot com
2013-07-31  4:24 ` allan at archlinux dot org
2013-07-31  6:10 ` 380374483 at qq dot com
2013-07-31  7:18 ` schwab@linux-m68k.org
2013-07-31  8:06 ` 380374483 at qq dot com
2013-07-31  8:08 ` 380374483 at qq dot com
2013-07-31  8:13 ` allan at archlinux dot org
2014-06-13 13:17 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).