From 885b60b3ea2aed49543ea87490ff971a68a5c2f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicol=C3=A1s=20Dimov?= Date: Mon, 5 Apr 2004 23:57:31 +0000 Subject: [PATCH] un change mas en la extension --- tipo3/param_cte.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tipo3/param_cte.c b/tipo3/param_cte.c index be8cb77..149ece6 100644 --- a/tipo3/param_cte.c +++ b/tipo3/param_cte.c @@ -50,14 +50,14 @@ int leer_registro(EMUFS *emu, int ID, void *ptr, unsigned long tam_reg) } -/*busco el ID en el archivo xxxxx.ids, para ver si puedo usar ese ID.*/ +/*busco el ID en el archivo xxxxx.did, para ver si puedo usar ese ID.*/ int existe_registro(EMUFS *emu, int ID) { FILE* f_reg_exist; int reg; char name_f_reg_exist[255]; strcpy(name_f_reg_exist,emu->nombre); - strcat(name_f_reg_exist,".ids"); + strcat(name_f_reg_exist,".did"); if ( (f_reg_exist = fopen(name_f_reg_exist,"r")) == NULL) return -1; /*ERROR*/ while ( !feof(f_reg_exist) ){ fread(®,sizeof(int),1,f_reg_exist); @@ -281,7 +281,7 @@ int get_id(EMUFS *emu) strcat(name_f_block_reg,".idx"); strcpy(name_f_reg_exist,emu->nombre); - strcat(name_f_reg_exist,".ids"); + strcat(name_f_reg_exist,".did"); if ( (f_reg_exist = fopen(name_f_reg_exist,"r")) == NULL) return -1; /*ERROR*/ fseek(f_reg_exist, 0, SEEK_END); -- 2.43.0