]>
Commit | Line | Data |
---|---|---|
af331330 | 1 | diff -ur o-System/Applications/Preferences/main.m System/Applications/Preferences/main.m |
2 | --- o-System/Applications/Preferences/main.m 2003-07-09 13:31:58.000000000 -0600 | |
3 | +++ System/Applications/Preferences/main.m 2005-03-27 12:20:15.000000000 -0700 | |
4 | @@ -6,8 +6,14 @@ | |
5 | ||
6 | #include <AppKit/NSApplication.h> | |
7 | #include <Foundation/NSBundle.h> | |
8 | +#include <Foundation/NSBundle.h> | |
9 | +#include <Foundation/NSProcessInfo.h> | |
10 | ||
11 | -int main (int argc, const char *argv[], const char *env[]) | |
12 | +int main (int argc, const char *argv[], char *env[]) | |
13 | { | |
14 | +#ifdef GS_PASS_ARGUMENTS | |
15 | + [NSProcessInfo initializeWithArguments: argv count: argc environment: env]; | |
16 | +#endif | |
17 | + | |
18 | return NSApplicationMain (argc, argv); | |
19 | } | |
20 | Only in System/Applications/Preferences/Modules/Colors: Colors.prefs | |
21 | Only in System/Applications/Preferences/Modules/Colors: obj | |
22 | Only in System/Applications/Preferences/Modules/Colors: shared_obj | |
23 | Only in System/Applications/Preferences/Modules/Defaults: Defaults.prefs | |
24 | Only in System/Applications/Preferences/Modules/Defaults: obj | |
25 | Only in System/Applications/Preferences/Modules/Defaults: shared_obj | |
26 | Only in System/Applications/Preferences/Modules/Font: Font.prefs | |
27 | Only in System/Applications/Preferences/Modules/Font: obj | |
28 | Only in System/Applications/Preferences/Modules/Font: shared_obj | |
29 | Only in System/Applications/Preferences/Modules/Keyboard: Keyboard.prefs | |
30 | Only in System/Applications/Preferences/Modules/Keyboard: obj | |
31 | Only in System/Applications/Preferences/Modules/Keyboard: shared_obj | |
32 | Only in System/Applications/Preferences/Modules/Time: obj | |
33 | Only in System/Applications/Preferences/Modules/Time: shared_obj | |
34 | Only in System/Applications/Preferences/Modules/Time: Time.prefs | |
35 | Only in System/Applications/Preferences: obj | |
36 | Only in System/Applications/Preferences: Preferences.app | |
37 | Only in System/Applications/Preferences: shared_obj | |
38 | diff -ur o-System/Applications/Terminal/main.m System/Applications/Terminal/main.m | |
39 | --- o-System/Applications/Terminal/main.m 2003-11-25 08:51:54.000000000 -0700 | |
40 | +++ System/Applications/Terminal/main.m 2005-03-27 11:30:33.000000000 -0700 | |
41 | @@ -491,9 +491,12 @@ | |
42 | @end | |
43 | ||
44 | ||
45 | -int main(int argc, char **argv) | |
46 | +int main(int argc, char **argv, char **env) | |
47 | { | |
48 | CREATE_AUTORELEASE_POOL(arp); | |
49 | +#ifdef GS_PASS_ARGUMENTS | |
50 | + [NSProcessInfo initializeWithArguments: argv count: argc environment: env]; | |
51 | +#endif | |
52 | ||
53 | /* [NSObject enableDoubleReleaseCheck: YES];*/ | |
54 | ||
55 | diff -ur o-System/Applications/TextEdit/Edit_main.m System/Applications/TextEdit/Edit_main.m | |
56 | --- o-System/Applications/TextEdit/Edit_main.m 2004-05-25 10:19:21.000000000 -0600 | |
57 | +++ System/Applications/TextEdit/Edit_main.m 2005-03-27 11:30:33.000000000 -0700 | |
58 | @@ -1,5 +1,10 @@ | |
59 | #import <AppKit/NSApplication.h> | |
60 | +#import <Foundation/NSProcessInfo.h> | |
61 | + | |
62 | +int main(int argc, char *argv[], char *env[]) { | |
63 | +#ifdef GS_PASS_ARGUMENTS | |
64 | + [NSProcessInfo initializeWithArguments: argv count: argc environment: env]; | |
65 | +#endif | |
66 | ||
67 | -int main(int argc, const char *argv[]) { | |
68 | return NSApplicationMain (argc, argv); | |
69 | } | |
70 | Only in System/Frameworks/PrefsModule: derived_src | |
71 | Only in System/Frameworks/PrefsModule: obj | |
72 | Only in System/Frameworks/PrefsModule: PrefsModule.framework | |
73 | Only in System/Frameworks/PrefsModule: shared_obj |