Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fw32.git;a=commitdiff;h=dd3e9841f31fa274b9a97d3eae8da5bce636bd32

commit dd3e9841f31fa274b9a97d3eae8da5bce636bd32
Author: James Buren <r...@frugalware.org>
Date:   Wed Nov 2 04:00:25 2011 -0500

fw32.c: add FW32_DIRS from shell implementation

diff --git a/fw32.c b/fw32.c
index d1d8d87..16d1ed7 100644
--- a/fw32.c
+++ b/fw32.c
@@ -7,7 +7,25 @@
#include <limits.h>
#include <assert.h>

-#define FW32_ROOT "/usr/lib/fw32"
+static const char *FW32_ROOT = "/usr/lib/fw32";
+
+static const char *FW32_DIRS[] =
+{
+  "/proc",
+  "/sys",
+  "/dev",
+  "/etc",
+  "/home",
+  "/tmp",
+  "/var/tmp",
+  "/var/cache/pacman-g2/pkg",
+  "/usr/share/kde",
+  "/usr/share/icons",
+  "/usr/share/fonts",
+  "/usr/share/themes",
+  "/media",
+  "/mnt"
+};

static void
error(const char *fmt,...)
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to