Implemented support for posix_spawn() and (main change): always use vfork() for starting external commands

This commit is contained in:
Jean-Francois Dockes
2015-05-27 16:24:18 +02:00
parent eb79621fcf
commit 9992a6f4f1
10 changed files with 203 additions and 38 deletions
+9 -1
View File
@@ -6,7 +6,7 @@ include $(depth)/mk/sysconf
# are part of the official distrib anyway
LIBRECOLL = ../lib/librecoll.a
PROGS = pxattr trecrontab \
PROGS = pxattr trclosefrom trecrontab \
trnetcon trcopyfile trcircache trmd5 trreadfile trfileudi \
trconftree wipedir smallut trfstreewalk trpathut transcode trbase64 \
trmimeparse trexecmd utf8iter idfile
@@ -27,6 +27,14 @@ trecrontab.o : ecrontab.cpp ecrontab.h
$(CXX) -o trecrontab.o -c $(ALL_CXXFLAGS) \
-DTEST_ECRONTAB ecrontab.cpp
CLOSEFROM_OBJS= trclosefrom.o
trclosefrom : $(CLOSEFROM_OBJS)
$(CXX) -o trclosefrom $(CLOSEFROM_OBJS) \
$(LIBRECOLL) $(LIBICONV) $(LIBSYS)
trclosefrom.o : closefrom.cpp closefrom.h
$(CXX) -o trclosefrom.o -c $(ALL_CXXFLAGS) \
-DTEST_CLOSEFROM closefrom.cpp
FSTREEWALK_OBJS= trfstreewalk.o
trfstreewalk : $(FSTREEWALK_OBJS)
$(CXX) -o trfstreewalk $(FSTREEWALK_OBJS) \