1 |
|
2003-11-12 Paul Eggert <eggert@twinsun.com> |
2 |
|
|
3 |
|
Fix some C compatibility bugs reported by Joerg Schilling. |
4 |
|
|
5 |
|
* src/common.h (stripped_prefix_len): Fix misspelling |
6 |
|
"stripped_path_len" in declaration. |
7 |
|
* src/rmt.c (main): Use "return FOO;" rather than |
8 |
|
"exit (FOO);"; we no longer have to worry about |
9 |
|
pre-ANSI hosts that mishandled returned values from "main". |
10 |
|
* src/tar.c (main): Likewise. This avoids warnings on some |
11 |
|
compilers. |
12 |
|
* src/system.c: Include signal.h, for 'kill'. |
13 |
|
* src/system.h (DEV_BSIZE): Remove. |
14 |
|
(DEFAULT_ST_BLKSIZE): New macro. |
15 |
|
(ST_BLKSIZE): Use it, instead of DEV_BSIZE. |
16 |
|
* src/tar.c (enum): Remove comma just before }. |
17 |
|
|
18 |
2003-11-12 Sergey Poznyakoff <gray@Mirddin.farlep.net> |
2003-11-12 Sergey Poznyakoff <gray@Mirddin.farlep.net> |
19 |
|
|
20 |
* src/list.c (decode_header): Initialize st_atime and |
* src/list.c (decode_header): Initialize st_atime and |