/[tar]/tar/src/update.c
ViewVC logotype

Diff of /tar/src/update.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by gray, Sun Aug 31 22:55:21 2003 UTC revision 1.23 by eggert, Wed Sep 3 06:20:41 2003 UTC
# Line 1  Line 1 
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
# Line 108  update_archive (void) Line 108  update_archive (void)
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:
# Line 161  update_archive (void) Line 162  update_archive (void)
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;

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26