Difference for common/porting.c from version 1.29 to 1.30


version 1.29 version 1.30
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_porting_c =   * static char *rcsid_porting_c =
  *   "$Id: porting.c,v 1.29 2005/12/11 19:11:32 akirschbaum Exp $";   *   "$Id: porting.c,v 1.30 2006/03/18 17:15:24 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 433
 
Line 433
  *                                                             Tchize   *                                                             Tchize
  */   */
   
 void save_long(char *buf, char *name, long n) {  void save_long(char *buf, const char *name, long n) {
     char buf2[MAX_BUF];      char buf2[MAX_BUF];
     strcpy(buf2,name);      strcpy(buf2,name);
     strcat(buf2," ");      strcat(buf2," ");
Line 461
 
Line 461
  * The first entry must be NULL - this is what is used for non   * The first entry must be NULL - this is what is used for non
  * compressed files.   * compressed files.
  */   */
 char *uncomp[NROF_COMPRESS_METHODS][3] = {  const char *uncomp[NROF_COMPRESS_METHODS][3] = {
     {NULL, NULL, NULL},      {NULL, NULL, NULL},
     {".Z", UNCOMPRESS, COMPRESS},      {".Z", UNCOMPRESS, COMPRESS},
     {".gz", GUNZIP, GZIP},      {".gz", GUNZIP, GZIP},


Legend:
line(s) removed in v.1.29 
line(s) changed
 line(s) added in v.1.30

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:16