Displaying 5 results from an estimated 5 matches for "print_sysroot_shell_quote".
2009 Aug 10
2
daemon/ warnings
...t_lines (char *str)
*/
static int
print_shell_quote (FILE *stream,
- const struct printf_info *info,
+ const struct printf_info *info ATTRIBUTE_UNUSED,
const void *const *args)
{
#define SAFE(c) (isalnum((c)) || \
@@ -751,7 +751,7 @@ print_sysroot_shell_quote (FILE *stream,
#ifdef HAVE_REGISTER_PRINTF_SPECIFIER
static int
-print_arginfo (const struct printf_info *info,
+print_arginfo (const struct printf_info *info ATTRIBUTE_UNUSED,
size_t n, int *argtypes, int *size)
{
if (n > 0) {
--
1.6.4.174.gc193a
>From b9842a2ca010bf...
2009 Jul 27
2
[PATCH] Replace shell_quote function with %Q and %R printf specifiers.
...t;
#include <ctype.h>
#include <signal.h>
+#include <printf.h>
#include "daemon.h"
@@ -47,6 +48,10 @@ static void usage (void);
int verbose = 0;
+static int print_shell_quote (FILE *stream, const struct printf_info *info, const void *const *args);
+static int print_sysroot_shell_quote (FILE *stream, const struct printf_info *info, const void *const *args);
+static int print_arginfo (const struct printf_info *info, size_t n, int *argtypes, int *size);
+
/* Location to mount root device. */
const char *sysroot = "/sysroot"; /* No trailing slash. */
int sysroot_len = 8...
2013 Aug 09
4
[PATCH v2 0/4] Experimental User-Mode Linux backend.
v1 was here:
https://www.redhat.com/archives/libguestfs/2013-August/msg00005.html
This now works, to some extent. The main problem now is that devices
are named /dev/ubd[a-] which of course confuses everything. I'm
thinking it may be easier to add a udev rule to rename them.
Rich.
2017 Aug 03
9
[PATCH 0/6] tests: Fix handling of device API parameters (RHBZ#1477623).
https://bugzilla.redhat.com/show_bug.cgi?id=1477623
The first two patches are cleanups.
The third patch changes the way that we handle Device and Dev_or_Path
parameters so that a parameter marked as such can really only contain
a block device name (and not, for instance, a chardev). Using a
chardev here caused hangs in the API.
The next two patches fix API usage to conform to this new stricter
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...== '-' || (c) == '_' || (c) == '.')
+ (c) == '/' || (c) == '-' || (c) == '_' || (c) == '.')
int i, len;
const char *str = *((const char **) (args[0]));
@@ -740,11 +740,11 @@ print_shell_quote (FILE *stream,
static int
print_sysroot_shell_quote (FILE *stream,
- const struct printf_info *info,
- const void *const *args)
+ const struct printf_info *info,
+ const void *const *args)
{
#define SAFE(c) (isalnum((c)) || \
- (c) == '/' || (c) == '-' || (c) == ...