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

Diff of /tar/src/compare.c

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

revision 1.14 by eggert, Wed Sep 3 06:11:52 2003 UTC revision 1.15 by gray, Fri Sep 5 13:24:15 2003 UTC
# Line 97  process_rawdata (size_t bytes, char *buf Line 97  process_rawdata (size_t bytes, char *buf
97          }          }
98        else        else
99          {          {
100            sprintf (message, _("Could only read %lu of %lu bytes"),            sprintf (message,
101                       ngettext ("Could only read %lu of %lu byte",
102                                 "Could only read %lu of %lu bytes",
103                                 bytes),
104                     (unsigned long) status, (unsigned long) bytes);                     (unsigned long) status, (unsigned long) bytes);
105            report_difference (message);            report_difference (message);
106          }          }
# Line 236  diff_sparse_files (void) Line 239  diff_sparse_files (void)
239                  {                  {
240                    char message[MESSAGE_BUFFER_SIZE];                    char message[MESSAGE_BUFFER_SIZE];
241    
242                    sprintf (message, _("Could only read %lu of %lu bytes"),                    sprintf (message,
243                               ngettext ("Could only read %lu of %lu byte",
244                                         "Could only read %lu of %lu bytes",
245                                         chunk_size),
246                             (unsigned long) status, (unsigned long) chunk_size);                             (unsigned long) status, (unsigned long) chunk_size);
247                    report_difference (message);                    report_difference (message);
248                  }                  }
# Line 268  diff_sparse_files (void) Line 274  diff_sparse_files (void)
274              {              {
275                char message[MESSAGE_BUFFER_SIZE];                char message[MESSAGE_BUFFER_SIZE];
276    
277                sprintf (message, _("Could only read %lu of %lu bytes"),                sprintf (message,
278                           ngettext ("Could only read %lu of %lu byte",
279                                     "Could only read %lu of %lu bytes",
280                                     chunk_size),
281                         (unsigned long) status, (unsigned long) chunk_size);                         (unsigned long) status, (unsigned long) chunk_size);
282                report_difference (message);                report_difference (message);
283              }              }
# Line 714  verify_volume (void) Line 723  verify_volume (void)
723            while (status == HEADER_FAILURE);            while (status == HEADER_FAILURE);
724    
725            ERROR ((0, 0,            ERROR ((0, 0,
726                    _("VERIFY FAILURE: %d invalid header(s) detected"), counter));                    ngettext ("VERIFY FAILURE: %d invalid header detected",
727                                "VERIFY FAILURE: %d invalid headers detected",
728                                counter), counter));
729          }          }
730        if (status == HEADER_ZERO_BLOCK || status == HEADER_END_OF_FILE)        if (status == HEADER_ZERO_BLOCK || status == HEADER_END_OF_FILE)
731          break;          break;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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