merging conflicts

This commit is contained in:
Hugo LAMY
2021-12-20 15:07:58 +01:00
parent 59a43ea1cc
commit 0a64977cdc
8 changed files with 43 additions and 35 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/16 01:57:38 by lperrey #+# #+# */
/* Updated: 2021/12/16 05:57:42 by lperrey ### ########.fr */
/* Updated: 2021/12/20 14:23:40 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
@@ -18,12 +18,15 @@ static t_builtin_f search_builtin(char *cmd_name);
static int handle_access_error(char *file_name);
/*
2.8.2 Exit Status for Commands
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
#tag_18_08_02
*/
* 2.8.2 Exit Status for Commands
* https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
* #tag_18_08_02
*/
// TODO : faire des test sur la valeur de errno selon les cas (if directory, if pathname invalid, ...)
/*
* TODO : faire des test sur la valeur de errno selon les cas (if directory, if
* pathname invalid, ...)
*/
int cmd_find_access(t_cmd *cmd, char *path[])
{