Skip to content
Snippets Groups Projects
Commit 71b9c10b authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

bugfix

Rev: bin/fixdepends.sh:1.5
Rev: src/modules/files/configure.in:1.16
parent 94e2fa0b
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
sed -e "s@/./@/@g
s@$1/\([-a-zA-Z0-9.,_]*\)@\$(SRCDIR)/\1@g" >$1/dependencies
sed -e "s@$1/\([-a-zA-Z0-9.,_]*\)@\$(SRCDIR)/\1@g" >$1/dependencies
#sed -e "s@/./@/@g
#s@$1/\([-a-zA-Z0-9.,_]*\)@\$(SRCDIR)/\1@g" >$1/dependencies
# sed "s@[-/a-zA-Z0-9.,_][-/a-zA-Z0-9.,_]*/\([-a-zA-Z0-9.,_]*\)@\1@g" > $1/dependencies
......@@ -137,6 +137,8 @@ AC_TRY_RUN([
#include <signal.h>
#include <netinet/in.h>
#include <errno.h>
#include <unistd.h>
#include <sys/time.h>
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
......@@ -153,7 +155,7 @@ int main()
FD_ZERO(&tmp);
FD_SET(fds[1], &tmp);
alarm(5);
if(select(fds[1]+1,&tmp, 0,0,0)>0 && FD_ISSET(fds[1]))
if(select(fds[1]+1,&tmp, 0,0,0)>0 && FD_ISSET(fds[1], &tmp))
exit(0);
exit(1);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment