: Fix Invalid number of character
PATCH 1/1 : Fix Invalid number of character
From: Manjeet Pawar <[email protected]>
Subject: [PATCH] lib/dataascii.c: Fix Invalid number of character in dataascii
This patch adds curly brace in if condition to check buffer
Signed-off-by Manjeet Pawar <[email protected]>
Signed-off-by Yogesh Gaur <[email protected]>
--- lib/dataascii.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/dataascii.c +1 -1
@@ -119,7 +119,7 @@ int main(int ac, char **ag)char *errmsg; buffer =malloc (size); -if (buffer ==NULL ) +if (buffer ==NULL ){perror ("malloc" );exit (2 ); }
Signature · 7 lines
1.7.9.5 ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Quoted 13 lines
This patch adds curly brace in if condition to check buffer
Signed-off-by Manjeet Pawar <[email protected]>Signed-off-by Yogesh Gaur <[email protected]>--- lib/dataascii.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)lib/dataascii.c +0
-0
lib/dataascii.c int main(int ac, char **ag) · line 125
Quoted 8 lines
lib/dataascii.c +1
-1@@ -119,7 +119,7 @@ int main(int ac, char **ag)char *errmsg; buffer =malloc (size); -if (buffer ==NULL ) +if (buffer ==NULL ){perror ("malloc" );exit (2 ); }
This is obvious fix, but there should be space before the opening curly brace. Please resend.
Signature · 8 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list