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:
parent
ea0ddb0fc6
commit
4fec788fa5
52 changed files with 1568 additions and 340 deletions
12
Src/utils.c
12
Src/utils.c
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue