Displaying 2 results from an estimated 2 matches for "need_root_or_is_device".
2009 Aug 07
1
[PATCH] daemon/file.c: remove duplicate absolute-path check
...b2 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Fri, 7 Aug 2009 20:07:03 +0200
Subject: [PATCH] daemon/file.c: remove duplicate absolute-path check
* daemon/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_DEVI...
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-