Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo in description of sleep in documentation of POSIX module #7255

Closed
p5pRT opened this issue Apr 21, 2004 · 4 comments
Closed

typo in description of sleep in documentation of POSIX module #7255

p5pRT opened this issue Apr 21, 2004 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Apr 21, 2004

Migrated from rt.perl.org#29033 (status was 'resolved')

Searchable as RT29033$

@p5pRT
Copy link
Author

p5pRT commented Apr 21, 2004

From bob@starlabs.net

Created by bob@starlabs.net

significant is wrongly spelled in the description of sleep in the documentation of POSIX.pm

[rwilkinson@​analysis2 man]$ diff -u man3/POSIX.3 man3/POSIX.3.orig

Inline Patch
--- man3/POSIX.3        2004-04-21 10:55:04.000000000 +0000
+++ man3/POSIX.3.orig   2004-04-21 10:54:41.000000000 +0000
@@ -1234,7 +1234,7 @@
 .IX Item "sleep"
 This is functionally identical to Perl's builtin \f(CW\*(C`sleep()\*(C'\fR function
 for suspending the execution of the current for process for certain
-number of seconds, see \*(L"sleep\*(R" in perlfunc.  There is one significant
+number of seconds, see \*(L"sleep\*(R" in perlfunc.  There is one signifanct
 difference, however: \f(CW\*(C`POSIX::sleep()\*(C'\fR returns the number of
 \&\fBunslept\fR seconds, while the \f(CW\*(C`CORE::sleep()\*(C'\fR returns the
 number of slept seconds.
Perl Info

Flags:
    category=docs
    severity=low

Site configuration information for perl v5.8.3:

Configured by rwilkinson at Thu Feb  5 13:45:51 UTC 2004.

Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.4.18-26.8.0smp, archname=i686-linux
    uname='linux analysis2.messagelabs.net 2.4.18-26.8.0smp #1 smp mon feb 24 09:44:00 est 2003 i686 i686 i386 gnulinux '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O3',
    cppflags='-fno-strict-aliasing'
    ccversion='', gccversion='3.2 20020903 (Red Hat Linux 8.0 3.2-7)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    


@INC for perl v5.8.3:
    /home/rwilkinson/lib
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005
    /usr/lib/perl5/5.00503/i386-linux
    /usr/lib/perl5/site_perl/5.005/i386-linux
    /var/home/rwilkinson/perl_5.8.3-no-threads/lib/5.8.3/i686-linux
    /var/home/rwilkinson/perl_5.8.3-no-threads/lib/5.8.3
    /var/home/rwilkinson/perl_5.8.3-no-threads/lib/site_perl/5.8.3/i686-linux
    /var/home/rwilkinson/perl_5.8.3-no-threads/lib/site_perl/5.8.3
    /var/home/rwilkinson/perl_5.8.3-no-threads/lib/site_perl
    .


Environment for perl v5.8.3:
    HOME=/home/rwilkinson
    LANG=en_GB
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/rwilkinson/bin:/var/home/skeptic/bin:/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin
    PERL5LIB=/home/rwilkinson/lib:/usr/lib/perl5/5.00503:/usr/lib/perl5/site_perl/5.005:/usr/lib/perl5/5.00503/i386-linux:/usr/lib/perl5/site_perl/5.005/i386-linux
    PERL_BADLANG (unset)
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Apr 28, 2004

From @Tux

On Wed 21 Apr 2004 13​:07, "bob@​starlabs.net (via RT)" <perlbug-followup@​perl.org> wrote​:

# New Ticket Created by bob@​starlabs.net
# Please include the string​: [perl #29033]
# in the subject line of all future correspondence about this issue.
# <URL​: http​://rt.perl.org​:80/rt3/Ticket/Display.html?id=29033 >

This is a bug report for perl from bob@​starlabs.net,
generated with the help of perlbug 1.34 running under perl v5.8.3.

-----------------------------------------------------------------
[Please enter your report here]

significant is wrongly spelled in the description of sleep in the documentation of POSIX.pm

[rwilkinson@​analysis2 man]$ diff -u man3/POSIX.3 man3/POSIX.3.orig
--- man3/POSIX.3 2004-04-21 10​:55​:04.000000000 +0000
+++ man3/POSIX.3.orig 2004-04-21 10​:54​:41.000000000 +0000
@​@​ -1234,7 +1234,7 @​@​
.IX Item "sleep"
This is functionally identical to Perl's builtin \f(CW\*(C`sleep()\*(C'\fR function
for suspending the execution of the current for process for certain
-number of seconds, see \*(L"sleep\*(R" in perlfunc. There is one significant
+number of seconds, see \*(L"sleep\*(R" in perlfunc. There is one signifanct
difference, however​: \f(CW\*(C`POSIX​::sleep()\*(C'\fR returns the number of
\&\fBunslept\fR seconds, while the \f(CW\*(C`CORE​::sleep()\*(C'\fR returns the
number of slept seconds.

Thanks, applied (reversely) to the development track as change #22747
This change will be integrated to the maint branch, which will lead to
a fixed document in the upcoming perl-5.8.5

Change 22747 by merijn@​merijn-l1 on 2004/04/28 12​:42​:50

  Subject​: [perl #29033] typo in description of sleep in documentation of POSIX module
  Date​: 21 Apr 2004 11​:07​:22 -0000
  From​: "bob@​starlabs.net (via RT)" <perlbug-followup@​perl.org>
  Message-ID​: <rt-3.0.8-29033-85811.17.0452776199501@​perl.org>

Affected files ...

... //depot/perl/ext/POSIX/POSIX.pod#39 edit

Differences ...

==== //depot/perl/ext/POSIX/POSIX.pod#39 (text) ====

@​@​ -1190,7 +1190,7 @​@​

This is functionally identical to Perl's builtin C<sleep()> function
for suspending the execution of the current for process for certain
-number of seconds, see L<perlfunc/sleep>. There is one signifanct
+number of seconds, see L<perlfunc/sleep>. There is one significant
difference, however​: C<POSIX​::sleep()> returns the number of
B<unslept> seconds, while the C<CORE​::sleep()> returns the
number of slept seconds.

--
H.Merijn Brand Amsterdam Perl Mongers (http​://amsterdam.pm.org/)
using perl-5.6.1, 5.8.3, & 5.9.x, and 809 on HP-UX 10.20 & 11.00, 11i,
  AIX 4.3, SuSE 9.0, and Win2k. http​://www.cmve.net/~merijn/
http​://archives.develooper.com/daily-build@​perl.org/ perl-qa@​perl.org
send smoke reports to​: smokers-reports@​perl.org, QA​: http​://qa.perl.org

@p5pRT
Copy link
Author

p5pRT commented Apr 28, 2004

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Apr 28, 2004

@Tux - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant