summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-13 17:33:10 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-13 17:33:10 -0800
commit7cd313b41e64862a5786cf87290c57899c96a67a (patch)
tree841a110116b8d491b8c14c5261c9e38744961f50
parent3fd68cb4ed34958cfc4d6cea123377f070561181 (diff)
unifdef NO_COMPRESS
Had only been defined if defined(__SCO__) || defined(__UNIXWARE__) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--handler.c6
1 files changed, 0 insertions, 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 */