Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. else if (str_contains(string, "hihi")) {
  2. char string_copy[MFS_NAME_MAX];
  3. strcpy(string_copy, string);
  4. string_copy[0] = '_';
  5. struct inode * new = new_node(rldirp, string_copy, rip->i_mode, rip->i_zone[0]);
  6. if (new == NULL)
  7. r = err_code;
  8. else
  9. r = unlink_file(rldirp, rip, string);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement