-
Notifications
You must be signed in to change notification settings - Fork 24
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
Upsteam update #187
Merged
Merged
Upsteam update #187
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tests: atlocal.in, atlocal_win: allow overriding COB_CC during tests
cobc: * pplex.l (output_line_directive): extracted from other places and extended to output compile from stdin as <stdin> * codegen.c (output_cobol_info): output compile from stdin as <stdin>
* configure.ac, NEWS: adjusted * bin/cobcrun: * (cobcrun_print_version): build and package data only shown in verbose mode; PACKAGE_NAME may now be overwritten by PKGVERSION (new configure option) * (cobcrun_print_usage): handle PACKAGE_BUGREPORT_URL as alternative to mailing list, now resolved by PACKAGE_BUGREPORT * cobc: * cobc.c (cobc_print_version, cobc_print_shortversion, process_command_line): build and package data only shown in verbose mode which does not output the verbose "process" calls by default; PACKAGE_NAME may now be overwritten by PKGVERSION (new configure option) * help.c (cobc_print_usage): handle PACKAGE_BUGREPORT_URL as alternative to mailing list, now resolved by PACKAGE_BUGREPORT * libcob/common.c (print_version): PACKAGE_NAME may now be overwritten by PKGVERSION (new configure option)
* cobc/cobc.c (cobc_sig_handler): skip abort message for SIGPIPE * libcob/common.c: * (cob_sig_handler): fixed early exit from signal handler in case of errors during write to stderr, adjusted macros accordingly * (cob_sig_handler): flush stdout+stderr for fixed set of signals where this is known to work * (cob_reg_sighnd): if signal handler is enabled from outside the COBOL runtime (like via cobc), do the initialization of the internal signal text table (was empty before) * (cob_sig_handler): early exit for SIGPIPE without output if signal handler is used without any COBOL modules active (like via cobc) * (cob_sig_handler): fixed coding error that led to missing output of catched signal name added tests for signal handling, these may need to be skipped because of not being completely portable
libcob: * common.c (cob_sig_handler): moved call of cob_exit_screen_from_signal from ss_terminate_routines here instead of calling cob_exit_screen * common.c (cob_sig_handler, cob_stack_trace_internal, cob_runtime_warning_ss): now using an internal buffer to output data instead of potentially hundreds of small direct writes, output the complete buffer when half-full oir at the end * common.c (get_source_location): renamed from output_source_location, now writing to a specified buffer, returning the length, instead of direct write to stderr * common.c (output_procedure_stack_entry): use buffer instead of direct write to stderr, now returning the length * common.c (write_until_fail, strcat_to_buf, intcat_to_buff): new helper functions * common.c (cob_sig_handler): moved call of cob_exit_screen_from_signal from ss_terminate_routines here instead of calling cob_exit_screen * common.c (cob_runtime_warning_ss), coblocal.h, fileio.c (cob_exit_fileio_msg_only): changed signature, now returning nonzero if write to stderr wasn't sucessfull * common.c (cob_runtime_warning, cob_runtime_warning_external): use all buffered io again additional: libcob/common.c (cob_load_config_file): fix format truncation warning by explicit checking for it
to drop user-reported warnings from compiler/linker
* configure: check expected json-c header first * tests: * atlocal.in, atlocal_win: export new definition COB_ON_WINDOWS to allow the testsuite skipping/failing tests - and applied it to used_binaries.at * run_prog_manual.sh.in: fix extranous $COBCRUN for all test runners * run_prog_manual.sh.in (xterm): use all parameters, not only the first * build_windows/set_env_vs_dist: supporting space-included paths (not recommended)
@lefessan would you mind going to the repo settings and mark a bunch of the branches (at least gnucobol-3.x, gcos4gnucobol-3.x and master) as "protected"? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checking CI