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

Diff of /trunk/src/rc.c

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

Revision 3006 Revision 3007
483 execl ("/sbin/halt", "/sbin/halt", "-f", (char *) NULL); 483 execl ("/sbin/halt", "/sbin/halt", "-f", (char *) NULL);
484 eerrorx ("%s: unable to exec `/sbin/halt': %s", applet, strerror (errno)); 484 eerrorx ("%s: unable to exec `/sbin/halt': %s", applet, strerror (errno));
485 } 485 }
486#endif 486#endif
487 487
488 newenv = rc_env_filter (); 488 newenv = env_filter ();
489 489
490 if (cont) { 490 if (cont) {
491 int status = 0; 491 int status = 0;
492#ifdef __linux__ 492#ifdef __linux__
493 char *tty = ttyname (fileno (stdout)); 493 char *tty = ttyname (fileno (stdout));
837 signal (SIGTERM, handle_signal); 837 signal (SIGTERM, handle_signal);
838 signal (SIGUSR1, handle_signal); 838 signal (SIGUSR1, handle_signal);
839 839
840 /* Ensure our environment is pure 840 /* Ensure our environment is pure
841 Also, add our configuration to it */ 841 Also, add our configuration to it */
842 env = rc_env_filter (); 842 env = env_filter ();
843 tmplist = rc_env_config (); 843 tmplist = env_config ();
844 rc_strlist_join (&env, tmplist); 844 rc_strlist_join (&env, tmplist);
845 rc_strlist_free (tmplist); 845 rc_strlist_free (tmplist);
846 846
847 if (env) { 847 if (env) {
848 char *p; 848 char *p;

Legend:
Removed from v.3006  
changed lines
  Added in v.3007

  ViewVC Help
Powered by ViewVC 1.1.20