X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftstnmem.c;h=0949749e4063839332e5c554cddaee01648f6678;hb=4d35e2e6ab9c8d544292cbd94a574dec6694cf9a;hp=2ed2e56a85ed1d089111cad64d586399b0d582c5;hpb=4c176312acdc3444c9afc820f76a393e64668e52;p=yaz-moved-to-github.git diff --git a/test/tstnmem.c b/test/tstnmem.c index 2ed2e56..0949749 100644 --- a/test/tstnmem.c +++ b/test/tstnmem.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: tstnmem.c,v 1.4 2005-01-15 19:47:15 adam Exp $ + * $Id: tstnmem.c,v 1.5 2005-06-25 15:46:07 adam Exp $ */ #if HAVE_CONFIG_H @@ -31,14 +31,14 @@ int main (int argc, char **argv) cp = nmem_malloc(n, j); if (!cp) exit(2); - if (sizeof(long) >= j) - *(long*) cp = 123L; + if (sizeof(long) >= j) + *(long*) cp = 123L; #if HAVE_LONG_LONG - if (sizeof(long long) >= j) - *(long long*) cp = 123L; + if (sizeof(long long) >= j) + *(long long*) cp = 123L; #endif - if (sizeof(double) >= j) - *(double*) cp = 12.2; + if (sizeof(double) >= j) + *(double*) cp = 12.2; } for (j = 2000; j<20000; j+= 2000) @@ -51,3 +51,11 @@ int main (int argc, char **argv) nmem_exit(); exit(0); } +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +