Make #'require's NOERROR arg do its job properly. * src/fns.c (Frequire): Don't throw an invalid-state error if the 'noerror' arg is non-nil. Signed-off-by: Steve Youngs <steve@sxemacs.org>
Add the 'noerror' argument to #'require. * src/fns.c (Frequire): Synched from XE 21.5, adds 'noerror' arg. From: Andrés Ramírez <sunshavi@fastmail.fm> Signed-off-by: Steve Youngs <steve@sxemacs.org>
cosmetics, include ent/ent.h (or one of its sub-includes) directly ... This changeset will still have follow-ups that rectify the situation in files that used some of the macros defined by ent.h (and its includes). Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Whitespace cleanup in src [f-l] Signed-off-by: Steve Youngs <steve@sxemacs.org>
Coverity: Forward NULL: CID 37 * src/fns.c (concat): Make sure args_mse is not dereferenced in case of NULL even in case of fatal crash. Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
Coverity: Forward NULL: CID 439 * src/fns.c (concat): Manually skip and abort when string_result_ptr is NULL. Coverity is actually right here, because when we are in a fatal error handling, assert will be a no-op, so we better just put an abort for the other cases and not try to dereference... Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
CID:291 SECURE_CODING * src/fns.c (base16_encode_1): use snprintf instead of sprint, needs addition parameter for buffer parameter... * src/fns.c (Fbase16_encode_string): use base16_encode_1 with the new parameter Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
Fix undefined order of eval in while condition. CID:30
Initial git import