Show
Ignore:
Timestamp:
11/20/07 23:45:14 (1 year ago)
Author:
daboo
Message:

Merge of win32-merge branch.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Mulberry/trunk/Sources_Common/Calendar_Store/Clients/CLocalCalendarClient.cpp

    r19 r143  
    263263                if (__mkdir(fpath, S_IRWXU)) 
    264264                { 
    265                         int _errno = os_errno; 
     265                        int my_errno = os_errno; 
    266266                        //throw CGeneralException(_errno, "Could not create directory"); 
    267                         throw CGeneralException(_errno); 
     267                        throw CGeneralException(my_errno); 
    268268                } 
    269269        } 
     
    275275                else 
    276276                { 
    277                         int _errno = os_errno; 
     277                        int my_errno = os_errno; 
    278278                        //throw CGeneralException(_errno, "Could not create calendar file"); 
    279                         throw CGeneralException(_errno); 
     279                        throw CGeneralException(my_errno); 
    280280                } 
    281281                 
     
    320320                if (::delete_dir(fpath) != 0) 
    321321                { 
    322                         int _errno = os_errno; 
     322                        int my_errno = os_errno; 
    323323                        //throw CGeneralException(_errno, "Could not delete directory"); 
    324                         throw CGeneralException(_errno); 
     324                        throw CGeneralException(my_errno); 
    325325                } 
    326326        } 
     
    336336                if (::remove_utf8(fpath) != 0) 
    337337                { 
    338                         int _errno = os_errno; 
     338                        int my_errno = os_errno; 
    339339                        //throw CGeneralException(_errno, "Could not delete calendar file"); 
    340                         throw CGeneralException(_errno); 
     340                        throw CGeneralException(my_errno); 
    341341                } 
    342342                 
     
    383383                if (::rename_utf8(fpath_old, fpath_new) != 0) 
    384384                { 
    385                         int _errno = os_errno; 
     385                        int my_errno = os_errno; 
    386386                        //throw CGeneralException(_errno, "Could not rename directory"); 
    387                         throw CGeneralException(_errno); 
     387                        throw CGeneralException(my_errno); 
    388388                } 
    389389        } 
     
    406406                if (::rename_utf8(fpath_old, fpath_new) != 0) 
    407407                { 
    408                         int _errno = os_errno; 
     408                        int my_errno = os_errno; 
    409409                        //throw CGeneralException(_errno, "Could not rename calendar file"); 
    410                         throw CGeneralException(_errno); 
     410                        throw CGeneralException(my_errno); 
    411411                } 
    412412                 
     
    498498                if (::stat_utf8(fpath, &finfo)) 
    499499                { 
    500                         int err_no = os_errno; 
    501                         CLOG_LOGTHROW(CGeneralException, err_no); 
    502                         throw CGeneralException(err_no); 
     500                        int my_errno = os_errno; 
     501                        CLOG_LOGTHROW(CGeneralException, my_errno); 
     502                        throw CGeneralException(my_errno); 
    503503                } 
    504504                else