public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/626] New: alarm return value rounds up rather than to nearest
@ 2004-12-29  9:14 roland at gnu dot org
  2004-12-29  9:17 ` [Bug libc/626] " cvs-commit at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: roland at gnu dot org @ 2004-12-29  9:14 UTC (permalink / raw)
  To: glibc-bugs

The user-space implementation of alarm gives inflated return values.
It should round to nearest, except when that means rounding down to zero.

-- 
           Summary: alarm return value rounds up rather than to nearest
           Product: glibc
           Version: 2.3.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: roland at gnu dot org
        ReportedBy: roland at gnu dot org
                CC: glibc-bugs at sources dot redhat dot com,jakub at redhat
                    dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=626

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/626] alarm return value rounds up rather than to nearest
  2004-12-29  9:14 [Bug libc/626] New: alarm return value rounds up rather than to nearest roland at gnu dot org
@ 2004-12-29  9:17 ` cvs-commit at gcc dot gnu dot org
  2005-01-11 10:23 ` jakub at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-29  9:17 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-29 09:17 -------
Subject: Bug 626

CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sources.redhat.com	2004-12-29 09:17:27

Modified files:
	sysdeps/unix   : alarm.c 

Log message:
	2004-12-29  Roland McGrath  <roland@redhat.com>
	
	[BZ #626]
	* sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
	than always up; when nearest is zero, round up to one.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/alarm.c.diff?cvsroot=glibc&r1=1.5&r2=1.6



-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=626

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/626] alarm return value rounds up rather than to nearest
  2004-12-29  9:14 [Bug libc/626] New: alarm return value rounds up rather than to nearest roland at gnu dot org
  2004-12-29  9:17 ` [Bug libc/626] " cvs-commit at gcc dot gnu dot org
@ 2005-01-11 10:23 ` jakub at redhat dot com
  2005-02-16  4:19 ` roland at gnu dot org
  2005-02-16  9:27 ` cvs-commit at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at redhat dot com @ 2005-01-11 10:23 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jakub at redhat dot com  2005-01-11 10:22 -------
Fixed in CVS.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sources.redhat.com/bugzilla/show_bug.cgi?id=626

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/626] alarm return value rounds up rather than to nearest
  2004-12-29  9:14 [Bug libc/626] New: alarm return value rounds up rather than to nearest roland at gnu dot org
  2004-12-29  9:17 ` [Bug libc/626] " cvs-commit at gcc dot gnu dot org
  2005-01-11 10:23 ` jakub at redhat dot com
@ 2005-02-16  4:19 ` roland at gnu dot org
  2005-02-16  9:27 ` cvs-commit at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: roland at gnu dot org @ 2005-02-16  4:19 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |724
              nThis|                            |


http://sources.redhat.com/bugzilla/show_bug.cgi?id=626

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/626] alarm return value rounds up rather than to nearest
  2004-12-29  9:14 [Bug libc/626] New: alarm return value rounds up rather than to nearest roland at gnu dot org
                   ` (2 preceding siblings ...)
  2005-02-16  4:19 ` roland at gnu dot org
@ 2005-02-16  9:27 ` cvs-commit at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-16  9:27 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-16 09:26 -------
Subject: Bug 626

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-02-16 09:26:39

Modified files:
	sysdeps/unix   : alarm.c 

Log message:
	2004-12-29  Roland McGrath  <roland@redhat.com>
	
	[BZ #626]
	* sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
	than always up; when nearest is zero, round up to one.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/alarm.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.5&r2=1.5.4.1



-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=626

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2005-02-16  9:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-29  9:14 [Bug libc/626] New: alarm return value rounds up rather than to nearest roland at gnu dot org
2004-12-29  9:17 ` [Bug libc/626] " cvs-commit at gcc dot gnu dot org
2005-01-11 10:23 ` jakub at redhat dot com
2005-02-16  4:19 ` roland at gnu dot org
2005-02-16  9:27 ` cvs-commit at gcc dot gnu dot org

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).