Changeset 454 for trunk/server/source3/smbd/trans2.c
- Timestamp:
- Jun 4, 2010, 3:11:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/smbd/trans2.c
r414 r454 128 128 129 129 pea->flags = 0; 130 #ifndef __OS2__ 130 131 if (strnequal(ea_name, "user.", 5)) { 131 132 pea->name = talloc_strdup(mem_ctx, &ea_name[5]); 132 133 } else { 134 #else 135 { 136 #endif 133 137 pea->name = talloc_strdup(mem_ctx, ea_name); 134 138 } … … 287 291 fstring dos_ea_name; 288 292 293 #ifndef __OS2__ 289 294 if (strnequal(names[i], "system.", 7) 290 295 || samba_private_attr_name(names[i])) 296 #else 297 if (samba_private_attr_name(names[i])) 298 #endif 291 299 continue; 292 300 … … 492 500 fstring unix_ea_name; 493 501 502 #ifdef __OS2__ 503 /* All EA's must start with user - except on OS/2 */ 504 fstrcpy(unix_ea_name, ea_list->ea.name); 505 #else 494 506 fstrcpy(unix_ea_name, "user."); /* All EA's must start with user. */ 495 507 fstrcat(unix_ea_name, ea_list->ea.name); 508 #endif 496 509 497 510 canonicalize_ea_name(conn, fsp, fname, unix_ea_name); … … 5454 5467 } 5455 5468 5469 #ifdef __OS2__ 5470 /* YD ticket#60, the file is opened, we cannot write to it, 5471 * so we can return immediately (see above for more comments). 5472 */ 5473 else { 5474 #endif 5475 5456 5476 DEBUG(10,("smb_set_file_time: setting utimes to modified values.\n")); 5457 5477 … … 5463 5483 return map_nt_error_from_unix(errno); 5464 5484 } 5485 #ifdef __OS2__ 5486 } 5487 #endif 5465 5488 5466 5489 notify_fname(conn, NOTIFY_ACTION_MODIFIED, action,
Note:
See TracChangeset
for help on using the changeset viewer.