rem: x.stdin_tty = 1;
add: x.stdin_tty = true;
context: main (int argc, char **argv){  struct rm_options x;  int fail = 0;  int c;  program_name = argv[0];  setlocale (LC_ALL, "");  bindtextdomain (PACKAGE, LOCALEDIR);  textdomain (PACKAGE);  atexit (close_stdout);  rm_option_init (&x);  while ((c = getopt_long (argc, argv, "dfirvR", long_opts, NULL)) != -1)    {      switch (c)	{	case 0:		/* Long option.  */	  break;	case 'd':	  x.unlink_dirs = 1;	  break;	case 'f':	  x.interactive = 0;	  x.ignore_missing_files = 1;	  break;	case 'i':	  x.interactive = 1;	  x.ignore_missing_files = 0;	  break;	case 'r':	case 'R':	  x.recursive = 1;	  break;	case PRESUME_INPUT_TTY_OPTION:	  x.stdin_tty = 1;	  break;	case 'v':	  x.verbose = 1;	  break;	case_GETOPT_HELP_CHAR;	case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);	default:	  usage (EXIT_FAILURE);	}    }  if (optind == argc)    {      if (x.ignore_missing_files)	exit (EXIT_SUCCESS);      else	{	  error (0, 0, _("too few arguments"));	  usage (EXIT_FAILURE);	}    }  {    size_t n_files = argc - optind;    char const *const *file = (char const *const *) argv + optind;    enum RM_status status = rm (n_files, file, &x);    assert (VALID_STATUS (status));    if (status == RM_ERROR)      fail = 1;  }  exit (fail);}