Displaying 5 results from an estimated 5 matches for "6b9e0a9".
2018 Aug 18
2
[PATCH v2] build: Build synopsis.c before main.c
How about this variation of your patch? It fixes the
problem from a fresh git checkout for me.
Rich.
2018 Aug 18
1
Re: [PATCH v2] build: Build synopsis.c before main.c
...^~~~~~~~~~~~
>
> Fixes commit 445e18f3dbb2 (src, docs: Generate the nbdkit command
> synopsis from a single source).
> ---
> src/Makefile.am | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 5c67bf8..6b9e0a9 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -77,10 +77,11 @@ nbdkit_LDFLAGS = \
> -rdynamic
>
> # synopsis.c is generated from docs/synopsis.txt where it is also
> -# used to generate the man page.
> +# used to generate the man page. It is included...
2018 Aug 18
0
[PATCH v2] build: Build synopsis.c before main.c
...tory
#include "synopsis.c"
^~~~~~~~~~~~
Fixes commit 445e18f3dbb2 (src, docs: Generate the nbdkit command
synopsis from a single source).
---
src/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 5c67bf8..6b9e0a9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -77,10 +77,11 @@ nbdkit_LDFLAGS = \
-rdynamic
# synopsis.c is generated from docs/synopsis.txt where it is also
-# used to generate the man page.
+# used to generate the man page. It is included in main.c.
EXTRA_DIST = synopsis.c
nbdki...
2018 Oct 28
0
[PATCH nbdkit 1/4] common: Move get_current_dir_name(3) compatibility function.
...r *ret;
+
+ ret = malloc (PATH_MAX);
+ if (ret == NULL)
+ return NULL;
+ ret = getcwd (ret, PATH_MAX);
+ if (ret == NULL)
+ return NULL;
+ return realloc (ret, strlen (ret) + 1);
+}
+#endif
+
+#endif /* NBDKIT_GET_CURRENT_DIR_NAME_H */
diff --git a/src/Makefile.am b/src/Makefile.am
index 6b9e0a9..999aeae 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -102,5 +102,7 @@ test_utils_SOURCES = \
test-utils.c \
utils.c \
cleanup.c
-test_utils_CPPFLAGS = -I$(top_srcdir)/include
+test_utils_CPPFLAGS = \
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)/common/include
test_utils_CFLAGS = $...
2018 Oct 28
6
[PATCH nbdkit 0/4] Add floppy plugin.
Add nbdkit-floppy-plugin, “inspired” by qemu's VVFAT driver, but
without the ability to handle writes.
The implementation is pretty complete, supporting FAT32, LFNs, volume
labels, timestamps, etc, and it passes both ‘make check’ and ‘make
check-valgrind’.
Usage is simple; to serve the current directory:
$ nbdkit floppy .
Then using guestfish (or any NBD client):
$ guestfish --ro