mirror of
https://github.com/lxsang/antd-tunnel-publishers
synced 2024-11-14 01:08:21 +01:00
add debug log and regen ar
This commit is contained in:
parent
0072734269
commit
034db74685
Binary file not shown.
41
build.json
41
build.json
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "antd-tunnel-publishers",
|
||||
"name": "ant-http",
|
||||
"targets":{
|
||||
"configure": {
|
||||
"require": ["linux"],
|
||||
@ -7,36 +7,31 @@
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"libtoolize",
|
||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
||||
"cmd":"libtoolize"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"aclocal",
|
||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
||||
"cmd":"aclocal"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"autoconf",
|
||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
||||
"cmd":"autoconf"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"automake --add-missing",
|
||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
||||
"cmd":"automake --add-missing"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"./configure --prefix=/usr --enable-debug=no",
|
||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
||||
"cmd":"./configure --prefix=/opt/www"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -47,8 +42,7 @@
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"make clean",
|
||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
||||
"cmd":"make clean"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -59,8 +53,7 @@
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"make",
|
||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
||||
"cmd":"make"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -68,6 +61,24 @@
|
||||
"clean and build": {
|
||||
"depend": ["clean", "build"],
|
||||
"jobs": []
|
||||
},
|
||||
"release": {
|
||||
"require": ["linux"],
|
||||
"depend": ["clean"],
|
||||
"jobs": [
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"make distcheck"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "linux-exec",
|
||||
"data": {
|
||||
"cmd":"mv *.tar.gz dist"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
BIN
dist/antd-publishers-0.1.2a.tar.gz
vendored
BIN
dist/antd-publishers-0.1.2a.tar.gz
vendored
Binary file not shown.
@ -133,8 +133,9 @@ int init_fifo(char *buff, const char *base, const char *user)
|
||||
(void)memset(buff, 0, BUFFLEN);
|
||||
if (stat(base, &path_stat) == 0)
|
||||
{
|
||||
if (S_ISREG(path_stat.st_mode))
|
||||
if (S_ISDIR(path_stat.st_mode))
|
||||
{
|
||||
M_DEBUG(MODULE_NAME, "%s is a directory", base);
|
||||
// is directory
|
||||
if (user == NULL)
|
||||
{
|
||||
@ -151,6 +152,14 @@ int init_fifo(char *buff, const char *base, const char *user)
|
||||
}
|
||||
uid = pwd->pw_uid;
|
||||
}
|
||||
else
|
||||
{
|
||||
M_DEBUG(MODULE_NAME, "%s is not a directory", base);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
M_DEBUG(MODULE_NAME, "Unable to state %s: %s", base, strerror(errno));
|
||||
}
|
||||
if (generic_fd)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user