mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
The liblist variable needs to be an extern for dtksh to build. Quote from CDE developer Chase: we use an old function that no longer appears in kornshell, sh_getliblist, it seems to be replaced by the function sh_getlib, which is fine, but it seems to return a "Shbltin_f" type, which I can't seem to find any information on what it is. We need the void pointer dlsym provides for some widget init stuff, I tried making liblist an extern, but it kept giving me an error about libcomp_t being undefined. src/cmd/ksh93/bltins/typeset.c, src/cmd/ksh93/include/shell.h: - Fix the compiler error reported above by moving the type definition for Libcomp_t to shell.h. - Make liblist an extern since findsym.c in dtksh needs it to build. The old sh_getliblist function doesn't need to be reintroduced since the only purpose it served was to workaround the problem of liblist being a static variable. Now that liblist is an extern, dtksh fsym can use liblist directly to avoid sh_getliblist. dtksh findsym.c: https://sourceforge.net/p/cdesktopenv/code/ci/2.3.2/tree/cde/programs/dtksh/findsym.c |
||
|---|---|---|
| .. | ||
| alarm.c | ||
| cd_pwd.c | ||
| cflow.c | ||
| enum.c | ||
| getopts.c | ||
| hist.c | ||
| misc.c | ||
| mkservice.c | ||
| print.c | ||
| read.c | ||
| regress.c | ||
| sleep.c | ||
| test.c | ||
| trap.c | ||
| typeset.c | ||
| ulimit.c | ||
| umask.c | ||
| whence.c | ||