Changeset 173


Ignore:
Timestamp:
Apr 14, 2009, 5:04:26 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Fix for Ticket #41

File:
1 edited

Legend:

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

    r165 r173  
    235235#if defined(ENOTSUP) && defined(ENOATTR)
    236236                if ((errno != ENOTSUP) && (errno != ENOATTR) && (errno != EACCES) && (errno != EPERM)) {
     237#ifndef __OS2__
    237238                        DEBUG(1,("get_ea_dos_attributes: Cannot get attribute from EA on file %s: Error = %s\n",
    238239                                path, strerror(errno) ));
     240#else
     241                        // HB On OS/2 no error in case of ./.. and errno == 2
     242                        if ((strncmp(path,"./..",4) != 0) || (errno != 2)) {
     243                                DEBUG(1,("get_ea_dos_attributes: Cannot get attribute from EA on file %s: Error = %s, nr = %d\n",
     244                                        path, strerror(errno), errno ));
     245                        }
     246#endif
    239247                        set_store_dos_attributes(SNUM(conn), False);
    240248                }
Note: See TracChangeset for help on using the changeset viewer.