2011-01-21 16:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- contrib/hbunix/hbposix.hbp
+ contrib/hbunix/hbunix.hbp
- contrib/hbunix/hbposix.hbc
+ contrib/hbunix/hbunix.hbc
- contrib/hbunix/hbposix.c
+ contrib/hbunix/posix.c
* contrib/hbunix/tests/hbmk.hbm
* Renamed hbposix lib to hbunix. Step 2 of 2.
; Please test.
* contrib/hbunix/daemon.c
* contrib/hbunix/tests/testdmn.prg
* Renamed HB_POSIX_DAEMON() to UNIX_DAEMON().
This commit is contained in:
@@ -16,6 +16,21 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2011-01-21 16:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
- contrib/hbunix/hbposix.hbp
|
||||
+ contrib/hbunix/hbunix.hbp
|
||||
- contrib/hbunix/hbposix.hbc
|
||||
+ contrib/hbunix/hbunix.hbc
|
||||
- contrib/hbunix/hbposix.c
|
||||
+ contrib/hbunix/posix.c
|
||||
* contrib/hbunix/tests/hbmk.hbm
|
||||
* Renamed hbposix lib to hbunix. Step 2 of 2.
|
||||
; Please test.
|
||||
|
||||
* contrib/hbunix/daemon.c
|
||||
* contrib/hbunix/tests/testdmn.prg
|
||||
* Renamed HB_POSIX_DAEMON() to UNIX_DAEMON().
|
||||
|
||||
2011-01-21 16:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
- contrib/hbposix
|
||||
+ contrib/hbunix
|
||||
|
||||
@@ -36,9 +36,9 @@
|
||||
#include "hbvm.h"
|
||||
|
||||
/*
|
||||
* hb_posix_daemon( [<lNoChdir>], [<lNoClose>] ) --> <lResult>
|
||||
* unix_daemon( [<lNoChdir>], [<lNoClose>] ) --> <lResult>
|
||||
*/
|
||||
HB_FUNC( HB_POSIX_DAEMON )
|
||||
HB_FUNC( UNIX_DAEMON )
|
||||
{
|
||||
int fd;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
-stop{!unix}
|
||||
|
||||
hbposix.c
|
||||
daemon.c
|
||||
guids.c
|
||||
posix.c
|
||||
posixerr.c
|
||||
@@ -2,6 +2,6 @@
|
||||
# $Id$
|
||||
#
|
||||
|
||||
../hbposix.hbc
|
||||
../hbunix.hbc
|
||||
|
||||
-w3 -es2
|
||||
|
||||
@@ -20,7 +20,7 @@ PROCEDURE Main()
|
||||
|
||||
OutStd( hb_strFormat( "Parent(%d) launching child... ", posix_getpid() ) + hb_eol() )
|
||||
|
||||
IF ! hb_posix_daemon( .F., .F. )
|
||||
IF ! unix_daemon( .F., .F. )
|
||||
OutStd( "failed." + hb_eol() )
|
||||
ErrorLevel( 1 )
|
||||
QUIT
|
||||
|
||||
Reference in New Issue
Block a user