document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. void
  2. initialize_shell_variables (env, privmode)
  3.      char **env;
  4.      int privmode;
  5. {
  6.  
  7.     []
  8.  
  9.       /* If exported function, define it now.  Don\'t import functions from
  10.          the environment in privileged mode. */
  11.       if (privmode == 0 && read_but_dont_execute == 0 && STREQN ("() {", string, 4))
  12.         {
  13.           string_length = strlen (string);
  14.           temp_string = (char *)xmalloc (3 + string_length + char_index);
  15.  
  16.           strcpy (temp_string, name);
  17.           temp_string[char_index] = \' \';
  18.           strcpy (temp_string + char_index + 1, string);
  19.  
  20.           if (posixly_correct == 0 || legal_identifier (name))
  21.             parse_and_execute (temp_string, name, SEVAL_NONINT|SEVAL_NOHIST);
  22.  
  23.     []
  24. }
');