Fix typos, formatting.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
ad49b81b33
commit
376b9510a9
|
@ -353,7 +353,7 @@ static int PH7_vfs_realpath(ph7_context *pCtx, int nArg, ph7_value **apArg) {
|
||||||
ph7_result_bool(pCtx, 0);
|
ph7_result_bool(pCtx, 0);
|
||||||
return PH7_OK;
|
return PH7_OK;
|
||||||
}
|
}
|
||||||
/* Set an empty string untnil the underlying OS interface change that */
|
/* Set an empty string until the underlying OS interface change that */
|
||||||
ph7_result_string(pCtx, "", 0);
|
ph7_result_string(pCtx, "", 0);
|
||||||
/* Perform the requested operation */
|
/* Perform the requested operation */
|
||||||
zPath = ph7_value_to_string(apArg[0], 0);
|
zPath = ph7_value_to_string(apArg[0], 0);
|
||||||
|
@ -2032,7 +2032,7 @@ static int PH7_builtin_fnmatch(ph7_context *pCtx, int nArg, ph7_value **apArg) {
|
||||||
/* Extract the pattern and the string */
|
/* Extract the pattern and the string */
|
||||||
zPattern = ph7_value_to_string(apArg[0], 0);
|
zPattern = ph7_value_to_string(apArg[0], 0);
|
||||||
zString = ph7_value_to_string(apArg[1], 0);
|
zString = ph7_value_to_string(apArg[1], 0);
|
||||||
/* Extract the flags if avaialble */
|
/* Extract the flags if available */
|
||||||
if(nArg > 2 && ph7_value_is_int(apArg[2])) {
|
if(nArg > 2 && ph7_value_is_int(apArg[2])) {
|
||||||
rc = ph7_value_to_int(apArg[2]);
|
rc = ph7_value_to_int(apArg[2]);
|
||||||
if(rc & 0x01 /*FNM_NOESCAPE*/) {
|
if(rc & 0x01 /*FNM_NOESCAPE*/) {
|
||||||
|
@ -5236,7 +5236,7 @@ static int PH7_builtin_zip_open(ph7_context *pCtx, int nArg, ph7_value **apArg)
|
||||||
SyBlobRelease(pContents);
|
SyBlobRelease(pContents);
|
||||||
/* Release the allocated chunk */
|
/* Release the allocated chunk */
|
||||||
ph7_context_free_chunk(pCtx, pArchive);
|
ph7_context_free_chunk(pCtx, pArchive);
|
||||||
/* Something goes wrong with this ZIP archive,return FALSE */
|
/* Something goes wrong with this ZIP archive */
|
||||||
ph7_result_bool(pCtx, 0);
|
ph7_result_bool(pCtx, 0);
|
||||||
return PH7_OK;
|
return PH7_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue