search for: 49ac3f9

Displaying 1 result from an estimated 1 matches for "49ac3f9".

2016 Dec 09
1
[PATCH] inspect: improve canonical_mountpoint implementation
...the amount of memmove and strlen needed. Updates commit 865d070ddcbb071a919614f45c8eef8fcb4497ff. --- src/inspect-fs-unix.c | 56 ++++++++++++++++++--------------------------------- 1 file changed, 20 insertions(+), 36 deletions(-) diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c index 49ac3f9..7e940d6 100644 --- a/src/inspect-fs-unix.c +++ b/src/inspect-fs-unix.c @@ -2130,44 +2130,28 @@ make_augeas_path_expression (guestfs_h *g, const char **configfiles) * the same length or shorter than the argument passed. */ static void -drop_char (char *mp) +canonical_mountpoint (char *s) { -...