commit | ae20cfd389f1e686b9f83d2f46bce8841f16e975 | [log] [tgz] |
---|---|---|
author | subrata_modak <subrata_modak> | Thu Feb 12 15:43:31 2009 +0000 |
committer | subrata_modak <subrata_modak> | Thu Feb 12 15:43:31 2009 +0000 |
tree | dfc150a08d83d77fd65f4c608db0c0e65266f4e1 | |
parent | c1d2dde512108f510665f026cd47451cc07c81ec [diff] |
Fix strftime/2-1.test segment fault. Signed-off-by: Xiao Xiao <xxiao@novell.com>.
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/strftime/2-1.c b/testcases/open_posix_testsuite/conformance/interfaces/strftime/2-1.c index d3f47e2..b58e4fa 100644 --- a/testcases/open_posix_testsuite/conformance/interfaces/strftime/2-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/strftime/2-1.c
@@ -25,7 +25,7 @@ /* current time */ time_t t = time(NULL); struct tm* local_t = localtime(&t); - char text[20]; + char text[100]; int result; setlocale(LC_TIME, "");