mirror of
https://github.com/obarthel/amiga-smbfs.git
synced 2025-12-08 14:58:35 +00:00
Rollback of all changes made for smbfs 2.23
The proof of concept implementation of mapping the original UTF16LE-encoded path names to hashed versions in the ISO-Latin-1 encoded space did not scale well and would invariably leak memory because there is no safe way to determine whether such a mapping was no longer needed. There appears to be no way to make this work robustly. So, sadly, I removed Tygre's implementation. We are back to square one with mapping UTF16LE-encoded path names, and also with mapping file/directory names longer than 107 characters (Windows names can be up to 127 characters long).
This commit is contained in:
@@ -18,8 +18,6 @@
|
||||
#include <smb/smb_mount.h>
|
||||
#endif /* _SMB_MOUNT_H */
|
||||
|
||||
#include "kvs.h"
|
||||
|
||||
struct smb_server
|
||||
{
|
||||
enum smb_protocol protocol; /* The protocol this
|
||||
@@ -90,10 +88,6 @@ struct smb_server
|
||||
|
||||
/* olsen (2018-06-11): Prefer SMB core protocol commands over NT1 commands. */
|
||||
int prefer_core_protocol;
|
||||
|
||||
// Tygre 21/05/15: Stores for UTF16le strings and their sizes
|
||||
KVSstore *latin1_to_utf16le_bytes;
|
||||
KVSstore *latin1_to_utf16le_sizes;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user