diff options
| author | Eric Andersen <andersen@codepoet.org> | 1999-10-23 07:09:58 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 1999-10-23 07:09:58 +0000 |
| commit | d143e8f2bd03470e891a5e3ccca5734edd917e73 (patch) | |
| tree | 74d798531334876e49e3f3748d1646b7b5e993d7 | |
| parent | a709317cea0180772616152d2f1af195a95703fd (diff) | |
| download | busybox-w32-d143e8f2bd03470e891a5e3ccca5734edd917e73.tar.gz busybox-w32-d143e8f2bd03470e891a5e3ccca5734edd917e73.tar.bz2 busybox-w32-d143e8f2bd03470e891a5e3ccca5734edd917e73.zip | |
Stuf
| -rw-r--r-- | .cvsignore | 1 | ||||
| -rw-r--r-- | archival/gzip.c | 28 | ||||
| -rw-r--r-- | busybox.def.h | 2 | ||||
| -rw-r--r-- | gzip.c | 28 | ||||
| -rw-r--r-- | zcat.c | 20 |
5 files changed, 8 insertions, 71 deletions
diff --git a/.cvsignore b/.cvsignore index a1a4c366c..a5a897311 100644 --- a/.cvsignore +++ b/.cvsignore | |||
| @@ -1 +1,2 @@ | |||
| 1 | busybox | 1 | busybox |
| 2 | busybox.links | ||
diff --git a/archival/gzip.c b/archival/gzip.c index 0ed20b61a..7571a3f6a 100644 --- a/archival/gzip.c +++ b/archival/gzip.c | |||
| @@ -380,7 +380,7 @@ extern int block_mode; /* block compress mode -C compatible with 2.0 */ | |||
| 380 | # undef LZW | 380 | # undef LZW |
| 381 | #endif | 381 | #endif |
| 382 | 382 | ||
| 383 | /* $Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $ */ | 383 | /* $Id: gzip.c,v 1.5 1999/10/23 07:09:58 andersen Exp $ */ |
| 384 | /* tailor.h -- target dependent definitions | 384 | /* tailor.h -- target dependent definitions |
| 385 | * Copyright (C) 1992-1993 Jean-loup Gailly. | 385 | * Copyright (C) 1992-1993 Jean-loup Gailly. |
| 386 | * This is free software; you can redistribute it and/or modify it under the | 386 | * This is free software; you can redistribute it and/or modify it under the |
| @@ -391,7 +391,7 @@ extern int block_mode; /* block compress mode -C compatible with 2.0 */ | |||
| 391 | * The target dependent functions should be defined in tailor.c. | 391 | * The target dependent functions should be defined in tailor.c. |
| 392 | */ | 392 | */ |
| 393 | 393 | ||
| 394 | /* $Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $ */ | 394 | /* $Id: gzip.c,v 1.5 1999/10/23 07:09:58 andersen Exp $ */ |
| 395 | 395 | ||
| 396 | #if defined(__MSDOS__) && !defined(MSDOS) | 396 | #if defined(__MSDOS__) && !defined(MSDOS) |
| 397 | # define MSDOS | 397 | # define MSDOS |
| @@ -766,10 +766,6 @@ extern int block_mode; /* block compress mode -C compatible with 2.0 */ | |||
| 766 | # include <stdio.h> | 766 | # include <stdio.h> |
| 767 | #endif | 767 | #endif |
| 768 | 768 | ||
| 769 | #ifdef RCSID | ||
| 770 | static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $"; | ||
| 771 | #endif | ||
| 772 | |||
| 773 | /* =========================================================================== | 769 | /* =========================================================================== |
| 774 | * Local data used by the "bit string" routines. | 770 | * Local data used by the "bit string" routines. |
| 775 | */ | 771 | */ |
| @@ -975,10 +971,6 @@ void copy_block(buf, len, header) | |||
| 975 | 971 | ||
| 976 | #include <stdio.h> | 972 | #include <stdio.h> |
| 977 | 973 | ||
| 978 | #ifdef RCSID | ||
| 979 | static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $"; | ||
| 980 | #endif | ||
| 981 | |||
| 982 | /* =========================================================================== | 974 | /* =========================================================================== |
| 983 | * Configuration parameters | 975 | * Configuration parameters |
| 984 | */ | 976 | */ |
| @@ -1591,10 +1583,6 @@ ulg deflate() | |||
| 1591 | * For the meaning of all compilation flags, see comments in Makefile.in. | 1583 | * For the meaning of all compilation flags, see comments in Makefile.in. |
| 1592 | */ | 1584 | */ |
| 1593 | 1585 | ||
| 1594 | #ifdef RCSID | ||
| 1595 | static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $"; | ||
| 1596 | #endif | ||
| 1597 | |||
| 1598 | #include <ctype.h> | 1586 | #include <ctype.h> |
| 1599 | #include <sys/types.h> | 1587 | #include <sys/types.h> |
| 1600 | #include <signal.h> | 1588 | #include <signal.h> |
| @@ -1924,10 +1912,6 @@ local void do_exit(int exitcode) | |||
| 1924 | 1912 | ||
| 1925 | #include <ctype.h> | 1913 | #include <ctype.h> |
| 1926 | 1914 | ||
| 1927 | #ifdef RCSID | ||
| 1928 | static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $"; | ||
| 1929 | #endif | ||
| 1930 | |||
| 1931 | /* =========================================================================== | 1915 | /* =========================================================================== |
| 1932 | * Constants | 1916 | * Constants |
| 1933 | */ | 1917 | */ |
| @@ -2942,10 +2926,6 @@ local void set_file_type() | |||
| 2942 | * terms of the GNU General Public License, see the file COPYING. | 2926 | * terms of the GNU General Public License, see the file COPYING. |
| 2943 | */ | 2927 | */ |
| 2944 | 2928 | ||
| 2945 | #ifdef RCSID | ||
| 2946 | static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $"; | ||
| 2947 | #endif | ||
| 2948 | |||
| 2949 | #include <ctype.h> | 2929 | #include <ctype.h> |
| 2950 | #include <errno.h> | 2930 | #include <errno.h> |
| 2951 | #include <sys/types.h> | 2931 | #include <sys/types.h> |
| @@ -3141,10 +3121,6 @@ void display_ratio(num, den, file) | |||
| 3141 | * terms of the GNU General Public License, see the file COPYING. | 3121 | * terms of the GNU General Public License, see the file COPYING. |
| 3142 | */ | 3122 | */ |
| 3143 | 3123 | ||
| 3144 | #ifdef RCSID | ||
| 3145 | static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $"; | ||
| 3146 | #endif | ||
| 3147 | |||
| 3148 | #include <ctype.h> | 3124 | #include <ctype.h> |
| 3149 | #include <sys/types.h> | 3125 | #include <sys/types.h> |
| 3150 | 3126 | ||
diff --git a/busybox.def.h b/busybox.def.h index 033ccca84..845e46382 100644 --- a/busybox.def.h +++ b/busybox.def.h | |||
| @@ -40,7 +40,7 @@ | |||
| 40 | //#define BB_PRINTF | 40 | //#define BB_PRINTF |
| 41 | #define BB_PS | 41 | #define BB_PS |
| 42 | #define BB_PWD | 42 | #define BB_PWD |
| 43 | #define BB_REGEXP | 43 | //#define BB_REGEXP |
| 44 | #define BB_REBOOT | 44 | #define BB_REBOOT |
| 45 | #define BB_RM | 45 | #define BB_RM |
| 46 | #define BB_RMDIR | 46 | #define BB_RMDIR |
| @@ -380,7 +380,7 @@ extern int block_mode; /* block compress mode -C compatible with 2.0 */ | |||
| 380 | # undef LZW | 380 | # undef LZW |
| 381 | #endif | 381 | #endif |
| 382 | 382 | ||
| 383 | /* $Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $ */ | 383 | /* $Id: gzip.c,v 1.5 1999/10/23 07:09:58 andersen Exp $ */ |
| 384 | /* tailor.h -- target dependent definitions | 384 | /* tailor.h -- target dependent definitions |
| 385 | * Copyright (C) 1992-1993 Jean-loup Gailly. | 385 | * Copyright (C) 1992-1993 Jean-loup Gailly. |
| 386 | * This is free software; you can redistribute it and/or modify it under the | 386 | * This is free software; you can redistribute it and/or modify it under the |
| @@ -391,7 +391,7 @@ extern int block_mode; /* block compress mode -C compatible with 2.0 */ | |||
| 391 | * The target dependent functions should be defined in tailor.c. | 391 | * The target dependent functions should be defined in tailor.c. |
| 392 | */ | 392 | */ |
| 393 | 393 | ||
| 394 | /* $Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $ */ | 394 | /* $Id: gzip.c,v 1.5 1999/10/23 07:09:58 andersen Exp $ */ |
| 395 | 395 | ||
| 396 | #if defined(__MSDOS__) && !defined(MSDOS) | 396 | #if defined(__MSDOS__) && !defined(MSDOS) |
| 397 | # define MSDOS | 397 | # define MSDOS |
| @@ -766,10 +766,6 @@ extern int block_mode; /* block compress mode -C compatible with 2.0 */ | |||
| 766 | # include <stdio.h> | 766 | # include <stdio.h> |
| 767 | #endif | 767 | #endif |
| 768 | 768 | ||
| 769 | #ifdef RCSID | ||
| 770 | static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $"; | ||
| 771 | #endif | ||
| 772 | |||
| 773 | /* =========================================================================== | 769 | /* =========================================================================== |
| 774 | * Local data used by the "bit string" routines. | 770 | * Local data used by the "bit string" routines. |
| 775 | */ | 771 | */ |
| @@ -975,10 +971,6 @@ void copy_block(buf, len, header) | |||
| 975 | 971 | ||
| 976 | #include <stdio.h> | 972 | #include <stdio.h> |
| 977 | 973 | ||
| 978 | #ifdef RCSID | ||
| 979 | static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $"; | ||
| 980 | #endif | ||
| 981 | |||
| 982 | /* =========================================================================== | 974 | /* =========================================================================== |
| 983 | * Configuration parameters | 975 | * Configuration parameters |
| 984 | */ | 976 | */ |
| @@ -1591,10 +1583,6 @@ ulg deflate() | |||
| 1591 | * For the meaning of all compilation flags, see comments in Makefile.in. | 1583 | * For the meaning of all compilation flags, see comments in Makefile.in. |
| 1592 | */ | 1584 | */ |
| 1593 | 1585 | ||
| 1594 | #ifdef RCSID | ||
| 1595 | static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $"; | ||
| 1596 | #endif | ||
| 1597 | |||
| 1598 | #include <ctype.h> | 1586 | #include <ctype.h> |
| 1599 | #include <sys/types.h> | 1587 | #include <sys/types.h> |
| 1600 | #include <signal.h> | 1588 | #include <signal.h> |
| @@ -1924,10 +1912,6 @@ local void do_exit(int exitcode) | |||
| 1924 | 1912 | ||
| 1925 | #include <ctype.h> | 1913 | #include <ctype.h> |
| 1926 | 1914 | ||
| 1927 | #ifdef RCSID | ||
| 1928 | static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $"; | ||
| 1929 | #endif | ||
| 1930 | |||
| 1931 | /* =========================================================================== | 1915 | /* =========================================================================== |
| 1932 | * Constants | 1916 | * Constants |
| 1933 | */ | 1917 | */ |
| @@ -2942,10 +2926,6 @@ local void set_file_type() | |||
| 2942 | * terms of the GNU General Public License, see the file COPYING. | 2926 | * terms of the GNU General Public License, see the file COPYING. |
| 2943 | */ | 2927 | */ |
| 2944 | 2928 | ||
| 2945 | #ifdef RCSID | ||
| 2946 | static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $"; | ||
| 2947 | #endif | ||
| 2948 | |||
| 2949 | #include <ctype.h> | 2929 | #include <ctype.h> |
| 2950 | #include <errno.h> | 2930 | #include <errno.h> |
| 2951 | #include <sys/types.h> | 2931 | #include <sys/types.h> |
| @@ -3141,10 +3121,6 @@ void display_ratio(num, den, file) | |||
| 3141 | * terms of the GNU General Public License, see the file COPYING. | 3121 | * terms of the GNU General Public License, see the file COPYING. |
| 3142 | */ | 3122 | */ |
| 3143 | 3123 | ||
| 3144 | #ifdef RCSID | ||
| 3145 | static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $"; | ||
| 3146 | #endif | ||
| 3147 | |||
| 3148 | #include <ctype.h> | 3124 | #include <ctype.h> |
| 3149 | #include <sys/types.h> | 3125 | #include <sys/types.h> |
| 3150 | 3126 | ||
| @@ -58,10 +58,6 @@ static char *license_msg[] = { | |||
| 58 | * For the meaning of all compilation flags, see comments in Makefile.in. | 58 | * For the meaning of all compilation flags, see comments in Makefile.in. |
| 59 | */ | 59 | */ |
| 60 | 60 | ||
| 61 | #ifdef RCSID | ||
| 62 | static char rcsid[] = "$Id: zcat.c,v 1.4 1999/10/19 22:26:25 andersen Exp $"; | ||
| 63 | #endif | ||
| 64 | |||
| 65 | #include <ctype.h> | 61 | #include <ctype.h> |
| 66 | #include <sys/types.h> | 62 | #include <sys/types.h> |
| 67 | #include <signal.h> | 63 | #include <signal.h> |
| @@ -80,7 +76,7 @@ static char rcsid[] = "$Id: zcat.c,v 1.4 1999/10/19 22:26:25 andersen Exp $"; | |||
| 80 | * The target dependent functions should be defined in tailor.c. | 76 | * The target dependent functions should be defined in tailor.c. |
| 81 | */ | 77 | */ |
| 82 | 78 | ||
| 83 | /* $Id: zcat.c,v 1.4 1999/10/19 22:26:25 andersen Exp $ */ | 79 | /* $Id: zcat.c,v 1.5 1999/10/23 07:09:58 andersen Exp $ */ |
| 84 | 80 | ||
| 85 | #define RECORD_IO 0 | 81 | #define RECORD_IO 0 |
| 86 | 82 | ||
| @@ -436,7 +432,7 @@ extern int unlzw OF((int in, int out)); | |||
| 436 | # undef LZW | 432 | # undef LZW |
| 437 | #endif | 433 | #endif |
| 438 | 434 | ||
| 439 | /* $Id: zcat.c,v 1.4 1999/10/19 22:26:25 andersen Exp $ */ | 435 | /* $Id: zcat.c,v 1.5 1999/10/23 07:09:58 andersen Exp $ */ |
| 440 | 436 | ||
| 441 | /* #include "getopt.h" */ | 437 | /* #include "getopt.h" */ |
| 442 | 438 | ||
| @@ -894,10 +890,6 @@ RETSIGTYPE abort_gzip() | |||
| 894 | either deflated or stored. | 890 | either deflated or stored. |
| 895 | */ | 891 | */ |
| 896 | 892 | ||
| 897 | #ifdef RCSID | ||
| 898 | static char rcsid[] = "$Id: zcat.c,v 1.4 1999/10/19 22:26:25 andersen Exp $"; | ||
| 899 | #endif | ||
| 900 | |||
| 901 | /* #include "crypt.h" */ | 893 | /* #include "crypt.h" */ |
| 902 | 894 | ||
| 903 | /* crypt.h (dummy version) -- do not perform encryption | 895 | /* crypt.h (dummy version) -- do not perform encryption |
| @@ -1020,10 +1012,6 @@ int unzip(in, out) | |||
| 1020 | * terms of the GNU General Public License, see the file COPYING. | 1012 | * terms of the GNU General Public License, see the file COPYING. |
| 1021 | */ | 1013 | */ |
| 1022 | 1014 | ||
| 1023 | #ifdef RCSID | ||
| 1024 | static char rcsid[] = "$Id: zcat.c,v 1.4 1999/10/19 22:26:25 andersen Exp $"; | ||
| 1025 | #endif | ||
| 1026 | |||
| 1027 | #include <ctype.h> | 1015 | #include <ctype.h> |
| 1028 | #include <errno.h> | 1016 | #include <errno.h> |
| 1029 | #include <sys/types.h> | 1017 | #include <sys/types.h> |
| @@ -1407,10 +1395,6 @@ const ulg crc_32_tab[] = { | |||
| 1407 | the two sets of lengths. | 1395 | the two sets of lengths. |
| 1408 | */ | 1396 | */ |
| 1409 | 1397 | ||
| 1410 | #ifdef RCSID | ||
| 1411 | static char rcsid[] = "$Id: zcat.c,v 1.4 1999/10/19 22:26:25 andersen Exp $"; | ||
| 1412 | #endif | ||
| 1413 | |||
| 1414 | #include <sys/types.h> | 1398 | #include <sys/types.h> |
| 1415 | 1399 | ||
| 1416 | #if defined(STDC_HEADERS) || !defined(NO_STDLIB_H) | 1400 | #if defined(STDC_HEADERS) || !defined(NO_STDLIB_H) |
