1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00

17292: shut up compiler if no OPEN_MEMSTREAM

This commit is contained in:
Peter Stephenson 2002-06-05 15:03:15 +00:00
parent 5ef61a44b1
commit 682d83503b
2 changed files with 6 additions and 1 deletions

@ -1,5 +1,7 @@
2002-06-05 Peter Stephenson <pws@csr.com>
* 17292: Src/builtin.c: shut up compiler if no OPEN_MEMSTREAM.
* 17265: Src/exec.c, Src/jobs.c, Src/Modules/clone.c: Make the
`jobs' command work in a subshell of a shell with job control by
saving the valid bits of the job table.

@ -2914,7 +2914,10 @@ bin_print(char *name, char **args, char *ops, int func)
int flags[5], *len;
char *start, *endptr, *c, *d, *flag, *buf, spec[11], *fmt = NULL;
char **first, *curarg, *flagch = "0+- #", save = '\0', nullstr = '\0';
size_t rcount, mcount, count = 0;
size_t rcount, count = 0;
#ifdef HAVE_OPEN_MEMSTREAM
size_t mcount;
#endif
FILE *fout = stdout;
Histent ent;