Changeset 16894 in vbox
- Timestamp:
- Feb 18, 2009 12:04:48 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 43014
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDLMain-darwin.m
r5493 r16894 10 10 #import <sys/param.h> /* for MAXPATHLEN */ 11 11 #import <unistd.h> 12 #import <iprt/assert.h> 12 13 13 14 /* For some reaon, Apple removed setAppleMenu from the headers in 10.4, … … 91 92 CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url); 92 93 if (CFURLGetFileSystemRepresentation(url2, true, (UInt8 *)parentdir, MAXPATHLEN)) { 93 assert ( chdir (parentdir) == 0 ); /* chdir to the binary app's parent */ 94 int rc = chdir(parentdir); /* chdir to the binary app's parent */ 95 Assert(rc == 0); 94 96 } 95 97 CFRelease(url);
Note:
See TracChangeset
for help on using the changeset viewer.