Normed stuff
This commit is contained in:
parent
8146ed2176
commit
f925aea552
9 changed files with 23 additions and 25 deletions
|
|
@ -27,7 +27,8 @@ t_fd *dup_fd(t_fd *fd)
|
|||
return (NULL);
|
||||
tmp = dup(fd->fd);
|
||||
if (tmp == -1)
|
||||
return (printf("There was an error while duping the fd %d `%s`\n", fd->fd, fd->name), NULL);
|
||||
return (printf("There was an error while duping the "\
|
||||
"fd %d `%s`\n", fd->fd, fd->name), NULL);
|
||||
slot->ty = SLOT_FD;
|
||||
slot->slot.fd.fd = tmp;
|
||||
slot->slot.fd.perms = fd->perms;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue