fish-shell/src
David Adam e892c51b9c builtin_read: pickup MB_CUR_MAX from stdlib not xlocale
Fixes building on OpenBSD; work on #4184.

(cherry picked from commit 874a675e7f)
2017-08-28 12:24:42 +08:00
..
autoload.cpp style cleanups 2017-05-01 22:05:35 -07:00
autoload.h implement our own assert() function 2017-02-14 18:48:27 -08:00
builtin.cpp fix argparse --help 2017-07-19 12:19:40 -07:00
builtin.h implement argparse --max-args N --min-args N 2017-07-12 22:38:32 -07:00
builtin_argparse.cpp fix argparse handling of short flag only specs 2017-07-21 15:55:52 -07:00
builtin_argparse.h implement argparse builtin 2017-07-12 22:38:24 -07:00
builtin_bg.cpp change help only cmd opts interface 2017-06-16 21:01:57 -07:00
builtin_bg.h split builtin bg into its own module 2017-06-16 21:01:56 -07:00
builtin_bind.cpp standardize on builtin_missing_argument() 2017-07-01 14:03:47 -07:00
builtin_bind.h split builtin block into its own module 2017-06-16 21:01:56 -07:00
builtin_block.cpp standardize on builtin_missing_argument() 2017-07-01 14:03:47 -07:00
builtin_block.h split builtin block into its own module 2017-06-16 21:01:56 -07:00
builtin_builtin.cpp standardize on builtin_missing_argument() 2017-07-01 14:03:47 -07:00
builtin_builtin.h split builtin builtin into its own module 2017-06-16 21:01:56 -07:00
builtin_cd.cpp change help only cmd opts interface 2017-06-16 21:01:57 -07:00
builtin_cd.h split builtin cd into its own module 2017-06-16 21:01:56 -07:00
builtin_command.cpp standardize on builtin_missing_argument() 2017-07-01 14:03:47 -07:00
builtin_command.h split builtin command into its own module 2017-06-16 21:01:56 -07:00
builtin_commandline.cpp standardize on builtin_missing_argument() 2017-07-01 14:03:47 -07:00
builtin_commandline.h restyle builtin modules to match project style 2016-04-26 21:58:59 -07:00
builtin_complete.cpp implement complete -k as a no-op 2017-07-29 21:50:39 -07:00
builtin_complete.h implement our own assert() function 2017-02-14 18:48:27 -08:00
builtin_contains.cpp standardize on builtin_missing_argument() 2017-07-01 14:03:47 -07:00
builtin_contains.h split builtin contains into its own module 2017-06-16 21:01:56 -07:00
builtin_disown.cpp change help only cmd opts interface 2017-06-16 21:01:57 -07:00
builtin_disown.h split builtin disown into its own module 2017-06-16 21:01:56 -07:00
builtin_echo.cpp use the UNUSED(); pattern for the prev change 2017-07-09 19:55:04 -07:00
builtin_echo.h split builtin echo into its own module 2017-06-16 21:01:56 -07:00
builtin_emit.cpp change help only cmd opts interface 2017-06-16 21:01:57 -07:00
builtin_emit.h split builtin emit into its own module 2017-06-16 21:01:56 -07:00
builtin_exit.cpp standardize on builtin_missing_argument() 2017-07-01 14:03:47 -07:00
builtin_exit.h split builtin exit into its own module 2017-06-16 21:01:56 -07:00
builtin_fg.cpp style cleanups (make style-all) 2017-06-16 21:01:57 -07:00
builtin_fg.h split builtin fg into its own module 2017-06-16 21:01:56 -07:00
builtin_function.cpp standardize on builtin_missing_argument() 2017-07-01 14:03:47 -07:00
builtin_function.h fix issues with builtin_function() 2017-06-18 12:55:14 -07:00
builtin_functions.cpp standardize on builtin_missing_argument() 2017-07-01 14:03:47 -07:00
builtin_functions.h split builtin functions into its own module 2017-06-16 21:01:56 -07:00
builtin_history.cpp update history to use argparse 2017-07-16 15:13:39 -07:00
builtin_history.h split builtin history into its own module 2017-06-16 21:01:56 -07:00
builtin_jobs.cpp standardize on builtin_missing_argument() 2017-07-01 14:03:47 -07:00
builtin_jobs.h implement our own assert() function 2017-02-14 18:48:27 -08:00
builtin_printf.cpp fix argparse --help 2017-07-19 12:19:40 -07:00
builtin_printf.h implement our own assert() function 2017-02-14 18:48:27 -08:00
builtin_pwd.cpp change help only cmd opts interface 2017-06-16 21:01:57 -07:00
builtin_pwd.h split builtin pwd into its own module 2017-06-16 21:01:56 -07:00
builtin_random.cpp change help only cmd opts interface 2017-06-16 21:01:57 -07:00
builtin_random.h split builtin random into its own module 2017-06-16 21:01:56 -07:00
builtin_read.cpp builtin_read: pickup MB_CUR_MAX from stdlib not xlocale 2017-08-28 12:24:42 +08:00
builtin_read.h split builtin status and read into its own module 2017-06-16 21:01:56 -07:00
builtin_realpath.cpp remove leftover debug printf 2017-06-17 18:39:16 -07:00
builtin_realpath.h split builtin realpath into its own module 2017-06-16 21:01:56 -07:00
builtin_return.cpp standardize on builtin_missing_argument() 2017-07-01 14:03:47 -07:00
builtin_return.h split builtin return into its own module 2017-06-16 21:01:56 -07:00
builtin_set.cpp fix set --show of semi-empty var 2017-08-16 13:19:17 -07:00
builtin_set.h implement our own assert() function 2017-02-14 18:48:27 -08:00
builtin_set_color.cpp standardize on builtin_missing_argument() 2017-07-01 14:03:47 -07:00
builtin_set_color.h implement our own assert() function 2017-02-14 18:48:27 -08:00
builtin_source.cpp change help only cmd opts interface 2017-06-16 21:01:57 -07:00
builtin_source.h split builtin source into its own module 2017-06-16 21:01:56 -07:00
builtin_status.cpp another make style-all cleanup 2017-06-23 23:19:09 -07:00
builtin_status.h split builtin status and read into its own module 2017-06-16 21:01:56 -07:00
builtin_string.cpp another make style-all cleanup 2017-06-23 23:19:09 -07:00
builtin_string.h implement our own assert() function 2017-02-14 18:48:27 -08:00
builtin_test.cpp another step in fixing issue #3985 2017-05-07 21:20:31 -07:00
builtin_test.h restyle builtin modules to match project style 2016-04-26 21:58:59 -07:00
builtin_ulimit.cpp standardize on builtin_missing_argument() 2017-07-01 14:03:47 -07:00
builtin_ulimit.h implement our own assert() function 2017-02-14 18:48:27 -08:00
color.cpp fix lint errors that have crept in 2017-05-06 22:08:07 -07:00
color.h implement our own assert() function 2017-02-14 18:48:27 -08:00
common.cpp Silence unused result warnings on newer compilers 2017-08-14 18:02:42 -07:00
common.h Silence unused result warnings on newer compilers 2017-08-14 18:02:42 -07:00
complete.cpp Remove completer_t::complete_special_cd 2017-07-27 17:31:06 -07:00
complete.h implement our own assert() function 2017-02-14 18:48:27 -08:00
env.cpp fix how fish behaves when FISH_HISTORY is set 2017-07-27 21:32:49 -07:00
env.h implement helper functions for fish script vars 2017-07-08 13:14:30 -07:00
env_universal_common.cpp Silence unused result warnings on newer compilers 2017-08-14 18:02:42 -07:00
env_universal_common.h fix regression how fish_escape_delay_ms is handled 2017-07-19 19:09:55 -07:00
event.cpp implement status is-breakpoint 2017-06-20 17:18:59 -07:00
event.h style cleanups 2017-05-01 22:05:35 -07:00
exec.cpp fix handling of empty read history session ID 2017-07-01 13:23:24 -07:00
exec.h implement our own assert() function 2017-02-14 18:48:27 -08:00
expand.cpp Silenced (wrong) -Wmaybe-uninitialized warnings 2017-07-27 17:52:33 -07:00
expand.h implement helper functions to construct array val 2017-07-07 15:20:28 -07:00
fallback.cpp fix lint errors that have crept in 2017-05-06 22:08:07 -07:00
fallback.h lint: replace getpwuid() with getpwuid_r() 2017-05-10 21:08:36 -07:00
fish.cpp a make style-all cleanup 2017-07-18 22:40:25 -07:00
fish_indent.cpp remove dead code 2017-06-16 21:01:56 -07:00
fish_key_reader.cpp fish_key_reader: Add --version option 2017-07-04 22:55:47 +02:00
fish_tests.cpp fix regression how fish_escape_delay_ms is handled 2017-07-19 19:09:55 -07:00
fish_version.cpp restyle fish modules to match project style 2016-04-30 19:52:13 -07:00
fish_version.h restyle fish modules to match project style 2016-04-30 19:52:13 -07:00
function.cpp more sanity involving fatal errors 2017-02-14 21:09:15 -08:00
function.h implement means to learn about a functions source 2017-01-20 21:48:41 -08:00
highlight.cpp style cleanups 2017-05-01 22:05:35 -07:00
highlight.h implement our own assert() function 2017-02-14 18:48:27 -08:00
history.cpp make read honor FISH_HISTORY 2017-06-30 21:03:05 -07:00
history.h implement helper functions for fish script vars 2017-07-08 13:14:30 -07:00
input.cpp fix regression involving read from scripts 2017-07-15 21:21:24 -07:00
input.h lint cleanup 2017-06-16 21:01:56 -07:00
input_common.cpp fix regression how fish_escape_delay_ms is handled 2017-07-19 19:09:55 -07:00
input_common.h implement our own assert() function 2017-02-14 18:48:27 -08:00
intern.cpp implement our own assert() function 2017-02-14 18:48:27 -08:00
intern.h restyle intern module to match project style 2016-05-01 20:28:46 -07:00
io.cpp style cleanups 2017-05-01 22:05:35 -07:00
io.h implement our own assert() function 2017-02-14 18:48:27 -08:00
iothread.cpp fix echo -h 2017-06-18 22:10:19 -07:00
iothread.h lint cleanups 2017-02-11 21:30:38 -08:00
kill.cpp fix random lint issues 2016-05-29 22:24:29 -07:00
kill.h restyle kill module to match project style 2016-05-01 22:18:59 -07:00
lru.h Initialize the key in lru_node_t to NULL 2017-05-17 21:05:32 -07:00
output.cpp fix echo -h 2017-06-18 22:10:19 -07:00
output.h implement our own assert() function 2017-02-14 18:48:27 -08:00
pager.cpp deal with fish_wcswidth() returning -1 2017-07-04 13:03:25 -07:00
pager.h implement our own assert() function 2017-02-14 18:48:27 -08:00
parse_constants.h Error message prefix: Prefix the message, not the context 2017-04-11 20:00:29 -07:00
parse_execution.cpp another make style-all cleanup 2017-06-23 23:19:09 -07:00
parse_execution.h Eliminate moved_ref 2017-01-26 15:43:46 -08:00
parse_productions.cpp fix echo -h 2017-06-18 22:10:19 -07:00
parse_productions.h style cleanups 2017-05-01 22:05:35 -07:00
parse_tree.cpp fix a regression involving parser error output 2017-07-18 20:50:54 -07:00
parse_tree.h implement our own assert() function 2017-02-14 18:48:27 -08:00
parse_util.cpp Silence fallthrough-warning on gcc 2017-07-04 23:52:39 +02:00
parse_util.h fix echo -h 2017-06-18 22:10:19 -07:00
parser.cpp implement status function when in a breakpoint 2017-06-23 22:14:21 -07:00
parser.h another make style-all cleanup 2017-06-23 23:19:09 -07:00
parser_keywords.cpp cleanup env code and contains() 2017-04-05 17:09:12 -07:00
parser_keywords.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
path.cpp Silence unused result warnings on newer compilers 2017-08-14 18:02:42 -07:00
path.h implement command -a 2017-06-23 15:43:37 -07:00
postfork.cpp style cleanups 2017-05-01 22:05:35 -07:00
postfork.h more IWYU fixes 2017-02-12 20:36:37 -08:00
print_help.cpp lint: "collapsible if statements" warnings 2016-10-22 19:09:40 -07:00
print_help.h restyle proc module to match project style 2016-05-02 22:07:58 -07:00
proc.cpp implement status is-breakpoint 2017-06-20 17:18:59 -07:00
proc.h implement status is-breakpoint 2017-06-20 17:18:59 -07:00
reader.cpp Silence unused result warnings on newer compilers 2017-08-14 18:02:42 -07:00
reader.h fix how fish behaves when FISH_HISTORY is set 2017-07-27 21:32:49 -07:00
sanity.cpp improve sanity check code 2017-01-24 15:24:13 -08:00
sanity.h improve sanity check code 2017-01-24 15:24:13 -08:00
screen.cpp Revert "Fix clearing abandoned line with VTE (#4243)" 2017-08-10 02:24:13 +02:00
screen.h fix lint errors that have crept in 2017-05-06 22:08:07 -07:00
signal.cpp Fix uninitialized sigaction.sa_flags valgrind error 2017-08-26 19:11:39 -05:00
signal.h ensure no signals are blocked when started 2017-05-02 21:02:42 -07:00
tokenizer.cpp implement our own assert() function 2017-02-14 18:48:27 -08:00
tokenizer.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
utf8.cpp implement our own assert() function 2017-02-14 18:48:27 -08:00
utf8.h implement our own assert() function 2017-02-14 18:48:27 -08:00
util.cpp Fix the build on FreeBSD with Clang 2017-06-17 22:51:25 -07:00
util.h restyle remaining modules to match project style 2016-05-03 16:09:45 -07:00
wcstringutil.cpp fix some style bogosities that crept in 2016-05-27 14:44:30 -07:00
wcstringutil.h Be a bit more consistent and proper. 2016-06-05 21:32:57 -07:00
wgetopt.cpp refactor wgetopt.cpp to reduce complexity 2017-06-17 17:09:01 -07:00
wgetopt.h refactor wgetopt.cpp to reduce complexity 2017-06-17 17:09:01 -07:00
wildcard.cpp two more /tmp references that aren't necessary 2017-04-08 21:47:05 -07:00
wildcard.h Make IWYU output in lint.cpp less messy 2016-06-23 17:26:08 -07:00
wutil.cpp Silence unused result warnings on newer compilers 2017-08-14 18:02:42 -07:00
wutil.h lint: replace readdir() with readdir_r() 2017-05-09 21:02:05 -07:00