[Tcsh] tcsh-6.24.08 and DragonFlyBSD 6.4.0
Nelson H. F. Beebe
beebe at math.utah.edu
Tue Apr 11 16:47:14 UTC 2023
Thanks for the suggestion to try this one-token tweak to the
tcsh-6.24.08 source code on DragonFlyBSD 6.4.0:
% diff -c tc.alloc.c~ tc.alloc.c
*** tc.alloc.c~ Mon Apr 10 03:26:45 2023
--- tc.alloc.c Tue Apr 11 10:39:05 2023
***************
*** 457,463 ****
#ifdef __linux__
#define M_U_S_CONST
#else
! #define M_U_S_CONST
#endif
size_t malloc_usable_size(M_U_S_CONST void *);
size_t
--- 457,463 ----
#ifdef __linux__
#define M_U_S_CONST
#else
! #define M_U_S_CONST const
#endif
size_t malloc_usable_size(M_U_S_CONST void *);
size_t
I have just done that on my DragonFlyBSD 6.4.0 system, and the build
was successful, and all tests passed!
## ------------- ##
## Test results. ##
## ------------- ##
195 tests were successful.
53 tests were skipped.
I'm going to install this build on that system.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah -
- Department of Mathematics, 110 LCB Internet e-mail: beebe at math.utah.edu -
- 155 S 1400 E RM 233 beebe at acm.org beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
More information about the Tcsh
mailing list