[Bug manual/24446] New: wctype function is specified as MT-Safe without exception of calling setlocale during program executing

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug manual/24446] New: wctype function is specified as MT-Safe without exception of calling setlocale during program executing

victorien.lecouviour.tuffet at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24446

            Bug ID: 24446
           Summary: wctype function is specified as MT-Safe without
                    exception of calling setlocale during program
                    executing
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: manual
          Assignee: unassigned at sourceware dot org
          Reporter: zombieleetnca at gmail dot com
                CC: mtk.manpages at gmail dot com
  Target Milestone: ---

Section 4.3 which talks about Character class determination of wide characters.
The wctype(const char *property) function was described as been MT-Safe,
without an exception of when setlocale(3) is called during program execution.
This information is present whenever you run `man 3 wctype` but it is not
present on the reference manual

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug manual/24446] wctype function is specified as MT-Safe without exception of calling setlocale during program executing

victorien.lecouviour.tuffet at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24446

Victory Osikwemhe <zombieleetnca at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zombieleetnca at gmail dot com

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug manual/24446] wctype function is specified as MT-Safe without exception of calling setlocale during program executing

victorien.lecouviour.tuffet at gmail dot com
In reply to this post by victorien.lecouviour.tuffet at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24446

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug manual/24446] wctype function is specified as MT-Safe without exception of calling setlocale during program executing

victorien.lecouviour.tuffet at gmail dot com
In reply to this post by victorien.lecouviour.tuffet at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24446

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2019-04-23
                 CC|                            |carlos at redhat dot com
     Ever confirmed|0                           |1

--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
We list it as "MT-safe" with the exception "locale":

https://www.gnu.org/software/libc/manual/html_node/Classification-of-Wide-Characters.html#Classification-of-Wide-Characters
"Preliminary: | MT-Safe locale | AS-Safe | AC-Safe | See POSIX Safety
Concepts."

With "locale" explained here:
https://www.gnu.org/software/libc/manual/html_node/Other-Safety-Remarks.html#Other-Safety-Remarks

This is exactly the same information as is present with `man 3 ctype`. The
glibc community worked with Michael Kerrisk in the linux man pages project to
ensure both projects had harmonized safety notes.

Are you perhaps looking at an old version of the manual that doesn't correspond
to the sources you have?

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug manual/24446] wctype function is specified as MT-Safe without exception of calling setlocale during program executing

victorien.lecouviour.tuffet at gmail dot com
In reply to this post by victorien.lecouviour.tuffet at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24446

--- Comment #2 from Victory Osikwemhe <zombieleetnca at gmail dot com> ---
I just saw that. I was expecting it as a statement

On Tue, Apr 23, 2019, 2:37 PM carlos at redhat dot com <
[hidden email]> wrote:

> https://sourceware.org/bugzilla/show_bug.cgi?id=24446
>
> Carlos O'Donell <carlos at redhat dot com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |WAITING
>    Last reconfirmed|                            |2019-04-23
>                  CC|                            |carlos at redhat dot com
>      Ever confirmed|0                           |1
>
> --- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
> We list it as "MT-safe" with the exception "locale":
>
>
> https://www.gnu.org/software/libc/manual/html_node/Classification-of-Wide-Characters.html#Classification-of-Wide-Characters
> "Preliminary: | MT-Safe locale | AS-Safe | AC-Safe | See POSIX Safety
> Concepts."
>
> With "locale" explained here:
>
> https://www.gnu.org/software/libc/manual/html_node/Other-Safety-Remarks.html#Other-Safety-Remarks
>
> This is exactly the same information as is present with `man 3 ctype`. The
> glibc community worked with Michael Kerrisk in the linux man pages project
> to
> ensure both projects had harmonized safety notes.
>
> Are you perhaps looking at an old version of the manual that doesn't
> correspond
> to the sources you have?
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug manual/24446] wctype function is specified as MT-Safe without exception of calling setlocale during program executing

victorien.lecouviour.tuffet at gmail dot com
In reply to this post by victorien.lecouviour.tuffet at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24446

Carlos O'Donell <carlos at redhat dot com> changed:

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

--- Comment #3 from Carlos O'Donell <carlos at redhat dot com> ---
Victory,

No worries. I'm marking this resolved then since the markup is there and
matches what's in the man pages. Thank you for reporting the bug, we do
appreciate it. If you see any other inconsistencies please feel free to file
bugs.

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