search for: cd477e5

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

Did you mean: 8d477ee
2009 Aug 07
1
[PATCH] daemon/file.c: remove duplicate absolute-path check
...mon/file.c (do_file): Remove redundant use of ABS_PATH. It's redundant because the preceding line invokes NEED_ROOT_OR_IS_DEVICE, which also invokes ABS_PATH. --- daemon/file.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/daemon/file.c b/daemon/file.c index 63d8dd2..cd477e5 100644 --- a/daemon/file.c +++ b/daemon/file.c @@ -392,7 +392,6 @@ do_file (char *path) int len; NEED_ROOT_OR_IS_DEVICE (path, NULL); - ABS_PATH (path, NULL); if (strncmp (path, "/dev/", 5) == 0) buf = (char *) path; -- 1.6.4.161.gc0b1
2009 Aug 12
23
[PATCH 0/23] factor and const-correctness
This started as a simple warning-elimination change. I'll get back to that series shortly ;-) It turned into a factorization and constification exercise during which I got a taste of ocaml. Thanks to Rich Jones for help with a few snippets in generator.ml. The overall result is that many previously-manually-maintained bits from daemon/*.c functions are now hoisted into the automatically-