Fossil SCM

Fix the "all" command on mac, broken by the penultimate check-in.

drh 2012-11-29 18:39 trunk
Commit 2f187c2f222dd9f92583c87b81282a18482832c5
1 file changed +1
+1
--- src/main.c
+++ src/main.c
@@ -495,10 +495,11 @@
495495
GetModuleFileNameW(NULL, buf, MAX_PATH);
496496
g.nameOfExe = fossil_filename_to_utf8(buf);
497497
for(i=0; i<g.argc; i++) g.argv[i] = fossil_filename_to_utf8(g.argv[i]);
498498
#elif defined(__APPLE__)
499499
for(i=0; i<g.argc; i++) g.argv[i] = fossil_filename_to_utf8(g.argv[i]);
500
+ g.nameOfExe = g.argv[0];
500501
#else
501502
g.nameOfExe = g.argv[0];
502503
#endif
503504
for(i=1; i<g.argc-1; i++){
504505
z = g.argv[i];
505506
--- src/main.c
+++ src/main.c
@@ -495,10 +495,11 @@
495 GetModuleFileNameW(NULL, buf, MAX_PATH);
496 g.nameOfExe = fossil_filename_to_utf8(buf);
497 for(i=0; i<g.argc; i++) g.argv[i] = fossil_filename_to_utf8(g.argv[i]);
498 #elif defined(__APPLE__)
499 for(i=0; i<g.argc; i++) g.argv[i] = fossil_filename_to_utf8(g.argv[i]);
 
500 #else
501 g.nameOfExe = g.argv[0];
502 #endif
503 for(i=1; i<g.argc-1; i++){
504 z = g.argv[i];
505
--- src/main.c
+++ src/main.c
@@ -495,10 +495,11 @@
495 GetModuleFileNameW(NULL, buf, MAX_PATH);
496 g.nameOfExe = fossil_filename_to_utf8(buf);
497 for(i=0; i<g.argc; i++) g.argv[i] = fossil_filename_to_utf8(g.argv[i]);
498 #elif defined(__APPLE__)
499 for(i=0; i<g.argc; i++) g.argv[i] = fossil_filename_to_utf8(g.argv[i]);
500 g.nameOfExe = g.argv[0];
501 #else
502 g.nameOfExe = g.argv[0];
503 #endif
504 for(i=1; i<g.argc-1; i++){
505 z = g.argv[i];
506

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button