Changeset 44882 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Mar 1, 2013 10:15:18 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c
r44879 r44882 109 109 #define _IS_UTF8(_str) \ 110 110 (strcmp(_str, "utf8") == 0) 111 #define _IS_EMPTY(_str) \ 112 (strcmp(_str, "") == 0) 113 111 114 /* Check if NLS charset is valid and not points to UTF8 table */ 112 115 if (info->nls_name[0]) … … 130 133 /* If no NLS charset specified, try to load the default 131 134 * one if it's not points to UTF8. */ 132 if (!_IS_UTF8(CONFIG_NLS_DEFAULT) && CONFIG_NLS_DEFAULT != "")135 if (!_IS_UTF8(CONFIG_NLS_DEFAULT) && !_IS_EMPTY(CONFIG_NLS_DEFAULT)) 133 136 sf_g->nls = load_nls_default(); 134 137 else 135 #endif136 138 sf_g->nls = NULL; 137 138 } 139 #else 140 sf_g->nls = NULL; 141 #endif 142 139 143 #undef _IS_UTF8 144 #undef _IS_EMPTY 145 } 140 146 141 147 rc = vboxCallMapFolder(&client_handle, str_name, &sf_g->map);
Note:
See TracChangeset
for help on using the changeset viewer.