From 463fc1efb3b7f498b3e58b840cd6a5f92a57fc00 Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 9 Mar 2006 20:23:04 +0000 Subject: [PATCH] remove old usertrace git-svn-id: http://ltt.polymtl.ca/svn@1634 04897980-b3bd-0310-b5e0-8ef037075253 --- genevent-new/parser.c | 2 +- {usertrace => usertrace-attic}/Makefile | 0 {usertrace => usertrace-attic}/lttng_usertrace.c | 0 {usertrace => usertrace-attic}/lttng_usertrace.h | 0 {usertrace => usertrace-attic}/test.c | 0 5 files changed, 1 insertion(+), 1 deletion(-) rename {usertrace => usertrace-attic}/Makefile (100%) rename {usertrace => usertrace-attic}/lttng_usertrace.c (100%) rename {usertrace => usertrace-attic}/lttng_usertrace.h (100%) rename {usertrace => usertrace-attic}/test.c (100%) diff --git a/genevent-new/parser.c b/genevent-new/parser.c index 28ebaeea..d76f13b7 100644 --- a/genevent-new/parser.c +++ b/genevent-new/parser.c @@ -310,7 +310,7 @@ void getFacilityAttributes(parse_file_t *in, facility_t *fac) if(car == EOF) in->error(in,"name was expected"); else if(car == '\"') fac->name = allocAndCopy(getQuotedString(in)); else fac->name = allocAndCopy(getName(in)); - if(!strncmp(fac->name, "user_", sizeof("user_")) == 0) + if(!strncmp(fac->name, "user_", sizeof("user_")-1)) fac->user = 1; } else if(!strcmp("arch", token)) { getEqual(in); diff --git a/usertrace/Makefile b/usertrace-attic/Makefile similarity index 100% rename from usertrace/Makefile rename to usertrace-attic/Makefile diff --git a/usertrace/lttng_usertrace.c b/usertrace-attic/lttng_usertrace.c similarity index 100% rename from usertrace/lttng_usertrace.c rename to usertrace-attic/lttng_usertrace.c diff --git a/usertrace/lttng_usertrace.h b/usertrace-attic/lttng_usertrace.h similarity index 100% rename from usertrace/lttng_usertrace.h rename to usertrace-attic/lttng_usertrace.h diff --git a/usertrace/test.c b/usertrace-attic/test.c similarity index 100% rename from usertrace/test.c rename to usertrace-attic/test.c -- 2.34.1