home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume28 / freeze / patch03 < prev    next >
Text File  |  1992-03-15  |  16KB  |  702 lines

  1. Newsgroups: comp.sources.misc
  2. From: leo@s514.ipmce.su (Leonid A. Broukhis)
  3. Subject:  v28i083:  freeze - Freeze/melt compression program vers. 2.3, Patch03
  4. Message-ID: <1992Mar7.184224.22274@sparky.imd.sterling.com>
  5. X-Md4-Signature: 5820156e3106af3e0cf84cfbf3945438
  6. Date: Sat, 7 Mar 1992 18:42:24 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: leo@s514.ipmce.su (Leonid A. Broukhis)
  10. Posting-number: Volume 28, Issue 83
  11. Archive-name: freeze/patch03
  12. Environment: ISC, Xenix, SunOS, MS-DOS
  13. Patch-To: freeze: Volume 25, Issue 12-13
  14.  
  15. This patch corrects some Xenix/286-dependent bugs (mostly cpp's ones)
  16. and turns makefile into "system-specific" form. 
  17.  
  18. ------
  19. *** ../distribution/README    Wed Feb 26 14:40:06 1992
  20. --- README    Fri Mar  6 12:20:53 1992
  21. ***************
  22. *** 9,22 ****
  23.                   reducing to 14 gives some speeddown).
  24.       o COMPAT                Turns on backwards compatibility
  25.                   with Freeze 1.0
  26. !     o M_XENIX & M_I286      Makes arrays < 65536 bytes each
  27. !     o BSD4_2        Allow long filenames ( > 14 characters) &
  28.                   Call setlinebuf(stderr)
  29.       o INT_SIG               signal is int (*)() unstead of void
  30.       o MSDOS                 Turns off some UNIX-dependencies
  31.                   and MSDOS' ones - vice versa
  32.                   !!! It's important !!!
  33. !                 If your MSDOS' C compiler do support
  34.                   inline functions, define DO_INLINE.
  35.                   This will cause the main loop to be
  36.                   replaced with a call of memcmp, which
  37. --- 9,22 ----
  38.                   reducing to 14 gives some speeddown).
  39.       o COMPAT                Turns on backwards compatibility
  40.                   with Freeze 1.0
  41. !     o M_XENIX & !M_I386     Makes arrays < 65536 bytes each
  42. !     o BSD                   Allow long filenames ( > 14 characters) &
  43.                   Call setlinebuf(stderr)
  44.       o INT_SIG               signal is int (*)() unstead of void
  45.       o MSDOS                 Turns off some UNIX-dependencies
  46.                   and MSDOS' ones - vice versa
  47.                   !!! It's important !!!
  48. !                 If your MSDOS' C compiler does support
  49.                   inline functions, define DO_INLINE.
  50.                   This will cause the main loop to be
  51.                   replaced with a call of memcmp, which
  52. ***************
  53. *** 137,155 ****
  54.   
  55.   ------------------- LINT ----------------------------
  56.   
  57. ! Lint complains about MANY `constant in conditional context', but ALL these
  58. ! contexts aren't `conditional', because they are unconditional (!)
  59. ! expressions:
  60. ! #define BITS 18
  61. ! . . .
  62. ! #define LEN0    (BITS/3 + (BITS%3 != 0))
  63. ! . . .
  64. !     ... + (key[0] >> LEN0) ....
  65. ! Do you think about /*CONDITIONAL*/ pseudo-comment for lint?
  66. ! Other lint's complaints about `used/declared inconsistently' are (in my
  67.   case) due to inconsistencies of /usr/include/* and /usr/lib/llib*ln. It
  68.   isn't dangerous.
  69.   
  70. --- 137,143 ----
  71.   
  72.   ------------------- LINT ----------------------------
  73.   
  74. ! Some lint's complaints about `used/declared inconsistently' are (in my
  75.   case) due to inconsistencies of /usr/include/* and /usr/lib/llib*ln. It
  76.   isn't dangerous.
  77.   
  78. *** ../distribution/freeze.c    Wed Feb 26 14:40:07 1992
  79. --- freeze.c    Thu Feb 27 14:51:28 1992
  80. ***************
  81. *** 99,110 ****
  82.   long indc_count, indc_threshold;
  83.   long file_length = 0;   /* initial length of file */
  84.   
  85. ! #ifdef INT_SIG
  86. ! int
  87. ! #else
  88. ! void
  89. ! #endif
  90. ! (*bgnd_flag)();
  91.   
  92.   void writeerr(), copystat(), version(), tune_table();
  93.   
  94. --- 99,105 ----
  95.   long indc_count, indc_threshold;
  96.   long file_length = 0;   /* initial length of file */
  97.   
  98. ! SIGTYPE (*bgnd_flag)();
  99.   
  100.   void writeerr(), copystat(), version(), tune_table();
  101.   
  102. ***************
  103. *** 180,199 ****
  104.       char *malloc();
  105.   #endif
  106.   
  107. ! #if defined(__TURBOC__) || !defined(INT_SIG)
  108. !     extern void onintr();
  109. ! #else
  110. !     extern onintr();
  111. ! #endif
  112.   
  113.   #ifdef DOS
  114.       char *sufp;
  115.   #else
  116. ! #ifdef INT_SIG
  117. !     extern oops();
  118. ! #else
  119. !     extern void oops();
  120. ! #endif
  121.   #endif
  122.   
  123.   #ifndef DOS
  124. --- 175,186 ----
  125.       char *malloc();
  126.   #endif
  127.   
  128. !     extern SIGTYPE onintr();
  129.   
  130.   #ifdef DOS
  131.       char *sufp;
  132.   #else
  133. !     extern SIGTYPE oops();
  134.   #endif
  135.   
  136.   #ifndef DOS
  137. ***************
  138. *** 276,285 ****
  139.   #endif  /* DOS */
  140.   
  141.       }
  142. ! #ifdef BSD4_2
  143.       /* 4.2BSD dependent - take it out if not */
  144.       setlinebuf( stderr );
  145. ! #endif /* BSD4_2 */
  146.   
  147.       /* Argument Processing
  148.        * All flags are optional.
  149. --- 263,272 ----
  150.   #endif  /* DOS */
  151.   
  152.       }
  153. ! #ifdef BSD
  154.       /* 4.2BSD dependent - take it out if not */
  155.       setlinebuf( stderr );
  156. ! #endif /* BSD */
  157.   
  158.       /* Argument Processing
  159.        * All flags are optional.
  160. ***************
  161. *** 471,477 ****
  162.   
  163.           /* Generate output filename */
  164.           (void) strcpy(ofname, *fileptr);
  165. ! #ifndef BSD4_2        /* Short filenames */
  166.           if ((cp = last_sep(ofname)) != NULL) cp++;
  167.           else cp = ofname;
  168.   # ifdef DOS
  169. --- 458,464 ----
  170.   
  171.           /* Generate output filename */
  172.           (void) strcpy(ofname, *fileptr);
  173. ! #ifndef BSD     /* Short filenames */
  174.           if ((cp = last_sep(ofname)) != NULL) cp++;
  175.           else cp = ofname;
  176.   # ifdef DOS
  177. ***************
  178. *** 485,491 ****
  179.               continue;
  180.           }
  181.   # endif /* DOS */
  182. ! #endif    /* BSD4_2        Long filenames allowed */
  183.                                
  184.   #ifdef DOS
  185.           /* There is no difference between FOOBAR and FOOBAR. names */
  186. --- 472,478 ----
  187.               continue;
  188.           }
  189.   # endif /* DOS */
  190. ! #endif  /* BSD               Long filenames allowed */
  191.                                
  192.   #ifdef DOS
  193.           /* There is no difference between FOOBAR and FOOBAR. names */
  194. ***************
  195. *** 567,578 ****
  196.           freeze();
  197.   #ifndef DEBUG
  198.           else
  199. !         meltfunc();
  200.   #else
  201.           else if (debug && verbose)
  202.           printcodes(meltfunc == (void(*)()) melt2);
  203.           else
  204. !         meltfunc();
  205.   #endif /* DEBUG */
  206.   
  207.       /* check output status, and close to make sure data is written */
  208. --- 554,565 ----
  209.           freeze();
  210.   #ifndef DEBUG
  211.           else
  212. !         (*meltfunc)();
  213.   #else
  214.           else if (debug && verbose)
  215.           printcodes(meltfunc == (void(*)()) melt2);
  216.           else
  217. !         (*meltfunc)();
  218.   #endif /* DEBUG */
  219.   
  220.       /* check output status, and close to make sure data is written */
  221. ***************
  222. *** 849,861 ****
  223.   }
  224.   #endif
  225.   
  226. - #if defined(__TURBOC__) || !defined(INT_SIG)
  227. - void
  228. - #endif
  229.   /* Exception handler (SIGINT) */
  230.   
  231. ! onintr ( ) {
  232.       if (!precious) {            /* topipe == 1 implies precious == 1 */
  233.       (void) fclose(stdout);
  234.       (void) unlink(ofname);
  235. --- 836,844 ----
  236.   }
  237.   #endif
  238.   
  239.   /* Exception handler (SIGINT) */
  240.   
  241. ! SIGTYPE onintr ( ) {
  242.       if (!precious) {            /* topipe == 1 implies precious == 1 */
  243.       (void) fclose(stdout);
  244.       (void) unlink(ofname);
  245. ***************
  246. *** 863,875 ****
  247.       exit(1);
  248.   }
  249.   
  250. - #if defined(__TURBOC__) || !defined(INT_SIG)
  251. - void
  252. - #endif
  253.   /* Exception handler (SIGSEGV) */
  254.   
  255. ! oops ( )        /* file is corrupt or internal error */
  256.   {
  257.       (void) fflush(stdout);
  258.       fprintf(stderr, "Segmentation violation occured...\n");
  259. --- 846,854 ----
  260.       exit(1);
  261.   }
  262.   
  263.   /* Exception handler (SIGSEGV) */
  264.   
  265. ! SIGTYPE oops ( )        /* file is corrupt or internal error */
  266.   {
  267.       (void) fflush(stdout);
  268.       fprintf(stderr, "Segmentation violation occured...\n");
  269. ***************
  270. *** 888,895 ****
  271.   #ifdef DEBUG
  272.       fprintf(stderr, "DEBUG, ");
  273.   #endif
  274. ! #ifdef BSD4_2
  275. !     fprintf(stderr, "BSD4_2, ");
  276.   #endif
  277.   #ifdef  __XENIX__
  278.       fprintf(stderr, "XENIX, ");
  279. --- 867,874 ----
  280.   #ifdef DEBUG
  281.       fprintf(stderr, "DEBUG, ");
  282.   #endif
  283. ! #ifdef BSD
  284. !     fprintf(stderr, "BSD, ");
  285.   #endif
  286.   #ifdef  __XENIX__
  287.       fprintf(stderr, "XENIX, ");
  288. *** ../distribution/freeze.h    Wed Feb 26 14:40:08 1992
  289. --- freeze.h    Fri Mar  6 12:20:53 1992
  290. ***************
  291. *** 37,61 ****
  292.   #include <types.h>
  293.   #endif
  294.   
  295. ! #ifndef __TURBOC__
  296.   #ifdef UTIMES
  297.   #include <sys/time.h>
  298.   #else
  299.   #include <utime.h>      /* Some systems have sys/utime.h instead of this */
  300.   #endif /* UTIMES */
  301. ! #endif
  302.   
  303. ! #if defined(BSD42) && !defined(BSD4_2)
  304. ! #define BSD4_2
  305.   #endif
  306.   
  307.   /* for MAXNAMLEN only !!! */
  308.   #ifdef unix
  309. ! #ifndef BSD4_2
  310.   #include <dirent.h>
  311.   #else
  312.   #include <sys/dir.h>
  313. ! #endif /* BSD4_2 */
  314.   #endif /* unix */
  315.   
  316.   #if !defined(MAXNAMLEN)
  317. --- 37,66 ----
  318.   #include <types.h>
  319.   #endif
  320.   
  321. ! #if !defined(__TURBOC__) && (!defined(M_XENIX) || defined(M_I386))
  322.   #ifdef UTIMES
  323.   #include <sys/time.h>
  324.   #else
  325.   #include <utime.h>      /* Some systems have sys/utime.h instead of this */
  326.   #endif /* UTIMES */
  327. ! #else
  328. ! #ifdef M_XENIX
  329. ! struct utimbuf {
  330. !     time_t actime;
  331. !     time_t modtime;
  332. ! };
  333.   
  334. ! extern int utime();
  335.   #endif
  336. + #endif
  337.   
  338.   /* for MAXNAMLEN only !!! */
  339.   #ifdef unix
  340. ! #ifndef BSD
  341.   #include <dirent.h>
  342.   #else
  343.   #include <sys/dir.h>
  344. ! #endif /* BSD */
  345.   #endif /* unix */
  346.   
  347.   #if !defined(MAXNAMLEN)
  348. ***************
  349. *** 82,87 ****
  350. --- 87,95 ----
  351.   # else /* TOS */
  352.   #  include <ext.h>
  353.   # endif  /* MSDOS */
  354. + #if !defined(SIGTYPE)
  355. + #define SIGTYPE void
  356. + #endif
  357.   #endif /* __TURBOC__ */
  358.   
  359.   typedef unsigned short us_t;
  360. ***************
  361. *** 162,168 ****
  362.       fflush (stderr);\
  363.   }
  364.   
  365. ! #ifdef BSD4_2
  366.   #define strchr index
  367.   #define strrchr rindex
  368.   #endif
  369. --- 170,176 ----
  370.       fflush (stderr);\
  371.   }
  372.   
  373. ! #ifdef BSD
  374.   #define strchr index
  375.   #define strrchr rindex
  376.   #endif
  377. *** ../distribution/lz.c    Wed Feb 26 14:39:49 1992
  378. --- lz.c    Fri Mar  6 12:49:09 1992
  379. ***************
  380. *** 38,44 ****
  381.   
  382.   us_t *next[parts] = {
  383.   next0, next1
  384. ! #if parts > 2
  385.   ,next2
  386.   #endif
  387.   };
  388. --- 38,44 ----
  389.   
  390.   us_t *next[parts] = {
  391.   next0, next1
  392. ! #if parts != 2          /* was: parts > 2. Doesn't work on X286 cpp */
  393.   ,next2
  394.   #endif
  395.   };
  396. ***************
  397. *** 55,61 ****
  398.   
  399.   void InitTree ()
  400.   {
  401. !     long i;
  402.   #ifdef GATHER_STAT
  403.       node_steps = node_matches = 0;
  404.   #endif  /* GATHER_STAT */
  405. --- 55,61 ----
  406.   
  407.   void InitTree ()
  408.   {
  409. !     hash_t i;
  410.   #ifdef GATHER_STAT
  411.       node_steps = node_matches = 0;
  412.   #endif  /* GATHER_STAT */
  413. *** ../distribution/lz.h    Wed Feb 26 14:39:49 1992
  414. --- lz.h    Sat Feb 29 12:53:41 1992
  415. ***************
  416. *** 27,33 ****
  417.   
  418.   #define NIL     N2
  419.   
  420. ! #if defined(M_XENIX) && defined(I_286) && (BITS > 14)
  421.   #define __XENIX__
  422.   #endif
  423.   
  424. --- 27,33 ----
  425.   
  426.   #define NIL     N2
  427.   
  428. ! #if defined(M_XENIX) && !defined(M_I386) && (BITS > 14)
  429.   #define __XENIX__
  430.   #endif
  431.   
  432. ***************
  433. *** 55,61 ****
  434.   /* We divide the array `next' in `parts' which fit into 286's segment */
  435.   /* There may be 2 or 3 parts, because BITS <= 16 now */
  436.   
  437. ! #define parts (array_size/32768 + 1)
  438.   #define nextof(i)       next[(i) >> 15][(i) & 0x7fff]
  439.   #if parts == 2
  440.   extern us_t next0[], next1[];
  441. --- 55,61 ----
  442.   /* We divide the array `next' in `parts' which fit into 286's segment */
  443.   /* There may be 2 or 3 parts, because BITS <= 16 now */
  444.   
  445. ! #define parts (array_size/32768L + 1)
  446.   #define nextof(i)       next[(i) >> 15][(i) & 0x7fff]
  447.   #if parts == 2
  448.   extern us_t next0[], next1[];
  449. ***************
  450. *** 161,167 ****
  451.   #ifdef __STDC__
  452.   #define LEAVE(num) leave##num
  453.   #else
  454. ! #define LEAVE(num) leave/**/num
  455.   #endif
  456.   
  457.   #define Get_Next_Match(r,l) {register us_t p=r;register int m;\
  458. --- 161,168 ----
  459.   #ifdef __STDC__
  460.   #define LEAVE(num) leave##num
  461.   #else
  462. ! #define quote(x)x
  463. ! #define LEAVE(num) quote(leave)num
  464.   #endif
  465.   
  466.   #define Get_Next_Match(r,l) {register us_t p=r;register int m;\
  467. *** ../distribution/makefile    Wed Feb 26 14:40:08 1992
  468. --- makefile    Fri Mar  6 12:41:35 1992
  469. ***************
  470. *** 1,7 ****
  471.   SHELL         = /bin/sh
  472.   DEST          = /usr/local/bin
  473.   MANDEST       = /usr/local/man/man1
  474. ! EXTHDRS          =
  475.   HDRS          = bitio.h\
  476.           compat.h\
  477.           freeze.h\
  478. --- 1,16 ----
  479.   SHELL         = /bin/sh
  480. + default:
  481. +     @echo ''
  482. +     @echo 'Please indicate the system to make Freeze for.'
  483. +     @echo 'Possible choices are: bsd, sysv, x286, sun4,'
  484. +     @echo 'generic.'
  485. +     @echo ''
  486.   DEST          = /usr/local/bin
  487.   MANDEST       = /usr/local/man/man1
  488. ! SEC           = 1
  489.   HDRS          = bitio.h\
  490.           compat.h\
  491.           freeze.h\
  492. ***************
  493. *** 8,22 ****
  494.           huf.h\
  495.           lz.h\
  496.           patchlevel.h
  497. - LDFLAGS       =
  498. - LIBS          = -lc_s   # shared library, if it's SysV
  499.   
  500.   CC            = gcc -fstrength-reduce
  501.   # or proprietary compiler, if it's better than that
  502.   
  503. ! CFLAGS        = -DBITS=16 -O -DCOMPAT -DFAST  # -DBSD42 -DSUN4
  504.   
  505. ! LINTFLAGS     = -DBITS=15 -DCOMPAT -DDEBUG -DGATHER_STAT -x -DFAST
  506.   
  507.   MAKEFILE      = makefile
  508.   
  509. --- 17,30 ----
  510.           huf.h\
  511.           lz.h\
  512.           patchlevel.h
  513.   
  514.   CC            = gcc -fstrength-reduce
  515.   # or proprietary compiler, if it's better than that
  516.   
  517. ! OPTIONS       = -DCOMPAT
  518.   
  519. ! LINTFLAGS     = -DBITS=15 -DSIGTYPE=void -DCOMPAT -DDEBUG\
  520. !         -DGATHER_STAT -x -DFAST
  521.   
  522.   MAKEFILE      = makefile
  523.   
  524. ***************
  525. *** 49,56 ****
  526.   .1.man:
  527.           nroff -man < $< > $@
  528.   
  529. ! all:            $(PROGRAM) statist man
  530.   
  531.   man:            $(CATMAN)
  532.   
  533.   lint:           $(SRCS)
  534. --- 57,67 ----
  535.   .1.man:
  536.           nroff -man < $< > $@
  537.   
  538. ! .c.o:
  539. !         $(CC) -c $(CFLAGS) $(OPTIONS) $<
  540.   
  541. + prog:            $(PROGRAM) statist
  542.   man:            $(CATMAN)
  543.   
  544.   lint:           $(SRCS)
  545. ***************
  546. *** 67,73 ****
  547.   
  548.   clean:;         rm -f *.o *.b .,* core *.out
  549.   
  550. ! install:        $(DEST)/$(PROGRAM) $(MANDEST)/freeze.1 $(MANDEST)/statist.1
  551.   
  552.   patch:;         rm -f patch.out
  553.           -for i in ../distribution/* ; do \
  554. --- 78,84 ----
  555.   
  556.   clean:;         rm -f *.o *.b .,* core *.out
  557.   
  558. ! install:        $(DEST)/$(PROGRAM) $(DEST)/statist $(MANDEST)/freeze.$(SEC) $(MANDEST)/statist.$(SEC)
  559.   
  560.   patch:;         rm -f patch.out
  561.           -for i in ../distribution/* ; do \
  562. ***************
  563. *** 75,95 ****
  564.           done
  565.   
  566.   $(DEST)/$(PROGRAM): $(PROGRAM)
  567. !         -strip $(PROGRAM)
  568. !         -mcs -d $(PROGRAM)
  569. !         install -m 755 $(PROGRAM) $(DEST)
  570.           -ln -f $@ $(DEST)/melt
  571.           -ln -f $@ $(DEST)/fcat
  572.   
  573. ! $(MANDEST)/freeze.1: freeze.man
  574. !         cp freeze.man $@
  575.           chmod +r $@
  576. !         -ln -f $@ $(MANDEST)/melt.1
  577. !         -ln -f $@ $(MANDEST)/fcat.1
  578.   
  579. ! $(MANDEST)/statist.1: statist.man
  580. !         cp statist.man $@
  581.           chmod +r $@
  582.   
  583.   ###
  584.   bitio.o: freeze.h compat.h bitio.h
  585. --- 86,135 ----
  586.           done
  587.   
  588.   $(DEST)/$(PROGRAM): $(PROGRAM)
  589. !         cp $(PROGRAM) $@
  590. !         chmod 755 $@
  591. !         -strip $@
  592. !         -mcs -d $@
  593.           -ln -f $@ $(DEST)/melt
  594.           -ln -f $@ $(DEST)/fcat
  595.   
  596. ! $(DEST)/statist: statist
  597. !         cp statist $@
  598. !         chmod 755 $@
  599. !         -strip $@
  600. !         -mcs -d $@
  601. ! $(MANDEST)/freeze.$(SEC): freeze.1
  602. !         cp freeze.1 $@
  603.           chmod +r $@
  604. !         -ln -f $@ $(MANDEST)/melt.$(SEC)
  605. !         -ln -f $@ $(MANDEST)/fcat.$(SEC)
  606.   
  607. ! $(MANDEST)/statist.$(SEC): statist.1
  608. !         cp statist.1 $@
  609.           chmod +r $@
  610. + bsd:
  611. +         make prog CFLAGS="-O -DBSD -DUTIMES -DBITS=16\
  612. +         -DFAST -DSIGTYPE=void"
  613. + sysv:
  614. +         make prog CFLAGS="-O -DBITS=16 -DFAST -DSIGTYPE=void"\
  615. +         LIBS="-lc_s"
  616. + x286:
  617. +         make prog CC=cc CFLAGS="-Ox -Mc2 -DBITS=16 -DFAST\
  618. +         -DSIGTYPE=int"
  619. + x286install:
  620. +         make install MANDEST=/usr/man/man.C SEC=C
  621. + generic:
  622. +         make prog CFLAGS="-O -DBITS=16 -DFAST -DSIGTYPE=int"
  623. + sun4:
  624. +         make prog CC=cc CFLAGS="-O4 -DBSD -DSUN4 -DSIGTYPE=void\
  625. +         -DUTIMES -DBITS=16 -DFAST"
  626.   
  627.   ###
  628.   bitio.o: freeze.h compat.h bitio.h
  629. *** ../distribution/patchlevel.h    Wed Feb 26 14:40:09 1992
  630. --- patchlevel.h    Fri Mar  6 12:37:57 1992
  631. ***************
  632. *** 1,2 ****
  633. ! #define PATCHLEVEL 2
  634. ! #define PATCHDATE "1/30/92"
  635. --- 1,2 ----
  636. ! #define PATCHLEVEL 3
  637. ! #define PATCHDATE "3/5/92"
  638. *** ../distribution/statist.c    Wed Feb 26 14:40:09 1992
  639. --- statist.c    Thu Feb 27 14:51:29 1992
  640. ***************
  641. *** 26,35 ****
  642.   
  643.   void freeze(), StartHuff();
  644.   
  645. ! #ifndef INT_SIG
  646. ! void
  647. ! #endif
  648. ! giveres();
  649.   
  650.   int main(argc, argv) char ** argv; {
  651.       argv++;
  652. --- 26,32 ----
  653.   
  654.   void freeze(), StartHuff();
  655.   
  656. ! SIGTYPE giveres();
  657.   
  658.   int main(argc, argv) char ** argv; {
  659.       argv++;
  660. ***************
  661. *** 96,105 ****
  662.   could improve the compression rate when using them.
  663.   */
  664.   
  665. ! #ifndef INT_SIG
  666. ! void
  667. ! #endif
  668. ! giveres() {
  669.       us_t c;
  670.       register int i, j, k, pr, f, average, sum;
  671.       ul_t cumul, sigma2;
  672. --- 93,99 ----
  673.   could improve the compression rate when using them.
  674.   */
  675.   
  676. ! SIGTYPE giveres() {
  677.       us_t c;
  678.       register int i, j, k, pr, f, average, sum;
  679.       ul_t cumul, sigma2;
  680. -- 
  681. Leonid A. Broukhis | 89-1-95 Liberty St. | "BROUKHIS" is Hebrew for
  682. +7 095 494 6241 (h)| Moscow 123481 Russia|       "BENEDICTAE"
  683. +7 095 132 9475 (o)| (leo@s514.ipmce.su) |    { Age: 9060 days }
  684.  
  685. exit 0 # Just in case...
  686.