aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHappyTramp <sircharlesaze@gmail.com>2020-07-08 12:39:50 +0200
committerGitHub <noreply@github.com>2020-07-08 12:39:50 +0200
commit6038c3fb31490c2f6bdf1745ed694aed5909f9d2 (patch)
tree98ac0b6b4d87ad97abf1c4ebe463f292ffe0d05c
parent25d81fe88c7e9aebe011b7b625b4eb7d31936591 (diff)
parent04d253446e9099fd4e2b8018810c1260d59c8b59 (diff)
downloadft_printf_test-6038c3fb31490c2f6bdf1745ed694aed5909f9d2.tar.gz
ft_printf_test-6038c3fb31490c2f6bdf1745ed694aed5909f9d2.tar.bz2
ft_printf_test-6038c3fb31490c2f6bdf1745ed694aed5909f9d2.zip
Merge pull request #1 from kohyounghwan/master
%o specifier is not in the ft_printf project anymore and warning is caused when compiling.
-rw-r--r--check_leaks.c3
-rw-r--r--header.h3
-rw-r--r--tests/pft_tests.c3
3 files changed, 4 insertions, 5 deletions
diff --git a/check_leaks.c b/check_leaks.c
index ff16e9c..66fc7e1 100644
--- a/check_leaks.c
+++ b/check_leaks.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/06 18:14:36 by cacharle #+# #+# */
-/* Updated: 2020/02/06 18:14:37 by cacharle ### ########.fr */
+/* Updated: 2020/07/08 18:14:37 by ykoh ### ########.fr */
/* */
/* ************************************************************************** */
@@ -275,7 +275,6 @@ int main()
ft_printf("%hhllo", 42);
ft_printf("%llho", 42);
ft_printf("%lllo", 42);
- ft_printf("%-o", 42);
ft_printf("%Lu", 42);
ft_printf("%#u", 42);
ft_printf("%+u", 42);
diff --git a/header.h b/header.h
index 07ab46e..b6369b2 100644
--- a/header.h
+++ b/header.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/06 18:13:32 by cacharle #+# #+# */
-/* Updated: 2020/04/02 20:49:26 by charles ### ########.fr */
+/* Updated: 2020/07/08 18:16:16 by ykoh ### ########.fr */
/* */
/* ************************************************************************** */
@@ -20,6 +20,7 @@
# include <unistd.h>
# include <string.h>
# include <stdbool.h>
+# include <signal.h>
int pid;
int pid2;
diff --git a/tests/pft_tests.c b/tests/pft_tests.c
index 3f29604..8a945e7 100644
--- a/tests/pft_tests.c
+++ b/tests/pft_tests.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/06 18:15:10 by cacharle #+# #+# */
-/* Updated: 2020/04/02 20:46:35 by charles ### ########.fr */
+/* Updated: 2020/07/08 18:15:02 by ykoh ### ########.fr */
/* */
/* ************************************************************************** */
@@ -76,7 +76,6 @@ void test_pft_nocrash(void)
// ASSERT_PRINTF("%hhllo", 42);
// ASSERT_PRINTF("%llho", 42);
// ASSERT_PRINTF("%lllo", 42);
- ASSERT_PRINTF("%-o", 42);
////// ASSERT_PRINTF("%Lu", 42);
// ASSERT_PRINTF("%#u", 42);
// ASSERT_PRINTF("%+u", 42);