X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-printf-posix2.c;h=adb54be62e317791d5813d285e52f0fd0718bf49;hb=d1fa59e00fd51d96f8b946f01dde859275d84569;hp=b6e4fcc550078163b93e6219f079a61acd44aa73;hpb=7926b0fc363afde51a861a5aea4a8e93476c5526;p=gnulib.git diff --git a/tests/test-printf-posix2.c b/tests/test-printf-posix2.c index b6e4fcc55..adb54be62 100644 --- a/tests/test-printf-posix2.c +++ b/tests/test-printf-posix2.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible printf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -73,11 +73,11 @@ main (int argc, char *argv[]) { case 0: { - void *memory = malloc (5000000); - if (memory == NULL) - return 1; - memset (memory, 17, 5000000); - return 78; + void *memory = malloc (5000000); + if (memory == NULL) + return 1; + memset (memory, 17, 5000000); + return 78; } case 1: ret = printf ("%.5000000f", 1.0);