aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac.c
diff options
context:
space:
mode:
authorMiles Bader2007-08-03 05:27:43 +0000
committerMiles Bader2007-08-03 05:27:43 +0000
commit49b23c2a404cf31fb1aeecc7932a7304aaf16a67 (patch)
tree259f81c54acb77cd4aeb47ce88e5e56ff7141a99 /src/mac.c
parent9899d01a0ccec166e04caa60657a44e614be50cd (diff)
parent4211679b08d6a9c369cb22f085b9bb61d5d4eeda (diff)
downloademacs-49b23c2a404cf31fb1aeecc7932a7304aaf16a67.tar.gz
emacs-49b23c2a404cf31fb1aeecc7932a7304aaf16a67.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 839-842) - Update from CVS - Change capitalization of VC backend names for new backends Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-29
Diffstat (limited to 'src/mac.c')
-rw-r--r--src/mac.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mac.c b/src/mac.c
index a64c3d208e3..e81db1479b9 100644
--- a/src/mac.c
+++ b/src/mac.c
@@ -5318,8 +5318,8 @@ init_mac_osx_environment ()
5318 /* P should have sufficient room for the pathname of the bundle plus 5318 /* P should have sufficient room for the pathname of the bundle plus
5319 the subpath in it leading to the respective directories. Q 5319 the subpath in it leading to the respective directories. Q
5320 should have three times that much room because EMACSLOADPATH can 5320 should have three times that much room because EMACSLOADPATH can
5321 have the value "<path to lisp dir>:<path to leim dir>:<path to 5321 have the value "<path to site-lisp dir>:<path to lisp dir>:<path
5322 site-lisp dir>". */ 5322 to leim dir>". */
5323 p = (char *) alloca (app_bundle_pathname_len + 50); 5323 p = (char *) alloca (app_bundle_pathname_len + 50);
5324 q = (char *) alloca (3 * app_bundle_pathname_len + 150); 5324 q = (char *) alloca (3 * app_bundle_pathname_len + 150);
5325 if (!getenv ("EMACSLOADPATH")) 5325 if (!getenv ("EMACSLOADPATH"))
@@ -5327,12 +5327,12 @@ init_mac_osx_environment ()
5327 q[0] = '\0'; 5327 q[0] = '\0';
5328 5328
5329 strcpy (p, app_bundle_pathname); 5329 strcpy (p, app_bundle_pathname);
5330 strcat (p, "/Contents/Resources/lisp"); 5330 strcat (p, "/Contents/Resources/site-lisp");
5331 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) 5331 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
5332 strcat (q, p); 5332 strcat (q, p);
5333 5333
5334 strcpy (p, app_bundle_pathname); 5334 strcpy (p, app_bundle_pathname);
5335 strcat (p, "/Contents/Resources/leim"); 5335 strcat (p, "/Contents/Resources/lisp");
5336 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) 5336 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
5337 { 5337 {
5338 if (q[0] != '\0') 5338 if (q[0] != '\0')
@@ -5341,7 +5341,7 @@ init_mac_osx_environment ()
5341 } 5341 }
5342 5342
5343 strcpy (p, app_bundle_pathname); 5343 strcpy (p, app_bundle_pathname);
5344 strcat (p, "/Contents/Resources/site-lisp"); 5344 strcat (p, "/Contents/Resources/leim");
5345 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) 5345 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
5346 { 5346 {
5347 if (q[0] != '\0') 5347 if (q[0] != '\0')