1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-16 23:30:58 +01:00

zsh-3.1.5-pws-19

This commit is contained in:
Tanaka Akira 1999-05-19 13:10:41 +00:00
parent ea0ddb0fc6
commit 4fec788fa5
52 changed files with 1568 additions and 340 deletions

View file

@ -134,7 +134,7 @@ zerrnam(const char *cmd, const char *fmt, const char *str, int num)
fmt++;
}
if (unset(SHINSTDIN) && lineno)
fprintf(stderr, " [%ld]\n", lineno);
fprintf(stderr, " [%ld]\n", (long)lineno);
else
putc('\n', stderr);
fflush(stderr);
@ -1096,15 +1096,15 @@ skipparens(char inpar, char outpar, char **s)
return level;
}
/* Convert string to long. This function (without the z) *
* is contained in the ANSI standard C library, but a lot *
* of them seem to be broken. */
/* Convert string to zlong (see zsh.h). This function (without the z) *
* is contained in the ANSI standard C library, but a lot of them seem *
* to be broken. */
/**/
long
zlong
zstrtol(const char *s, char **t, int base)
{
long ret = 0;
zlong ret = 0;
int neg;
while (inblank(*s))