Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.18 KB | None | 0 0
  1. = Host-specific information ====================================================
  2. $> hostname; uname -msr
  3. e2r6p11.1337.ma
  4. Darwin 16.7.0 x86_64
  5. $> date
  6. Sat Oct 19 18:28:04 CEST 2019
  7. $> gcc --version
  8. Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
  9. Apple LLVM version 9.0.0 (clang-900.0.39.2)
  10. Target: x86_64-apple-darwin16.7.0
  11. Thread model: posix
  12. InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  13. $> clang --version
  14. Apple LLVM version 9.0.0 (clang-900.0.39.2)
  15. Target: x86_64-apple-darwin16.7.0
  16. Thread model: posix
  17. InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  18.  
  19. = User files collection ========================================================
  20. Collecting user files from Vogsphere
  21. Repository URL: intra/2019/activities/42cursus_libft/isaadi
  22.  
  23. = Git history ==================================================================
  24. $> git -C /var/folders/sl/_8bhyfl16k38qyn_w6kh2jbw0000gq/T/tmpU4Mu7N/user log --pretty='%H - %an, %ad : %s'
  25. 033577d690597edbe99d9120910dad3ee9bfde1d - Ilyass Saadi, Sat Oct 19 00:27:13 2019 +0200 : fix
  26. fc7b4ff10e54aebb32e32ecb12ee6787035b3cb0 - Ilyass Saadi, Sat Oct 19 00:22:05 2019 +0200 : 3ala llah
  27.  
  28. = Collected files ==========================================
  29. $> ls -lAR /var/folders/sl/_8bhyfl16k38qyn_w6kh2jbw0000gq/T/tmpU4Mu7N/user
  30. total 368
  31. -rw-r--r-- 1 deepthought deepthought 1592 Oct 19 18:28 Makefile
  32. -rw-r--r-- 1 deepthought deepthought 2969 Oct 19 18:28 __GIT_HISTORY
  33. -rw-r--r-- 1 deepthought deepthought 1508 Oct 19 18:28 ft_atoi.c
  34. -rw-r--r-- 1 deepthought deepthought 970 Oct 19 18:28 ft_bzero.c
  35. -rw-r--r-- 1 deepthought deepthought 1160 Oct 19 18:28 ft_calloc.c
  36. -rw-r--r-- 1 deepthought deepthought 999 Oct 19 18:28 ft_isalnum.c
  37. -rw-r--r-- 1 deepthought deepthought 1001 Oct 19 18:28 ft_isalpha.c
  38. -rw-r--r-- 1 deepthought deepthought 971 Oct 19 18:28 ft_isascii.c
  39. -rw-r--r-- 1 deepthought deepthought 973 Oct 19 18:28 ft_isdigit.c
  40. -rw-r--r-- 1 deepthought deepthought 973 Oct 19 18:28 ft_isprint.c
  41. -rw-r--r-- 1 deepthought deepthought 1427 Oct 19 18:28 ft_itoa.c
  42. -rw-r--r-- 1 deepthought deepthought 1149 Oct 19 18:28 ft_lstadd_back_bonus.c
  43. -rw-r--r-- 1 deepthought deepthought 1057 Oct 19 18:28 ft_lstadd_front_bonus.c
  44. -rw-r--r-- 1 deepthought deepthought 1159 Oct 19 18:28 ft_lstclear_bonus.c
  45. -rw-r--r-- 1 deepthought deepthought 1038 Oct 19 18:28 ft_lstdelone_bonus.c
  46. -rw-r--r-- 1 deepthought deepthought 1026 Oct 19 18:28 ft_lstiter_bonus.c
  47. -rw-r--r-- 1 deepthought deepthought 1013 Oct 19 18:28 ft_lstlast_bonus.c
  48. -rw-r--r-- 1 deepthought deepthought 1372 Oct 19 18:28 ft_lstmap_bonus.c
  49. -rw-r--r-- 1 deepthought deepthought 1098 Oct 19 18:28 ft_lstnew_bonus.c
  50. -rw-r--r-- 1 deepthought deepthought 1020 Oct 19 18:28 ft_lstsize_bonus.c
  51. -rw-r--r-- 1 deepthought deepthought 1277 Oct 19 18:28 ft_memccpy.c
  52. -rw-r--r-- 1 deepthought deepthought 1149 Oct 19 18:28 ft_memchr.c
  53. -rw-r--r-- 1 deepthought deepthought 1175 Oct 19 18:28 ft_memcmp.c
  54. -rw-r--r-- 1 deepthought deepthought 1152 Oct 19 18:28 ft_memcpy.c
  55. -rw-r--r-- 1 deepthought deepthought 1265 Oct 19 18:28 ft_memmove.c
  56. -rw-r--r-- 1 deepthought deepthought 1106 Oct 19 18:28 ft_memset.c
  57. -rw-r--r-- 1 deepthought deepthought 994 Oct 19 18:28 ft_putchar_fd.c
  58. -rw-r--r-- 1 deepthought deepthought 1018 Oct 19 18:28 ft_putendl_fd.c
  59. -rw-r--r-- 1 deepthought deepthought 1164 Oct 19 18:28 ft_putnbr_fd.c
  60. -rw-r--r-- 1 deepthought deepthought 989 Oct 19 18:28 ft_putstr_fd.c
  61. -rw-r--r-- 1 deepthought deepthought 1822 Oct 19 18:28 ft_split.c
  62. -rw-r--r-- 1 deepthought deepthought 1081 Oct 19 18:28 ft_strchr.c
  63. -rw-r--r-- 1 deepthought deepthought 1119 Oct 19 18:28 ft_strdup.c
  64. -rw-r--r-- 1 deepthought deepthought 1313 Oct 19 18:28 ft_strjoin.c
  65. -rw-r--r-- 1 deepthought deepthought 1263 Oct 19 18:28 ft_strlcat.c
  66. -rw-r--r-- 1 deepthought deepthought 1240 Oct 19 18:28 ft_strlcpy.c
  67. -rw-r--r-- 1 deepthought deepthought 1002 Oct 19 18:28 ft_strlen.c
  68. -rw-r--r-- 1 deepthought deepthought 1177 Oct 19 18:28 ft_strmapi.c
  69. -rw-r--r-- 1 deepthought deepthought 1151 Oct 19 18:28 ft_strncmp.c
  70. -rw-r--r-- 1 deepthought deepthought 1354 Oct 19 18:28 ft_strnstr.c
  71. -rw-r--r-- 1 deepthought deepthought 1103 Oct 19 18:28 ft_strrchr.c
  72. -rw-r--r-- 1 deepthought deepthought 1593 Oct 19 18:28 ft_strtrim.c
  73. -rw-r--r-- 1 deepthought deepthought 1337 Oct 19 18:28 ft_substr.c
  74. -rw-r--r-- 1 deepthought deepthought 970 Oct 19 18:28 ft_tolower.c
  75. -rw-r--r-- 1 deepthought deepthought 970 Oct 19 18:28 ft_toupper.c
  76. -rw-r--r-- 1 deepthought deepthought 3094 Oct 19 18:28 libft.h
  77.  
  78. = libft_basics_1 ===============================================================
  79.  
  80.  
  81. -rw-r--r-- 1 deepthought deepthought 32472 Oct 19 18:28 libft.a
  82.  
  83. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_atoi.o test_ft_atoi.c
  84. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_bzero.o test_ft_bzero.c
  85. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_isalnum.o test_ft_isalnum.c
  86. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_isalpha.o test_ft_isalpha.c
  87. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_isascii.o test_ft_isascii.c
  88. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_isdigit.o test_ft_isdigit.c
  89. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_isprint.o test_ft_isprint.c
  90. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_memccpy.o test_ft_memccpy.c
  91. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_memchr.o test_ft_memchr.c
  92. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_memcmp.o test_ft_memcmp.c
  93. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_memcpy.o test_ft_memcpy.c
  94. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_memmove.o test_ft_memmove.c
  95. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_memset.o test_ft_memset.c
  96. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_strchr.o test_ft_strchr.c
  97. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_strdup.o test_ft_strdup.c
  98. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_strlcat.o test_ft_strlcat.c
  99. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_strlen.o test_ft_strlen.c
  100. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_strncmp.o test_ft_strncmp.c
  101. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_strlcpy.o test_ft_strlcpy.c
  102. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_strnstr.o test_ft_strnstr.c
  103. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_strrchr.o test_ft_strrchr.c
  104. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_calloc.o test_ft_calloc.c
  105. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_tolower.o test_ft_tolower.c
  106. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_toupper.o test_ft_toupper.c
  107. gcc -Wall -Wextra -Werror -g3 -c -o main.o main.c
  108. gcc -Wall -Wextra -Werror -g3 -o test_lib -L. -lft test_ft_atoi.o test_ft_bzero.o test_ft_isalnum.o test_ft_isalpha.o test_ft_isascii.o test_ft_isdigit.o test_ft_isprint.o test_ft_memccpy.o test_ft_memchr.o test_ft_memcmp.o test_ft_memcpy.o test_ft_memmove.o test_ft_memset.o test_ft_strchr.o test_ft_strdup.o test_ft_strlcat.o test_ft_strlen.o test_ft_strncmp.o test_ft_strlcpy.o test_ft_strnstr.o test_ft_strrchr.o test_ft_calloc.o test_ft_tolower.o test_ft_toupper.o main.o
  109.  
  110. Testing ft_atoi
  111. [*] ft_atoi : [ok]
  112. Testing ft_bzero
  113. [*] ft_bzero : [ok]
  114. Testing ft_isalnum
  115. [*] ft_isalnum : [ok]
  116. Testing ft_isalpha
  117. [*] ft_isalpha : [ok]
  118. Testing ft_isascii
  119. [*] ft_isascii : [ok]
  120. Testing ft_isdigit
  121. [*] ft_isdigit : [ok]
  122. Testing ft_isprint
  123. [*] ft_isprint : [ok]
  124. Testing ft_memccpy
  125. [*] ft_memccpy : [ok]
  126. Testing ft_memchr
  127. [*] ft_memchr : [ok]
  128. Testing ft_memcmp
  129. [*] ft_memcmp : [ok]
  130. Testing ft_memcpy
  131. [*] ft_memcpy : [ok]
  132. Testing ft_memmove
  133. [*] ft_memmove : [ok]
  134. Testing ft_memset
  135. [*] ft_memset : [ok]
  136. Testing ft_strchr
  137. [*] ft_strchr : [ok]
  138. Testing ft_strlen
  139. [*] ft_strlen : [ok]
  140. Testing ft_strlcat
  141. [*] ft_strlcat : [ok]
  142. Testing ft_strlcpy
  143. [*] ft_strlcpy : [ok]
  144. Testing ft_strncmp
  145. [*] ft_strncmp : [ok]
  146. Testing ft_strnstr
  147. [*] ft_strnstr : [ok]
  148. Testing ft_strrchr
  149. [*] ft_strrchr : [ok]
  150. Testing ft_tolower
  151. [*] ft_tolower : [ok]
  152. Testing ft_toupper
  153. [*] ft_toupper : [ok]
  154. Testing ft_calloc
  155. [*] ft_calloc : [ok]
  156. Testing ft_strdup
  157. [*] ft_strdup : [ok]
  158.  
  159. 24/24 correct functions
  160. Grade: 60
  161.  
  162. = libft_basics_2 ===============================================================
  163.  
  164.  
  165. -rw-r--r-- 1 deepthought deepthought 32472 Oct 19 18:28 libft.a
  166.  
  167. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_strmapi.o test_ft_strmapi.c
  168. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_substr.o test_ft_substr.c
  169. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_strjoin.o test_ft_strjoin.c
  170. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_strtrim.o test_ft_strtrim.c
  171. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_split.o test_ft_split.c
  172. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_itoa.o test_ft_itoa.c
  173. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_putchar_fd.o test_ft_putchar_fd.c
  174. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_putendl_fd.o test_ft_putendl_fd.c
  175. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_putnbr_fd.o test_ft_putnbr_fd.c
  176. gcc -Wall -Wextra -Werror -g3 -c -o test_ft_putstr_fd.o test_ft_putstr_fd.c
  177. gcc -Wall -Wextra -Werror -g3 -c -o main.o main.c
  178. gcc -Wall -Wextra -Werror -g3 -o test_lib -L. -lft test_ft_strmapi.o test_ft_substr.o test_ft_strjoin.o test_ft_strtrim.o test_ft_split.o test_ft_itoa.o test_ft_putchar_fd.o test_ft_putendl_fd.o test_ft_putnbr_fd.o test_ft_putstr_fd.o main.o
  179.  
  180. Command './test_lib' got killed by a SIGABORT (Signal -6)
  181. Grade: 0
  182.  
  183. = libft_bonus ==================================================================
  184.  
  185.  
  186.  
  187. -rw-r--r-- 1 deepthought deepthought 7784 Oct 19 18:28 libft.a
  188.  
  189. gcc -Wall -Wextra -g3 -c -o test_ft_lstadd_back.o test_ft_lstadd_back.c
  190. gcc -Wall -Wextra -g3 -c -o test_ft_lstadd_front.o test_ft_lstadd_front.c
  191. gcc -Wall -Wextra -g3 -c -o test_ft_lstlast.o test_ft_lstlast.c
  192. test_ft_lstlast.c:32:6: warning: implicit declaration of function 'ft_lstlast' is invalid in C99 [-Wimplicit-function-declaration]
  193. if (ft_lstlast(list) != list)
  194. ^
  195. test_ft_lstlast.c:32:23: warning: comparison between pointer and integer ('int' and 't_list *' (aka 'struct s_list *'))
  196. if (ft_lstlast(list) != list)
  197. ~~~~~~~~~~~~~~~~ ^ ~~~~
  198. test_ft_lstlast.c:41:23: warning: comparison between pointer and integer ('int' and 't_list *' (aka 'struct s_list *'))
  199. if (ft_lstlast(list) != &list[3])
  200. ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
  201. 3 warnings generated.
  202. gcc -Wall -Wextra -g3 -c -o test_ft_lstsize.o test_ft_lstsize.c
  203. gcc -Wall -Wextra -g3 -c -o test_ft_lstclear.o test_ft_lstclear.c
  204. gcc -Wall -Wextra -g3 -c -o test_ft_lstdelone.o test_ft_lstdelone.c
  205. gcc -Wall -Wextra -g3 -c -o test_ft_lstiter.o test_ft_lstiter.c
  206. gcc -Wall -Wextra -g3 -c -o test_ft_lstmap.o test_ft_lstmap.c
  207. test_ft_lstmap.c:67:40: error: too many arguments to function call, expected 2, have 3
  208. map = ft_lstmap(list, lstmap_test_fn, free);
  209. ~~~~~~~~~ ^~~~
  210. ./libft.h:43:1: note: 'ft_lstmap' declared here
  211. t_list *ft_lstmap(t_list *lst, void *(*f)(void*));
  212. ^
  213. 1 error generated.
  214. make: *** [test_ft_lstmap.o] Error 1
  215.  
  216. Grade: 0
  217.  
  218. = Final grade: 60 ==============================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement