1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

AIX dependency fixes

This commit is contained in:
Oliver Kiddle 2000-04-30 17:58:35 +00:00
parent 3e43e50992
commit ddd8614e51
6 changed files with 546 additions and 348 deletions

View file

@ -1,3 +1,8 @@
2000-04-30 Oliver Kiddle <opk@zsh.org>
* 11031: Src/math.c, Src/glob.c, Src/module.c, Src/Zle/compcore.c
Src/Zle/compresult.c: AIX dependency fixes.
2000-04-30 Bart Schaefer <schaefer@zsh.org>
* 11029: Src/hashtable.c, Src/signals.c: Back out more bits of

View file

@ -42,13 +42,12 @@ int useexact, useline, uselist, forcelist, startauto;
/* Non-zero if we should go back to the last prompt. */
/**/
int dolastprompt;
mod_export int dolastprompt;
/* Non-zero if we should keep an old list. */
/**/
mod_export
int oldlist, oldins;
mod_export int oldlist, oldins;
/* This is used to decide when the cursor should be moved to the end of *
* the inserted word: 0 - never, 1 - only when a single match is inserted, *

View file

@ -540,7 +540,7 @@ instmatch(Cmatch m, int *scs)
* braces. */
/**/
int
mod_export int
hasbrpsfx(Cmatch m, char *pre, char *suf)
{
char *op = lastprebr, *os = lastpostbr;
@ -1148,7 +1148,7 @@ comp_list(char *v)
/* This skips over matches that are not to be listed. */
/**/
Cmatch *
mod_export Cmatch *
skipnolist(Cmatch *p, int showall)
{
int mask = (showall ? 0 : (CMF_NOLIST | CMF_MULT)) | CMF_HIDE;

View file

@ -1514,7 +1514,7 @@ file_type(mode_t filemode)
/* check to see if str is eligible for brace expansion */
/**/
int
mod_export int
hasbraces(char *str)
{
char *lbr, *mbr, *comma;
@ -1696,7 +1696,7 @@ tricat(char const *s1, char const *s2, char const *s3)
/* brace expansion */
/**/
void
mod_export void
xpandbraces(LinkList list, LinkNode *np)
{
LinkNode node = (*np), last = prevnode(node);

File diff suppressed because it is too large Load diff

View file

@ -666,7 +666,7 @@ modname_ok(char const *p)
}
/**/
int
mod_export int
load_module(char const *name)
{
Module m;