mirror of
https://github.com/lxsang/antd-tunnel-publishers
synced 2024-12-25 17:48:20 +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":{
|
"targets":{
|
||||||
"configure": {
|
"configure": {
|
||||||
"require": ["linux"],
|
"require": ["linux"],
|
||||||
@ -7,36 +7,31 @@
|
|||||||
{
|
{
|
||||||
"name": "linux-exec",
|
"name": "linux-exec",
|
||||||
"data": {
|
"data": {
|
||||||
"cmd":"libtoolize",
|
"cmd":"libtoolize"
|
||||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "linux-exec",
|
"name": "linux-exec",
|
||||||
"data": {
|
"data": {
|
||||||
"cmd":"aclocal",
|
"cmd":"aclocal"
|
||||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "linux-exec",
|
"name": "linux-exec",
|
||||||
"data": {
|
"data": {
|
||||||
"cmd":"autoconf",
|
"cmd":"autoconf"
|
||||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "linux-exec",
|
"name": "linux-exec",
|
||||||
"data": {
|
"data": {
|
||||||
"cmd":"automake --add-missing",
|
"cmd":"automake --add-missing"
|
||||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "linux-exec",
|
"name": "linux-exec",
|
||||||
"data": {
|
"data": {
|
||||||
"cmd":"./configure --prefix=/usr --enable-debug=no",
|
"cmd":"./configure --prefix=/opt/www"
|
||||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -47,8 +42,7 @@
|
|||||||
{
|
{
|
||||||
"name": "linux-exec",
|
"name": "linux-exec",
|
||||||
"data": {
|
"data": {
|
||||||
"cmd":"make clean",
|
"cmd":"make clean"
|
||||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -59,8 +53,7 @@
|
|||||||
{
|
{
|
||||||
"name": "linux-exec",
|
"name": "linux-exec",
|
||||||
"data": {
|
"data": {
|
||||||
"cmd":"make",
|
"cmd":"make"
|
||||||
"pwd": "home://workspace/antd-tunnel-publishers"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -68,6 +61,24 @@
|
|||||||
"clean and build": {
|
"clean and build": {
|
||||||
"depend": ["clean", "build"],
|
"depend": ["clean", "build"],
|
||||||
"jobs": []
|
"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);
|
(void)memset(buff, 0, BUFFLEN);
|
||||||
if (stat(base, &path_stat) == 0)
|
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
|
// is directory
|
||||||
if (user == NULL)
|
if (user == NULL)
|
||||||
{
|
{
|
||||||
@ -151,6 +152,14 @@ int init_fifo(char *buff, const char *base, const char *user)
|
|||||||
}
|
}
|
||||||
uid = pwd->pw_uid;
|
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)
|
if (generic_fd)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user