# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1320283157 0 # Node ID 7527fb644bc080dc00d210cd89a4cb55bac72c01 # Parent 9c8de9cccc07fc410b73f1ece1d9e32bbd1c4768 Only use default directory and filename options for Mac 10.6 and higher. diff -r 9c8de9cccc07 -r 7527fb644bc0 mac/dw.m --- a/mac/dw.m Tue Nov 01 21:57:19 2011 +0000 +++ b/mac/dw.m Thu Nov 03 01:19:17 2011 +0000 @@ -3129,8 +3129,10 @@ char temp[PATH_MAX+1]; char *file = NULL, *path = NULL; - /* Figure out path information */ - if(defpath) + /* Figure out path information... + * These functions are only support in Snow Leopard and later... + */ + if(defpath && DWOSMinor > 5) { struct stat buf;