X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-fprintf-posix2.c;h=e844f00eaeaeb0107f27b9f3432a130c69f404cd;hb=b8c5e24996c9626f03890cd986fc1fb7b17fa610;hp=6d6dc0820628978dcb1aff1e88d69f8ab917b680;hpb=7926b0fc363afde51a861a5aea4a8e93476c5526;p=gnulib.git diff --git a/tests/test-fprintf-posix2.c b/tests/test-fprintf-posix2.c index 6d6dc0820..e844f00ea 100644 --- a/tests/test-fprintf-posix2.c +++ b/tests/test-fprintf-posix2.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible fprintf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2009-2012 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 = fprintf (stdout, "%.5000000f", 1.0);