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:
Viktor Szakats
2011-01-21 15:32:46 +00:00
parent 9a1a08e84c
commit f067179880
7 changed files with 20 additions and 5 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -11,7 +11,7 @@
-stop{!unix}
hbposix.c
daemon.c
guids.c
posix.c
posixerr.c

View File

@@ -2,6 +2,6 @@
# $Id$
#
../hbposix.hbc
../hbunix.hbc
-w3 -es2

View File

@@ -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