Changeset 443 for branches/client-1.6/src
- Timestamp:
- Apr 20, 2010, 6:37:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/client-1.6/src/smbwrp.c
r441 r443 1066 1066 ****************************************************************************/ 1067 1067 // YD from libsmb\clilist.c 1068 // @todo def_finfo is not available anymore, probably the complete function needs more work1069 // in the longrun we have toswitch to file_info struct instead of our own smbwrp_fileinfo1068 // @todo 1069 // in the longrun we should switch to file_info struct instead of our own smbwrp_fileinfo 1070 1070 1071 1071 static size_t _os2_interpret_long_filename(struct cli_state *cli, … … 1073 1073 uint32 *p_resume_key, DATA_BLOB *p_last_name_raw, uint32 *p_last_name_raw_len) 1074 1074 { 1075 extern file_info def_finfo;1076 1075 int len; 1077 1076 char *base = p; … … 1084 1083 } 1085 1084 1086 finfo->attr = def_finfo.mode; 1087 finfo->mtime = def_finfo.mtime_ts.tv_sec; 1088 finfo->atime = def_finfo.atime_ts.tv_sec; 1089 finfo->ctime = def_finfo.ctime_ts.tv_sec; 1090 strncpy(finfo->fname, def_finfo.name, sizeof(finfo->fname) - 1); 1091 debuglocal(9,"fname %s (serverzone %d, level %d)\n",finfo->fname, cli->serverzone, level); 1085 ZERO_STRUCT(finfo); 1086 debuglocal(9,"fname %s (serverzone %d, level %d)\n",finfo->fname, cli->serverzone, level); 1092 1087 1093 1088 switch (level) {
Note:
See TracChangeset
for help on using the changeset viewer.