Your message dated Tue, 22 Nov 2005 11:35:39 -0500
with message-id <[EMAIL PROTECTED]>
and subject line fixed in recent uploads of manpages
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

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

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Jun 2001 07:44:39 +0000
>From [EMAIL PROTECTED] Tue Jun 19 02:44:39 2001
Return-path: <[EMAIL PROTECTED]>
Received: from bat710.univ-lyon1.fr [::ffff:134.214.88.10] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 15CGBj-0000AG-00; Tue, 19 Jun 2001 02:44:39 -0500
Received: from ligim.univ-lyon1.fr ([EMAIL PROTECTED] [134.214.88.201])
        by bat710.univ-lyon1.fr (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id 
JAA08158
        for <[EMAIL PROTECTED]>; Tue, 19 Jun 2001 09:44:28 +0200
X-Authentication-Warning: bat710.univ-lyon1.fr: Host [EMAIL PROTECTED] 
[134.214.88.201] claimed to be ligim.univ-lyon1.fr
Sender: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 19 Jun 2001 09:44:31 +0200
From: Thierry EXCOFFIER <[EMAIL PROTECTED]>
Organization: UFR Info - Universite Claude Bernard Lyon1
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: "man setitimer" give bad informations
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Delivered-To: [EMAIL PROTECTED]

Package: manpages-dev
Version: 1.36-2

"man setitimer" says :
       Timers  will  never  expire  before  the  requested  time,
       instead  expiring  some  short,  constant time afterwards,

I used "gettimeofday" to verify this behavior and it says
that the timer expires before the requested time.
(It is also the case with IRIX but not with HPUX).

Maybe it is a ``bug'' in "gettimeofday", I don't know.

There is my test program :

#include <stdlib.h>
#include <stdio.h>
#include <signal.h>
#include <sys/time.h>

struct timeval start_time ;
volatile int stop_program = 0 ;

#define T 100000

void fct()
{
  struct timezone tz ;
  struct timeval t ;

  gettimeofday(&t, &tz) ;
  printf("current time=%ld, expected time must be greater than %d\n"
         , (t.tv_sec-start_time.tv_sec)*1000000
         + (t.tv_usec-start_time.tv_usec)
         , T
         ) ;
  stop_program = 1 ;
}


int main()
{
  struct itimerval itv ;
  struct timezone tz ;

  signal(SIGALRM, fct) ;

  itv.it_interval.tv_sec = 0 ;
  itv.it_interval.tv_usec = T ;
  itv.it_value = itv.it_interval ;
  gettimeofday(&start_time, &tz) ;
  setitimer(ITIMER_REAL, &itv, NULL) ;

  while( !stop_program )
    {
    }

  return(0) ;
}


-- 
[EMAIL PROTECTED] //   GO: Oriental Strategic Game
LIGIM/UFR Informatique, bat710       // LINUX: Operating System
Universite Claude Bernard LYON 1  __//  DYLAN: Programming Language
43 Bd du 11 novembre 1918       //     
69622 VILLEURBANNE, FRANCE     //WWW: http://www710.univ-lyon1.fr/~exco

---------------------------------------
Received: (at 101433-done) by bugs.debian.org; 22 Nov 2005 16:35:45 +0000
>From [EMAIL PROTECTED] Tue Nov 22 08:35:45 2005
Return-path: <[EMAIL PROTECTED]>
Received: from ms-smtp-03.nyroc.rr.com ([24.24.2.57])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Eeb7Q-0005wp-VB; Tue, 22 Nov 2005 08:35:45 -0800
Received: from andromeda (cpe-69-202-136-66.twcny.res.rr.com [69.202.136.66])
        by ms-smtp-03.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id 
jAMGZep4000353;
        Tue, 22 Nov 2005 11:35:40 -0500 (EST)
Received: from pryzbyj by andromeda with local (Exim 4.54)
        id 1Eeb7L-0004Nh-M7; Tue, 22 Nov 2005 11:35:39 -0500
Date: Tue, 22 Nov 2005 11:35:39 -0500
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: Martin Schulze <[EMAIL PROTECTED]>, Michael Kerrisk <[EMAIL PROTECTED]>
Subject: fixed in recent uploads of manpages
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
From: Justin Pryzby <[EMAIL PROTECTED]>
X-Virus-Scanned: Symantec AntiVirus Scan Engine
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 4

Version: 2.09-1

These bugs are all reported fixed by the upstream manpages maintainer,
Michael Kerrisk.  For my own convenience, I'm marking them all as
"fixed by version 2.09-1", even though some of them are fixed by
earlier uploads.  The bug number, correct fixed-in version, and title
are listed below:

 #317037 2.06 Difficult to understand in sscanf RETURN VALUE
 #315411 2.09 New upstream release: 2.09
 #209323 2.09 please include pty(4) manpage
 #330877 2.09 read can return EINVAL when using O_DIRECT and buffer not aligned
 #321131 2.08 exit.3 missing &quot;is&quot;
 #299795 2.07 Some library functions' manpage use wrong hyphen
 #295666 2.03 regex.7.gz: The word boundary regexps are unsupported
 #326520 2.08 'man msgget' typo: one line not displayed
 #306517 2.04 epoll_ctl(2) description differs from implementation
 #291121 2.04 flock(2) second time by same process
 #323851 2.08 getpwnam.3 manpage should clarify the scope of pw_dir
 #323062 2.08 clone(2) CLONE_PARENT_SETTID description incorrect

 #101433 2.04 "man setitimer" give bad informations
 #113812 2.04 libc6-dev: iconv prototype
 #317037 2.06 Difficult to understand in sscanf RETURN VALUE
 #219695 2.04 sysconf(3): describes _SC_2_DEV, which doesn't exist
 #294890 2.03 Typo in wait(2): "watpid"

-- 
Clear skies,
Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to