X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-fprintf-posix2.c;h=fc485613a32876563a8fc26cb002c2da106186e7;hb=368777cd04f76f7a3b242006fdf6c1e6b77381de;hp=6d6dc0820628978dcb1aff1e88d69f8ab917b680;hpb=7926b0fc363afde51a861a5aea4a8e93476c5526;p=gnulib.git diff --git a/tests/test-fprintf-posix2.c b/tests/test-fprintf-posix2.c index 6d6dc0820..fc485613a 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-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 = fprintf (stdout, "%.5000000f", 1.0);