bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #57306] libgettextpo: po_file_read is thread-unsafe


From: Bruno Haible
Subject: [bug #57306] libgettextpo: po_file_read is thread-unsafe
Date: Tue, 26 Nov 2019 10:31:58 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

Update of bug #57306 (project gettext):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

Indeed, libgettextpo contains a number of static variables; this makes it not
multithread-safe:


$ nm .libs/libgettextpo.so.0.5.5 | grep ' [bBdD] ' | awk '{print $3}' |
LC_ALL=C sort
autodetect_jp_try
autodetect_kr_try
autodetect_list_end
autodetect_predefined
autodetect_utf8_try
buf.6047
buffer_key
bufmax.6048
bufmax_key
bullet_stack
callback_arg
completed.7594
curr_mp
curr_msgid_pos
default_methods
default_values.7095
directory
escape
extension.4130
filepos_comment_type
have_dupfd_cloexec.3850
ignore_parser.6534
indent
keys_init_once
libgettextpo_allow_duplicates
libgettextpo_error_with_progname
libgettextpo_exit_failure
libgettextpo_format_language
libgettextpo_format_language_pretty
libgettextpo_formatstring_awk
libgettextpo_formatstring_boost
libgettextpo_formatstring_c
libgettextpo_formatstring_csharp
libgettextpo_formatstring_elisp
libgettextpo_formatstring_gcc_internal
libgettextpo_formatstring_gfc_internal
libgettextpo_formatstring_java
libgettextpo_formatstring_java_printf
libgettextpo_formatstring_javascript
libgettextpo_formatstring_kde
libgettextpo_formatstring_kde_kuit
libgettextpo_formatstring_librep
libgettextpo_formatstring_lisp
libgettextpo_formatstring_lua
libgettextpo_formatstring_objc
libgettextpo_formatstring_parsers
libgettextpo_formatstring_pascal
libgettextpo_formatstring_perl
libgettextpo_formatstring_perl_brace
libgettextpo_formatstring_php
libgettextpo_formatstring_python
libgettextpo_formatstring_python_brace
libgettextpo_formatstring_qt
libgettextpo_formatstring_qt_plural
libgettextpo_formatstring_scheme
libgettextpo_formatstring_sh
libgettextpo_formatstring_smalltalk
libgettextpo_formatstring_tcl
libgettextpo_formatstring_ycp
libgettextpo_germanic_plural
libgettextpo_gl_linked_list_implementation
libgettextpo_gram_max_allowed_errors
libgettextpo_gram_pos
libgettextpo_gram_pos_column
libgettextpo_input_format_po
libgettextpo_obstack_alloc_failed_handler
libgettextpo_output_format_po
libgettextpo_pass_obsolete_entries
libgettextpo_plural_table
libgettextpo_po_charset_ascii
libgettextpo_po_charset_utf8
libgettextpo_po_error
libgettextpo_po_error_at_line
libgettextpo_po_gram_char
libgettextpo_po_gram_lval
libgettextpo_po_gram_nerrs
libgettextpo_po_lex_charset
libgettextpo_po_lex_iconv
libgettextpo_po_lex_weird_cjk
libgettextpo_po_multiline_error
libgettextpo_po_multiline_warning
libgettextpo_po_xerror
libgettextpo_po_xerror2
libgettextpo_sentence_end_required_spaces
libgettextpo_sigfpe_code
libgettextpo_sigfpe_exit
libgettextpo_syntax_check_name
libgettextpo_version
libgettextpo_xmalloc_exit_failure
mbf
page_width
pass_comments
plural_counter
po_lex_obsolete
po_lex_previous
print_comment
required_fields.7094
result.6691
sc_funcs
signal_eilseq
standard_charsets.3410
stdout_closed.2850
uniforum
weird_cjk_charsets.3465
whole_list.6807
width.3915
wrap_strings



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57306>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]