mc/lib
Andrew Borodin 6cb97d18f1 src/strutil/xstrtol.c: sync with gnulib.
Sync with gnulib 64ddc975e72cb55d2b2d755c25603bd70312aa5e:
  This patch alters xstrtoumax behavior slightly, in areas are not
  likely to affect any real callers, by making xstrtoumax behave more
  like the system strtol. In particular, it lets xstrtoumax support
  bases other than those required by POSIX, if the underlying
  implementation does; this removes the need for an g_assert().

  * lib/strutil/strtol.c: Do not include stdio.h.
  (xstrtoumax): Use same parameter names as POSIX, to make it
  easier for outsiders to follow. Do not require the base to be 0-36,
  as the underlying implementation is allowed to support other bases.

Sync with gnulib 16b33e6649425fcdce095f262da98b539d2f7448.

  * (xstrtoumax): Don't update *endptr if strtol doesn't.
  Also, if the underlying strtol gives an unusual error number and
  sets *endpnr = nptr, assume that's an error not a missing number.

Sync with gnulib bd1e981434c98751b1106a1744e77a27317b52b3
  * (xstrtoumax): Stop worrying about hypothetical implementations that
  are causing more confusion than the code is worth. Instead, go back
  more to old way of doing things.  None of this matters for practical
  applications.

Add commemt.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2024-10-05 15:05:58 +03:00
..
event Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
filehighlight Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
mcconfig Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
search Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
skin Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
strutil src/strutil/xstrtol.c: sync with gnulib. 2024-10-05 15:05:58 +03:00
tty x11: fix -Wdeprecated-declarations for g_module_build_path 2024-08-15 21:09:08 +02:00
vfs lib/vfs/interface.c: add missed INDENT-ON, indentation. 2024-10-05 15:05:58 +03:00
widget Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
charsets.c charset: reimplement is_supported_encoding to use iconv instead of mc built-in charset table 2024-10-05 11:49:26 +02:00
charsets.h (str_convert_to_input): make inline. 2021-03-14 19:30:42 +03:00
event-types.h Reimplement handling of ev_vfs_print_message_t message. 2015-11-05 14:33:21 +03:00
event.h Use argument names in function declarations. 2021-06-20 15:14:56 +03:00
file-entry.h file_entry_t: rename members: 2023-08-04 21:04:54 +03:00
filehighlight.h Move definition of file_entry_t to separate file. 2023-03-19 20:34:23 +03:00
fileloc.h Rename FISH VFS to SHELL one. 2023-10-15 16:04:39 +03:00
fs.h vfs_dirent: add new member d_len to get rid of d_name length calculation. 2024-06-02 12:41:34 +03:00
glibcompat.c glibcompat: remove g_direct_equal shim 2024-06-03 16:18:12 +02:00
glibcompat.h (mc_g_string_append_c_len): new API that extends GString one. 2024-06-02 12:41:34 +03:00
global.c Update copyright years. 2024-01-01 09:46:17 +03:00
global.h Move OS-specific stuff from lib/global.h to lib/unixcompat.h. 2024-04-07 16:38:11 +03:00
hook.c Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
hook.h fixed doxygen documentation 2012-09-10 14:29:53 +03:00
keybind.c Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
keybind.h Rename FISH VFS to SHELL one. 2023-10-15 16:04:39 +03:00
lock.c Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
lock.h Changed lock_file() and unlock_file() functions 2012-03-06 11:52:30 +03:00
logging.c Update copyright years. 2024-01-01 09:46:17 +03:00
logging.h Clarify __attribute ((format (printf))) usage. 2015-11-05 14:33:20 +03:00
Makefile.am Merge lib/utilunix.h into lib/util.h. 2024-04-07 16:38:11 +03:00
mcconfig.h (mc_config_history_get_recent_item): new API. 2023-11-06 21:06:15 +03:00
search.h Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
serialize.c Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
serialize.h lib/mcconfig: fix coding style; apply source file template. 2019-09-01 19:41:12 +03:00
shell.c Indentation using GNU indent-2.2.13. 2024-06-02 12:49:13 +03:00
shell.h Fix typos. 2020-12-31 16:26:46 +03:00
skin.h Ticket #4433: skins: add color for non-printable characters in editor. 2023-12-10 17:47:07 +03:00
stat-size.h Remove Cray support. 2020-10-13 16:34:55 +03:00
strutil.h src/strutil/xstrtol.c: sync with gnulib. 2024-10-05 15:05:58 +03:00
timefmt.c Update copyright years. 2024-01-01 09:46:17 +03:00
timefmt.h Fix various typos in the source code (closes MidnightCommander/mc#177). 2023-01-28 21:38:05 +03:00
unixcompat.h vfs: implement support for all known stat formats and centralize handling 2024-07-28 10:00:52 +02:00
util.c (extract_line): optionally return the lengh of the line. 2024-10-05 15:05:58 +03:00
util.h (extract_line): optionally return the lengh of the line. 2024-10-05 15:05:58 +03:00
utilunix.c charset: reimplement is_supported_encoding to use iconv instead of mc built-in charset table 2024-10-05 11:49:26 +02:00
widget.h Create WBackground widget. 2020-03-08 20:17:29 +03:00