Ignore:
Timestamp:
Jun 4, 2010, 3:11:43 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: merged changes from 3.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/smbd/trans2.c

    r414 r454  
    128128
    129129        pea->flags = 0;
     130#ifndef __OS2__
    130131        if (strnequal(ea_name, "user.", 5)) {
    131132                pea->name = talloc_strdup(mem_ctx, &ea_name[5]);
    132133        } else {
     134#else
     135                {
     136#endif
    133137                pea->name = talloc_strdup(mem_ctx, ea_name);
    134138        }
     
    287291                fstring dos_ea_name;
    288292
     293#ifndef __OS2__
    289294                if (strnequal(names[i], "system.", 7)
    290295                    || samba_private_attr_name(names[i]))
     296#else
     297                if (samba_private_attr_name(names[i]))
     298#endif
    291299                        continue;
    292300
     
    492500                fstring unix_ea_name;
    493501
     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
    494506                fstrcpy(unix_ea_name, "user."); /* All EA's must start with user. */
    495507                fstrcat(unix_ea_name, ea_list->ea.name);
     508#endif
    496509
    497510                canonicalize_ea_name(conn, fsp, fname, unix_ea_name);
     
    54545467        }
    54555468
     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
    54565476        DEBUG(10,("smb_set_file_time: setting utimes to modified values.\n"));
    54575477
     
    54635483                return map_nt_error_from_unix(errno);
    54645484        }
     5485#ifdef __OS2__
     5486        }
     5487#endif
    54655488
    54665489        notify_fname(conn, NOTIFY_ACTION_MODIFIED, action,
Note: See TracChangeset for help on using the changeset viewer.