From 70c49c4cc7bd32eeaed7b88a82f43d50ee28ff20 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 20 Feb 2002 14:40:42 +0000 Subject: [PATCH] Use printf instead of putchar --- zoom/zoomsh.c | 4 ++-- zoom/zoomtst3.c | 4 ++-- zoom/zoomtst5.c | 4 ++-- zoom/zoomtst6.c | 4 ++-- zoom/zoomtst7.c | 7 +++---- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/zoom/zoomsh.c b/zoom/zoomsh.c index 24746d2..627e216 100644 --- a/zoom/zoomsh.c +++ b/zoom/zoomsh.c @@ -1,5 +1,5 @@ /* - * $Id: zoomsh.c,v 1.7 2001-11-18 21:14:23 adam Exp $ + * $Id: zoomsh.c,v 1.8 2002-02-20 14:40:42 adam Exp $ * * ZOOM-C Shell */ @@ -129,7 +129,7 @@ static void display_records (ZOOM_connection c, printf ("%d %s %s\n", pos+1, (db ? db : "unknown"), syntax); if (render) fwrite (render, 1, len, stdout); - putchar ('\n'); + printf ("\n"); } } } diff --git a/zoom/zoomtst3.c b/zoom/zoomtst3.c index cf55f4b..0502861 100644 --- a/zoom/zoomtst3.c +++ b/zoom/zoomtst3.c @@ -1,5 +1,5 @@ /* - * $Id: zoomtst3.c,v 1.5 2001-12-30 22:21:11 adam Exp $ + * $Id: zoomtst3.c,v 1.6 2002-02-20 14:40:42 adam Exp $ * * Asynchronous multi-target client doing search and piggyback retrieval */ @@ -86,7 +86,7 @@ int main(int argc, char **argv) printf ("%d\n", pos+1); if (rec) fwrite (rec, 1, len, stdout); - putchar ('\n'); + printf ("\n"); } } } diff --git a/zoom/zoomtst5.c b/zoom/zoomtst5.c index 5f44314..0d24287 100644 --- a/zoom/zoomtst5.c +++ b/zoom/zoomtst5.c @@ -1,5 +1,5 @@ /* - * $Id: zoomtst5.c,v 1.7 2001-12-30 22:21:11 adam Exp $ + * $Id: zoomtst5.c,v 1.8 2002-02-20 14:40:42 adam Exp $ * * Asynchronous multi-target client doing search, sort and present */ @@ -106,7 +106,7 @@ int main(int argc, char **argv) (db ? db : "unknown")); if (rec) fwrite (str, 1, len, stdout); - putchar ('\n'); + printf ("\n"); } } } diff --git a/zoom/zoomtst6.c b/zoom/zoomtst6.c index b09ca8b..ecee61b 100644 --- a/zoom/zoomtst6.c +++ b/zoom/zoomtst6.c @@ -1,5 +1,5 @@ /* - * $Id: zoomtst6.c,v 1.8 2001-11-28 23:00:19 adam Exp $ + * $Id: zoomtst6.c,v 1.9 2002-02-20 14:40:42 adam Exp $ * * Asynchronous multi-target client doing two searches */ @@ -31,7 +31,7 @@ static void display_records (const char *tname, ZOOM_resultset r) printf ("%d %s\n", pos+1, (db ? db : "unknown")); if (render) fwrite (render, 1, len, stdout); - putchar ('\n'); + printf ("\n"); } } } diff --git a/zoom/zoomtst7.c b/zoom/zoomtst7.c index af419c6..027b72e 100644 --- a/zoom/zoomtst7.c +++ b/zoom/zoomtst7.c @@ -1,5 +1,5 @@ /* - * $Id: zoomtst7.c,v 1.8 2001-12-30 22:21:11 adam Exp $ + * $Id: zoomtst7.c,v 1.9 2002-02-20 14:40:42 adam Exp $ * * API test.. */ @@ -92,7 +92,7 @@ int main(int argc, char **argv) ZOOM_query_destroy (s); - putchar ('.'); + printf ("."); if (block > 0) while (ZOOM_event (1, &z)) ; @@ -126,13 +126,12 @@ int main(int argc, char **argv) r[j] = ZOOM_connection_search_pqf (z, query); - putchar ('.'); + printf ("."); if (block > 0) while (ZOOM_event (1, &z)) ; } - ZOOM_connection_destroy (z); for (j = 0; j < 10; j++) -- 1.7.10.4