Changeset 492

Show
Ignore:
Timestamp:
08/11/07 12:18:55 (1 year ago)
Author:
takkaria
Message:

Fix problems on OS X reported by Al Phillips.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main-crb.c

    r469 r492  
    37453745 
    37463746        /* Attempt to open and close that file */ 
    3747         if (0 != fd_close(fd_open(path, O_RDONLY))) 
     3747        if (!file_exists(path)) 
    37483748        { 
    37493749                /* Warning */ 
  • trunk/src/z-file.c

    r491 r492  
    452452 
    453453                if (ftype == FTYPE_RAW) mac_type = 'DATA'; 
    454                 else if (ftype == TYPE_SAVE) mac_type = 'SAVE'; 
     454                else if (ftype == FTYPE_SAVE) mac_type = 'SAVE'; 
    455455 
    456456                fsetfileinfo(buf, 'A271', ftype);