summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c8c0c25)
printf's %.* means an unsigned arg, not a size_t.
}
return talloc_asprintf_append(others, "printf(\"%%p\", %.*s);\n",
}
return talloc_asprintf_append(others, "printf(\"%%p\", %.*s);\n",
+ (unsigned)(end - p + 1), p);
}
static void strip_leading_whitespace(char **lines)
}
static void strip_leading_whitespace(char **lines)
char *maybe_temp_file(const void *ctx, const char *extension, bool keep,
const char *srcname)
{
char *maybe_temp_file(const void *ctx, const char *extension, bool keep,
const char *srcname)
{
char *f, *suffix = talloc_strdup(ctx, "");
struct stat st;
unsigned int count = 0;
char *f, *suffix = talloc_strdup(ctx, "");
struct stat st;
unsigned int count = 0;