Apply patch: ncpfs-hg-commit-431.patch

This commit is contained in:
Mario Fetka
2026-04-28 20:56:03 +02:00
parent b417a518c5
commit 4d94ea705a
96 changed files with 3398 additions and 431 deletions

View File

@@ -34,9 +34,9 @@ struct ncp_mount_data_independent {
int message_fd;
uid_t mounted_uid;
struct sockaddr_ipx serv_addr;
unsigned char *server_name;
unsigned char *mount_point;
const unsigned char *mounted_vol;
char *server_name;
char *mount_point;
const char *mounted_vol;
unsigned int time_out;
unsigned int retry_count;
struct {

View File

@@ -30,10 +30,10 @@ struct ncp_mount_data_v2 {
__ker20_uid_t mounted_uid; /* Who may umount() this filesystem? */
struct sockaddr_ipx serv_addr;
unsigned char server_name[NCP_BINDERY_NAME_LEN];
char server_name[NCP_BINDERY_NAME_LEN];
unsigned char mount_point[PATH_MAX_V20+1];
unsigned char mounted_vol[NCP_VOLNAME_LEN+1];
char mount_point[PATH_MAX_V20+1];
char mounted_vol[NCP_VOLNAME_LEN+1];
unsigned int time_out; /* How long should I wait after
sending a NCP request? */
@@ -64,7 +64,7 @@ struct ncp_mount_data_v3 {
__ker21_uid_t mounted_uid; /* Who may umount() this filesystem? */
__ker21_pid_t wdog_pid; /* Who cares for our watchdog packets? */
unsigned char mounted_vol[NCP_VOLNAME_LEN + 1];
char mounted_vol[NCP_VOLNAME_LEN + 1];
unsigned int time_out; /* How long should I wait after
sending a NCP request? */
unsigned int retry_count; /* And how often should I retry? */