Changeset 243


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

Fix for Ticket #41 in 3.2 branch

File:
1 edited

Legend:

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

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