aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2019-04-23 22:41:31 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2019-04-25 20:26:24 +0200
commitf09e36acfe2db50e0452ba1e19b13f4395a8d704 (patch)
tree98128638131359eee2b91308284b965719388748 /src/common
parent4120e6adf557b01b8e43f8b5abe52c85602def64 (diff)
downloadblogc-f09e36acfe2db50e0452ba1e19b13f4395a8d704.tar.gz
blogc-f09e36acfe2db50e0452ba1e19b13f4395a8d704.tar.bz2
blogc-f09e36acfe2db50e0452ba1e19b13f4395a8d704.zip
make: do not follow symlinks when resolving blogcfile path
Diffstat (limited to 'src/common')
-rw-r--r--src/common/error.c6
-rw-r--r--src/common/error.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/common/error.c b/src/common/error.c
index 0b41ba7..03695e7 100644
--- a/src/common/error.c
+++ b/src/common/error.c
@@ -136,6 +136,12 @@ bc_error_print(bc_error_t *err, const char *prefix)
case BLOGC_MAKE_ERROR_EXEC:
fprintf(stderr, "error: exec: %s\n", err->msg);
break;
+ case BLOGC_MAKE_ERROR_ATOM:
+ fprintf(stderr, "error: atom: %s\n", err->msg);
+ break;
+ case BLOGC_MAKE_ERROR_UTILS:
+ fprintf(stderr, "error: utils: %s\n", err->msg);
+ break;
default:
fprintf(stderr, "error: %s\n", err->msg);
}
diff --git a/src/common/error.h b/src/common/error.h
index d8dd859..b85f006 100644
--- a/src/common/error.h
+++ b/src/common/error.h
@@ -28,6 +28,7 @@ typedef enum {
BLOGC_MAKE_ERROR_SETTINGS = 300,
BLOGC_MAKE_ERROR_EXEC,
BLOGC_MAKE_ERROR_ATOM,
+ BLOGC_MAKE_ERROR_UTILS,
} bc_error_type_t;