From 947152532d4103196b9fd56551b1b84772a51e09 Mon Sep 17 00:00:00 2001 From: tth Date: Mon, 12 Oct 2020 15:55:06 +0200 Subject: [PATCH] more extension tets --- funcs/t.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/funcs/t.c b/funcs/t.c index 6b48bd64..ecdf4b51 100644 --- a/funcs/t.c +++ b/funcs/t.c @@ -456,6 +456,12 @@ printf("%-10s %d\n\n", fname, foo); foo = format_from_extension(fname="foo.png"); printf("%-10s %d\n\n", fname, foo); +foo = format_from_extension(fname="foo.tiff"); +printf("%-10s %d\n\n", fname, foo); + +foo = format_from_extension(fname="foo.fits"); +printf("%-10s %d\n\n", fname, foo); + foo = format_from_extension(fname="foo.xyzzy"); printf("%-10s %d\n\n", fname, foo); @@ -688,7 +694,7 @@ if (foo) { fprintf(stderr, "Essai ====> %d\n", foo); } -fprintf(stderr, "++++++++++++++ end of pid %d\n", getpid()); +fprintf(stderr, "+++++ end of %s pid %d\n", command, getpid()); return 0; } /* --------------------------------------------------------------------- */