Changeset 490 for trunk/launch
- Timestamp:
- 02/15/09 04:44:59 (16 years ago)
- Location:
- trunk/launch/launch
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/launch/launch/README
r477 r490 226 226 - updated error codes for Mac OS X 10.4 227 227 - read Info.plists embedded in all Mach-O binaries (e.g. hdiutil) 228 - display alias targets 228 229 1.1 - 30 October 2006 229 230 - -L: send "launch" (ascr/noop) event to app, bypasses automatic -
trunk/launch/launch/VERSION
r477 r490 1 1.1.1d 21 1.1.1d3 -
trunk/launch/launch/main.c
r477 r490 3 3 Nicholas Riley <launchsw@sabi.net> 4 4 5 Copyright (c) 2001-0 8, Nicholas Riley5 Copyright (c) 2001-09, Nicholas Riley 6 6 All rights reserved. 7 7 … … 37 37 const char *APP_NAME; 38 38 39 #define VERSION "1.1.1d 2"39 #define VERSION "1.1.1d3" 40 40 41 41 #define STRBUF_LEN 1024 … … 135 135 "'document' may be a file, folder, or disk - whatever the application can open.\n" 136 136 "'item' may be a file, folder, disk, or URL.\n\n"); 137 fprintf(stderr, "launch "VERSION" (c) 2001-0 6Nicholas Riley <http://web.sabi.net/nriley/software/>.\n"137 fprintf(stderr, "launch "VERSION" (c) 2001-09 Nicholas Riley <http://web.sabi.net/nriley/software/>.\n" 138 138 "Please send bugs, suggestions, etc. to <launchsw@sabi.net>.\n"); 139 139 … … 901 901 printMoreInfoForRef(fsr); 902 902 } 903 904 // alias target (note: may modify fsr and url) 905 if (info.flags & kLSItemInfoIsAliasFile && haveFSRef) { 906 Boolean targetIsFolder, wasAliased; 907 err = FSResolveAliasFileWithMountFlags(&fsr, false, &targetIsFolder, &wasAliased, kResolveAliasFileNoUI); 908 if (err != noErr) 909 printf("\t[can't resolve alias: %s]\n", osstatusstr(err)); 910 else if (wasAliased) { 911 url = CFURLCreateFromFSRef(NULL, &fsr); 912 if (url != NULL) { 913 printf("\ttarget: "); 914 printPathFromURL(url, stdout); 915 CFRelease(url); 916 } 917 } 918 } 903 919 } 904 920
Note:
See TracChangeset
for help on using the changeset viewer.