Difference for common/map.c from version 1.72 to 1.73


version 1.72 version 1.73
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_map_c =   * static char *rcsid_map_c =
  *   "$Id: map.c,v 1.72 2005/03/19 08:35:08 mwedel Exp $";   *   "$Id: map.c,v 1.73 2005/04/14 19:15:27 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 61
 
Line 61
  * it really should be called create_mapname   * it really should be called create_mapname
  */   */
   
 char *create_pathname (char *name) {  const char *create_pathname (const char *name) {
     static char buf[MAX_BUF];      static char buf[MAX_BUF];
   
     /* Why?  having extra / doesn't confuse unix anyplace?  Dependancies      /* Why?  having extra / doesn't confuse unix anyplace?  Dependancies
Line 78
 
Line 78
  * same as create_pathname, but for the overlay maps.   * same as create_pathname, but for the overlay maps.
  */   */
   
 char *create_overlay_pathname (char *name) {  const char *create_overlay_pathname (const char *name) {
     static char buf[MAX_BUF];      static char buf[MAX_BUF];
   
     /* Why?  having extra / doesn't confuse unix anyplace?  Dependancies      /* Why?  having extra / doesn't confuse unix anyplace?  Dependancies
Line 97
 
Line 97
  * files than full directory structure, but if this is problem it can    * files than full directory structure, but if this is problem it can
  * be changed.   * be changed.
  */   */
 static char *create_items_path (char *s) {  static const char *create_items_path (const char *s) {
     static char buf[MAX_BUF];      static char buf[MAX_BUF];
     char *t;      char *t;
          
Line 132
 
Line 132
  * that seems to be missing the prepend_dir processing   * that seems to be missing the prepend_dir processing
  */   */
   
 int check_path (char *name, int prepend_dir)  int check_path (const char *name, int prepend_dir)
 {  {
     char buf[MAX_BUF];      char buf[MAX_BUF];
 #ifndef WIN32  #ifndef WIN32
Line 825
 
Line 825
  * managed map list.   * managed map list.
  */   */
   
 mapstruct *load_original_map(char *filename, int flags) {  mapstruct *load_original_map(const char *filename, int flags) {
     FILE *fp;      FILE *fp;
     mapstruct *m;      mapstruct *m;
     int comp;      int comp;
Line 924
 
Line 924
  * option if we can't find the original map)   * option if we can't find the original map)
  */   */
   
 mapstruct *load_overlay_map(char *filename, mapstruct *m) {  mapstruct *load_overlay_map(const char *filename, mapstruct *m) {
     FILE *fp;      FILE *fp;
     int comp;      int comp;
     char pathname[MAX_BUF];      char pathname[MAX_BUF];


Legend:
line(s) removed in v.1.72 
line(s) changed
 line(s) added in v.1.73

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