X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-fprintf-posix2.c;h=9e032fe1cd8a52761fc6c0908903b27edd5eab98;hb=aae58b6f7bd0f7c2f38e05eb005b76c164c5c1f7;hp=6d6dc0820628978dcb1aff1e88d69f8ab917b680;hpb=7926b0fc363afde51a861a5aea4a8e93476c5526;p=gnulib.git diff --git a/tests/test-fprintf-posix2.c b/tests/test-fprintf-posix2.c index 6d6dc0820..9e032fe1c 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, 2010 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);