Changeset 244


Ignore:
Timestamp:
May 30, 2009, 11:20:03 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Fix for Ticket #41 in 3.3 branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/samba-3.3.x/source/smbd/dosmode.c

    r223 r244  
    221221                                ) {
    222222#endif
    223                         DEBUG(1,("get_ea_dos_attributes: Cannot get attribute from EA on file %s: Error = %s\n",
    224                                 path, strerror(errno) ));
     223#ifndef __OS2__
     224                        DEBUG(1,("get_ea_dos_attributes: Cannot get attribute from EA on file %s: Error = %s\n",
     225                                path, strerror(errno) ));
     226#else
     227                        // HB On OS/2 no error in case of ./.. and errno == 2
     228                        if ((strncmp(path,"./..",4) != 0) || (errno != 2)) {
     229                                DEBUG(1,("get_ea_dos_attributes: Cannot get attribute from EA on file %s: Error = %s\n",
     230                                        path, strerror(errno) ));
     231
     232                        }
     233#endif
    225234                        set_store_dos_attributes(SNUM(conn), False);
    226235                }
Note: See TracChangeset for help on using the changeset viewer.