mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Added use of $CALCHISTFILE and start of 2.12.7.5
By default, the calc history file is located in ~/.calc_history. Now, if the environment variable $CALCHISTFILE is defined and is non-empty, then calc history file will be defined by the $CALCHISTFILE environment variable.
This commit is contained in:
@@ -74,4 +74,9 @@ EXTERN int calc_print_scanwarn_msg;
|
||||
/* number of parse/scan warnings found */
|
||||
EXTERN unsigned long calc_warn_cnt;
|
||||
|
||||
/*
|
||||
* calc history file
|
||||
*/
|
||||
EXTERN char *calc_history;
|
||||
|
||||
#endif /* !INCLUDE_MATH_ERROR_H */
|
||||
|
Reference in New Issue
Block a user