Guest User

Untitled

a guest
Mar 24th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. for(; optind < argc; ++optind)
  2. {
  3. const char *argv_copy = strdup(argv[optind]);
  4. if (argv_copy[0] == '+' && argv_copy[1] == 'O')
  5. {
  6. /* A deactivation parameter have been just found ! */
  7. ++optind;
  8. if (handle_shopt_options(shell_options,
  9. argv[optind],
  10. DISABLE) == EXIT_FAILURE)
  11. {
  12. usage(argv[optind]);
  13. free_shell_options(shell_options);
  14. shell_options = NULL;
  15. }
  16. }
  17. }
Add Comment
Please, Sign In to add comment