search for: b8c0a91

Displaying 3 results from an estimated 3 matches for "b8c0a91".

Did you mean: 38c0a11
2016 Mar 07
0
Re: [PATCH v2] Use less stack.
...*cmd, size_t argc, > char ***globs, size_t *posn, size_t *count, > int *r) > { > size_t i; > - char *argv[argc+1]; > + CLEANUP_FREE char **argv; Missing "= NULL" here. > diff --git a/fish/hexedit.c b/fish/hexedit.c > index 9f051aa..b8c0a91 100644 > --- a/fish/hexedit.c > +++ b/fish/hexedit.c > @@ -100,7 +100,8 @@ run_hexedit (const char *cmd, size_t argc, char *argv[]) > const char *editor; > int r; > struct stat oldstat, newstat; > - char buf[BUFSIZ]; > + CLEANUP_FREE char *tmpfd = NULL; > + CL...
2016 Mar 07
2
[PATCH v2] Use less stack.
...t;malloc"); + return -1; + } argv[0] = cmd; argv[argc] = NULL; @@ -310,7 +327,7 @@ glob_issue (char *cmd, size_t argc, posn[i] = 0; } if (i == 0) /* All done. */ - return; + return 0; goto again; } diff --git a/fish/hexedit.c b/fish/hexedit.c index 9f051aa..b8c0a91 100644 --- a/fish/hexedit.c +++ b/fish/hexedit.c @@ -100,7 +100,8 @@ run_hexedit (const char *cmd, size_t argc, char *argv[]) const char *editor; int r; struct stat oldstat, newstat; - char buf[BUFSIZ]; + CLEANUP_FREE char *tmpfd = NULL; + CLEANUP_FREE char *editcmd = NULL; CLEANUP...
2016 Mar 06
8
[PATCH 0/5] Use less stack.
Various changes/fixes to use smaller stack frames. Rich.