| 1 |
/* Update a tar archive. |
/* Update a tar archive. |
| 2 |
|
|
| 3 |
Copyright (C) 1988, 1992, 1994, 1996, 1997, 1999, 2000, 2001 Free |
Copyright (C) 1988, 1992, 1994, 1996, 1997, 1999, 2000, 2001, 2003 |
| 4 |
Software Foundation, Inc. |
Free Software Foundation, Inc. |
| 5 |
|
|
| 6 |
This program is free software; you can redistribute it and/or modify it |
This program is free software; you can redistribute it and/or modify it |
| 7 |
under the terms of the GNU General Public License as published by the |
under the terms of the GNU General Public License as published by the |
| 108 |
|
|
| 109 |
while (!found_end) |
while (!found_end) |
| 110 |
{ |
{ |
| 111 |
enum read_header status = read_header (0); |
enum read_header status = read_header (false); |
| 112 |
|
|
| 113 |
switch (status) |
switch (status) |
| 114 |
{ |
{ |
| 115 |
case HEADER_STILL_UNREAD: |
case HEADER_STILL_UNREAD: |
| 116 |
|
case HEADER_SUCCESS_EXTENDED: |
| 117 |
abort (); |
abort (); |
| 118 |
|
|
| 119 |
case HEADER_SUCCESS: |
case HEADER_SUCCESS: |
| 162 |
break; |
break; |
| 163 |
|
|
| 164 |
case HEADER_END_OF_FILE: |
case HEADER_END_OF_FILE: |
| 165 |
|
case HEADER_SUCCESS_EXTENDED: |
| 166 |
abort (); |
abort (); |
| 167 |
} |
} |
| 168 |
break; |
break; |