From 7cd313b41e64862a5786cf87290c57899c96a67a Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 13 Feb 2024 17:33:10 -0800 Subject: unifdef NO_COMPRESS Had only been defined if defined(__SCO__) || defined(__UNIXWARE__) Signed-off-by: Alan Coopersmith --- handler.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/handler.c b/handler.c index fb43c5c..740021f 100644 --- a/handler.c +++ b/handler.c @@ -319,21 +319,15 @@ SaveFormattedPage(Widget w, XEvent * event, String * params, case 'S': case 's': -#ifndef NO_COMPRESS if (!man_globals->compress) -#endif - snprintf(cmdbuf, sizeof(cmdbuf), "%s %s %s", COPY, man_globals->tempfile, man_globals->save_file); - -#ifndef NO_COMPRESS else if (man_globals->gzip) snprintf(cmdbuf, sizeof(cmdbuf), "%s < %s > %s", GZIP_COMPRESS, man_globals->tempfile, man_globals->save_file); else snprintf(cmdbuf, sizeof(cmdbuf), "%s < %s > %s", COMPRESS, man_globals->tempfile, man_globals->save_file); -#endif if (!system(cmdbuf)) { /* make sure the formatted man page is fully accessible by the world */ -- cgit v1.2.3