/[baselayout]/trunk/src/rc.c
Gentoo

Diff of /trunk/src/rc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2978 Revision 2981
484 execl ("/sbin/halt", "/sbin/halt", "-f", (char *) NULL); 484 execl ("/sbin/halt", "/sbin/halt", "-f", (char *) NULL);
485 eerrorx ("%s: unable to exec `/sbin/halt': %s", applet, strerror (errno)); 485 eerrorx ("%s: unable to exec `/sbin/halt': %s", applet, strerror (errno));
486 } 486 }
487#endif 487#endif
488 488
489 newenv = rc_filter_env (); 489 newenv = rc_env_filter ();
490 490
491 if (cont) { 491 if (cont) {
492 int status = 0; 492 int status = 0;
493#ifdef __linux__ 493#ifdef __linux__
494 char *tty = ttyname (fileno (stdout)); 494 char *tty = ttyname (fileno (stdout));
821 signal (SIGTERM, handle_signal); 821 signal (SIGTERM, handle_signal);
822 signal (SIGUSR1, handle_signal); 822 signal (SIGUSR1, handle_signal);
823 823
824 /* Ensure our environment is pure 824 /* Ensure our environment is pure
825 Also, add our configuration to it */ 825 Also, add our configuration to it */
826 env = rc_filter_env (); 826 env = rc_env_filter ();
827 tmplist = rc_make_env (); 827 tmplist = rc_env_config ();
828 rc_strlist_join (&env, tmplist); 828 rc_strlist_join (&env, tmplist);
829 rc_strlist_free (tmplist); 829 rc_strlist_free (tmplist);
830 830
831 if (env) { 831 if (env) {
832 char *p; 832 char *p;

Legend:
Removed from v.2978  
changed lines
  Added in v.2981

  ViewVC Help
Powered by ViewVC 1.1.20