search for: 561c6ae

Displaying 3 results from an estimated 3 matches for "561c6ae".

2016 Mar 02
1
[PATCH] make-fs: print error message on mkfs failure
...it easier to diagnose failures on mkfs, without the need to restart the filesystem creation with verbose output (which will produce a lot more output). --- make-fs/make-fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make-fs/make-fs.c b/make-fs/make-fs.c index ff291a1..561c6ae 100644 --- a/make-fs/make-fs.c +++ b/make-fs/make-fs.c @@ -773,8 +773,8 @@ do_make_fs (const char *input, const char *output_str) if (r == -1) { /* Provide more guidance in the error message (RHBZ#823883). */ - fprintf (stderr, "%s: 'mkfs' (create filesystem) operati...
2016 Mar 06
8
[PATCH 0/5] Use less stack.
Various changes/fixes to use smaller stack frames. Rich.
2016 Mar 07
2
[PATCH v2] Use less stack.
...ity warns about 10000 byte frames. +gl_WARN_ADD([-Wframe-larger-than=5000]) + +dnl Warn about large stack frames, including estimates for alloca +dnl and variable length arrays. +gl_WARN_ADD([-Wstack-usage=10000]) AC_SUBST([WARN_CFLAGS]) diff --git a/make-fs/make-fs.c b/make-fs/make-fs.c index 561c6ae..2778772 100644 --- a/make-fs/make-fs.c +++ b/make-fs/make-fs.c @@ -281,9 +281,15 @@ exec_command_count_output (char **argv, uint64_t *bytes_rtn) pid_t pid; int status; int fd[2]; - char buffer[BUFSIZ]; + CLEANUP_FREE char *buffer = NULL; ssize_t r; + buffer = malloc (BUFSIZ); + i...