aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-13 07:17:59 +0000
committerRichard M. Stallman1994-05-13 07:17:59 +0000
commita422068f596fa6cc2cde778d5eb28d4e69244587 (patch)
treeb6486eabe6bd0e27ae7a856ed0ef3e50ec983173 /src
parentb1fc21c5c374541453429803e9bfa7ace3c82d65 (diff)
downloademacs-a422068f596fa6cc2cde778d5eb28d4e69244587.tar.gz
emacs-a422068f596fa6cc2cde778d5eb28d4e69244587.zip
(main): PRIO_PROCESS renamed to SET_EMACS_PRIORITY.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 56d4ecf1409..42aff9fb9d9 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -452,11 +452,11 @@ main (argc, argv, envp)
452 (stderr)->_flag &= ~_IOTEXT; 452 (stderr)->_flag &= ~_IOTEXT;
453#endif /* MSDOS */ 453#endif /* MSDOS */
454 454
455#ifdef PRIO_PROCESS 455#ifdef SET_EMACS_PRIORITY
456 if (emacs_priority) 456 if (emacs_priority)
457 nice (emacs_priority); 457 nice (emacs_priority);
458 setuid (getuid ()); 458 setuid (getuid ());
459#endif /* PRIO_PROCESS */ 459#endif /* SET_EMACS_PRIORITY */
460 460
461#ifdef EXTRA_INITIALIZE 461#ifdef EXTRA_INITIALIZE
462 EXTRA_INITIALIZE; 462 EXTRA_INITIALIZE;
@@ -1025,7 +1025,7 @@ expect to be able to interact with the user.");
1025This value is effective only if set before Emacs is dumped,\n\ 1025This value is effective only if set before Emacs is dumped,\n\
1026and only if the Emacs executable is installed with setuid to permit\n\ 1026and only if the Emacs executable is installed with setuid to permit\n\
1027it to change priority. (Emacs sets its uid back to the real uid.)\n\ 1027it to change priority. (Emacs sets its uid back to the real uid.)\n\
1028Currently, you need to define PRIO_PROCESS in `config.h'\n\ 1028Currently, you need to define SET_EMACS_PRIORITY in `config.h'\n\
1029before you compile Emacs, to enable the code for this feature."); 1029before you compile Emacs, to enable the code for this feature.");
1030 emacs_priority = 0; 1030 emacs_priority = 0;
1031 1031