2025-01-23 11:47 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* contrib/hbcurl/core.c
* contrib/hbcurl/hbcurl.ch
* contrib/hbcurl/hbcurl.hbx
* applied more cleanups, following Viktor Szakats guidance in hisrepo:
6127603217
- add `HB_CURLM_ERROR` to indicate error in hbcurl wrapper.
- replace use of `HB_CURLM_INTERNAL_ERROR` with `HB_CURLM_ERROR`.
- sync Harbour variable integer sizes with curl ones.
- tidy up a variable scopes.
- drop unused variable.
- omit `hb_ret()` (it's a no-op).
- formatting.
- add functions to `hbcurl.hbx`.
+ add curl_ws_send()/curl_ws_recv() - WebSocket connectivity,
borrowed from Viktor's fork, thanks again!
2c71a5c940
* src/rdd/dbcmd.c
* note about C5.3 and Harbour extensions to
DBAPPEND( [<lUnlockAll>=.t.] ), thanks Viktor
* ChangeLog.txt
! typos
This commit is contained in:
@@ -264,13 +264,14 @@ HB_FUNC( DBAPPEND )
|
||||
|
||||
if( pArea )
|
||||
{
|
||||
/* NOTE: parameter is Clipper 5.3 extension, 5.2 always unlocks */
|
||||
HB_BOOL bUnLockAll = hb_parldef( 1, HB_TRUE );
|
||||
HB_ERRCODE errCode;
|
||||
|
||||
/* Clipper clears NETERR flag before APPEND */
|
||||
hb_rddSetNetErr( HB_FALSE );
|
||||
errCode = SELF_APPEND( pArea, bUnLockAll );
|
||||
hb_retl( errCode == HB_SUCCESS );
|
||||
hb_retl( errCode == HB_SUCCESS ); /* HB_EXTENSION */
|
||||
}
|
||||
else
|
||||
hb_errRT_DBCMD( EG_NOTABLE, EDBCMD_NOTABLE, NULL, HB_ERR_FUNCNAME );
|
||||
|
||||
Reference in New Issue
Block a user