Modif des fonctions rdserror et rdswarning : en remplacant __FILE__ par

basename( __FILE__ )
This commit is contained in:
Ludovic Jacomme 2002-04-25 14:13:59 +00:00
parent ec62302295
commit 61950d09ad
7 changed files with 9 additions and 7 deletions

View File

@ -484,7 +484,7 @@
\
do \
{ \
if ( RDS_DEBUG_ON ) addrdsdebug(__LINE__,__FILE__); \
if ( RDS_DEBUG_ON ) addrdsdebug(__LINE__, basename(__FILE__)); \
} \
while ( 0 )

View File

@ -44,7 +44,7 @@
| |
\------------------------------------------------------------*/
# define rdserror( E, V ) (rds_error( (E), (V), __FILE__, __LINE__ ))
# define rdserror( E, V ) (rds_error( (E), (V), basename(__FILE__), __LINE__ ))
/*------------------------------------------------------------\
| |

View File

@ -41,7 +41,7 @@
| |
\------------------------------------------------------------*/
# define rfmerror( E, V ) (rfm_error( (E), (V), __FILE__, __LINE__ ))
# define rfmerror( E, V ) (rfm_error( (E), (V), basename(__FILE__), __LINE__ ))
/*------------------------------------------------------------\
| |

View File

@ -66,7 +66,7 @@
| |
\------------------------------------------------------------*/
# define rprerror( E, V, D ) (rpr_error( (E), (V), (D), __FILE__, __LINE__ ))
# define rprerror( E, V, D ) (rpr_error( (E), (V), (D), basename(__FILE__), __LINE__ ))
/*------------------------------------------------------------\
| |

View File

@ -45,7 +45,7 @@
| |
\------------------------------------------------------------*/
# define rtlerror( E, V ) (rtl_error( (E), (V), __FILE__, __LINE__ ))
# define rtlerror( E, V ) (rtl_error( (E), (V), basename(__FILE__), __LINE__ ))
/*------------------------------------------------------------\
| |

View File

@ -46,7 +46,9 @@
| |
\------------------------------------------------------------*/
# define ruterror( E, V ) (rut_error( (E), (V), __FILE__, __LINE__ ))
extern char *basename();
# define ruterror( E, V ) (rut_error( (E), (V), basename(__FILE__), __LINE__ ))
/*------------------------------------------------------------\
| |

View File

@ -41,7 +41,7 @@
| |
\------------------------------------------------------------*/
# define rwierror( E, V ) (rwi_error( (E), (V), __FILE__, __LINE__ ))
# define rwierror( E, V ) (rwi_error( (E), (V), basename(__FILE__), __LINE__ ))
/*------------------------------------------------------------\
| |