From 3199980f5a063b65850c0de62b8e20dfc1058107 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Wed, 25 Nov 2009 02:01:57 +0100 Subject: [PATCH] use rk_PATH_DELIM --- lib/com_err/compile_et.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/com_err/compile_et.c b/lib/com_err/compile_et.c index a28e51f8d..11beaeba4 100644 --- a/lib/com_err/compile_et.c +++ b/lib/com_err/compile_et.c @@ -32,6 +32,9 @@ */ #undef ROKEN_RENAME + +#include "config.h" + #include "compile_et.h" #include @@ -219,7 +222,7 @@ main(int argc, char **argv) err(1, "%s", filename); - p = strrchr(filename, '/'); + p = strrchr(filename, rk_PATH_DELIM); if(p) p++; else