diff --git a/PKGBUILD b/PKGBUILD index 7dbe820dfbe6ac9f3e67d489263d104a5616cf7f..6457422e2fc8b3be86bb1bd437e0ab1942c0c8c6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Maël 'Kubat' MARTIN <mael.martin31@gmail.com> pkgname=lektor -pkgver=mk7.1016.3dc6f61 +pkgver=mk7.1026.b7d5c5e pkgrel=1 pkgdesc="The lektor kara player, from the Bakaclub" arch=(x86_64 i686) diff --git a/src/main/lkt.c b/src/main/lkt.c index ecf48701a9824fcfc2c2b9a4cfdaacb1b24217d9..b22442faccacfcf61477d9bc6dd9e4a7cdc06ab4 100644 --- a/src/main/lkt.c +++ b/src/main/lkt.c @@ -1005,12 +1005,14 @@ static struct lkt_cmd_opt options_[] = { /* The sigpipe function, if SIGPIPE signal is sent. */ +/* <--- Commented to prevoid "define but not user" after commenting the corresponding assert in main static void sigpipe__(int sig) { LOG_ERROR("GENERAL", "Exit because of signal sigpipe (%d)", sig); exit(EXIT_FAILURE); } +*/ /* Functions declarations. */ @@ -1049,7 +1051,7 @@ main(int argc, const char **argv) log_level = ERROR; executable_name = "lkt"; assert(NULL != setlocale(LC_ALL, "en_US.UTF-8")); /* BECAUSE! */ - assert(!signal(SIGPIPE, sigpipe__)); +// assert(!signal(SIGPIPE, sigpipe__)); <---- Commented because php exec command make the assert fail args_t args = { .host = "localhost",