Removing xExec.
The build was successful.
Details
The build was successful.
Details
First of all, VFS is not a right place for this, finally it was not implemented anyway.
This commit is contained in:
parent
03a5b7e397
commit
c83d6e13fc
|
@ -5732,8 +5732,7 @@ static const ph7_vfs null_vfs = {
|
|||
0, /* unsigned int (*xProcessId)(void) */
|
||||
0, /* int (*xUid)(void) */
|
||||
0, /* int (*xGid)(void) */
|
||||
0, /* void (*xUsername)(ph7_context *) */
|
||||
0 /* int (*xExec)(const char *,ph7_context *) */
|
||||
0 /* void (*xUsername)(ph7_context *) */
|
||||
};
|
||||
#ifndef PH7_DISABLE_BUILTIN_FUNC
|
||||
#ifndef PH7_DISABLE_DISK_IO
|
||||
|
@ -6566,8 +6565,7 @@ static const ph7_vfs sWinVfs = {
|
|||
WinVfs_ProcessId, /* unsigned int (*xProcessId)(void) */
|
||||
0, /* int (*xUid)(void) */
|
||||
0, /* int (*xGid)(void) */
|
||||
WinVfs_Username, /* void (*xUsername)(ph7_context *) */
|
||||
0 /* int (*xExec)(const char *,ph7_context *) */
|
||||
WinVfs_Username /* void (*xUsername)(ph7_context *) */
|
||||
};
|
||||
/* Windows file IO */
|
||||
#ifndef INVALID_SET_FILE_POINTER
|
||||
|
@ -7498,8 +7496,7 @@ static const ph7_vfs sUnixVfs = {
|
|||
UnixVfs_ProcessId, /* unsigned int (*xProcessId)(void) */
|
||||
UnixVfs_uid, /* int (*xUid)(void) */
|
||||
UnixVfs_gid, /* int (*xGid)(void) */
|
||||
UnixVfs_Username, /* void (*xUsername)(ph7_context *) */
|
||||
0 /* int (*xExec)(const char *,ph7_context *) */
|
||||
UnixVfs_Username /* void (*xUsername)(ph7_context *) */
|
||||
};
|
||||
/* UNIX File IO */
|
||||
#define PH7_UNIX_OPEN_MODE 0640 /* Default open mode */
|
||||
|
|
|
@ -514,7 +514,6 @@ struct ph7_vfs {
|
|||
int (*xUid)(void); /* user ID of the process */
|
||||
int (*xGid)(void); /* group ID of the process */
|
||||
void (*xUsername)(ph7_context *); /* Running username */
|
||||
int (*xExec)(const char *, ph7_context *); /* Execute an external program */
|
||||
};
|
||||
/* Current PH7 IO stream structure version. */
|
||||
#define PH7_IO_STREAM_VERSION 1
|
||||
|
|
Loading…
Reference in New Issue