repo: ngircd action: commit revision: path_from: revision_from: 0903e7763c9d6c56f994829b26f68a58859a9d27: path_to: revision_to:
commit 0903e7763c9d6c56f994829b26f68a58859a9d27 Author: Alexander BartonDate: Sun Mar 10 17:45:41 2002 +0000 - bei "ngircd --version" werden nun die eincompilierten Pfade angezeigt. diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c
--- a/src/ngircd/ngircd.c
+++ b/src/ngircd/ngircd.c
@@ -9,11 +9,14 @@
* Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
* der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
*
- * $Id: ngircd.c,v 1.29 2002/03/06 15:36:04 alex Exp $
+ * $Id: ngircd.c,v 1.30 2002/03/10 17:45:41 alex Exp $
*
* ngircd.c: Hier beginnt alles ;-)
*
* $Log: ngircd.c,v $
+ * Revision 1.30 2002/03/10 17:45:41 alex
+ * - bei "ngircd --version" werden nun die eincompilierten Pfade angezeigt.
+ *
* Revision 1.29 2002/03/06 15:36:04 alex
* - stderr wird nun in eine Datei umgelenkt (ngircd.err). Wenn der Server
* nicht im Debug-Modus laeuft, so wird diese bei Programmende geloescht.
@@ -207,7 +210,7 @@ GLOBAL INT main( INT argc, CONST CHAR *argv[] )
#endif
if( strcmp( argv[i], "--version" ) == 0 )
{
- Show_Version( );
+ Show_Version( ); puts( "" );
exit( 1 );
}
}
@@ -486,6 +489,10 @@ LOCAL VOID Show_Version( VOID )
puts( "Copyright (c)2001,2002 by Alexander Barton (alex@barton.de).\n" );
puts( "This is free software; see the source for copying conditions. There is NO" );
puts( "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." );
+ puts( "\nCompile-time defaults:\n" );
+ puts( " - configuration: "CONFIG_FILE );
+ puts( " - MOTD file: "MOTD_FILE );
+ puts( " - server error log: "ERROR_FILE );
} /* Show_Version */
-----END OF PAGE-----