From e60a7cc135af7ee738d67ecc7bd02ce18963ace6 Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Thu, 13 Oct 2011 02:00:41 +0100 Subject: Integrate libmodbus and libconfig --- libconfig/example1.c | 2 ++ libconfig/jmccrohan-example.c | 2 ++ libconfig/myprogram | Bin 9968 -> 0 bytes 3 files changed, 4 insertions(+) delete mode 100755 libconfig/myprogram (limited to 'libconfig') diff --git a/libconfig/example1.c b/libconfig/example1.c index 56661f3..8909884 100644 --- a/libconfig/example1.c +++ b/libconfig/example1.c @@ -38,6 +38,8 @@ int main(int argc, char **argv) config_init(&cfg); +fprintf(stderr, "__FILE__"); + /* Read the file. If there is an error, report it and exit. */ if(! config_read_file(&cfg, "example.cfg")) { diff --git a/libconfig/jmccrohan-example.c b/libconfig/jmccrohan-example.c index 1dbb6da..73fd3e8 100644 --- a/libconfig/jmccrohan-example.c +++ b/libconfig/jmccrohan-example.c @@ -14,6 +14,8 @@ int main(int argc, char **argv) config_init(&cfg); +fprintf(stderr, "__FILE__"); + /* Read the file. If there is an error, report it and exit. */ if(! config_read_file(&cfg, "CONFIG_FILE")) { diff --git a/libconfig/myprogram b/libconfig/myprogram deleted file mode 100755 index 8e28bdd..0000000 Binary files a/libconfig/myprogram and /dev/null differ -- cgit v1.2.3