search for: append_dir_table

Displaying 2 results from an estimated 2 matches for "append_dir_table".

2020 Apr 15
0
[PATCH nbdkit 2/9] floppy, iso, split, ssh: Use new vector type to store lists of strings.
...ry); static int convert_long_file_names (struct lfn *lfns, size_t n); static int convert_to_utf16le (const char *name, char **out, size_t *output_len); static void free_lfns (struct lfn *lfns, size_t n); -static ssize_t extend_dir_table (size_t di, struct virtual_floppy *floppy); +static ssize_t append_dir_table (size_t di, const struct dir_entry *entry, struct virtual_floppy *floppy); /* Create the on disk directory table for dirs[di]. */ int @@ -178,10 +178,9 @@ add_volume_label (const char *label, size_t di, struct virtual_floppy *floppy) pad_string (label, 11, entry.name); entry.attributes =...
2020 Apr 15
18
[PATCH nbdkit 0/9] Generic vector, and pass $nbdkit_stdio_safe to shell scripts.
This was a rather longer trip around the houses than I anticipated! The basic purpose of the patch series is to set $nbdkit_stdio_safe to "0" or "1" in sh and eval plugin scripts. To do that, I ended up adding a nicer way to manipulate environ lists, and to do that, I ended up adding a whole generic vector implementation which is applicable in a lot of different places.