***********************
** FILE NAME : irix_syslog_cooker.cpp
** SYSTEM NAME :
-** VERSION NUMBER : $Revision: 1.3 $
+** VERSION NUMBER : $Revision: 1.4 $
**
** DESCRIPTION : Cooks IRIX system log lines
**
/*****************************
$Log: irix_syslog_cooker.cpp,v $
- Revision 1.3 2007-01-11 13:51:40 arjen
+ Revision 1.4 2007-10-19 07:22:12 arjen
+ When extracting the service name for a log entry, the '/' character
+ is not considered part of that name.
+
+ Revision 1.3 2007/01/11 13:51:40 arjen
The '-' character is part of the service name.
Revision 1.2 2004/01/13 12:20:13 arjen
*****************************/
-/* static const char *RCSID = "$Id: irix_syslog_cooker.cpp,v 1.3 2007-01-11 13:51:40 arjen Exp $"; */
+/* static const char *RCSID = "$Id: irix_syslog_cooker.cpp,v 1.4 2007-10-19 07:22:12 arjen Exp $"; */
#include <ctype.h>
// Extract the service
rest <<= i + 1;
- for (i = 0; (isalpha(rest[i]) || rest[i] == '/' || rest[i] == '.' || rest[i] == '-') && i < ~rest; i++);
+ for (i = 0; (isalpha(rest[i]) || rest[i] == '.' || rest[i] == '-') && i < ~rest; i++);
srv = rest(0, i);
return true;
***********************
** FILE NAME : syslog_cooker.cpp
** SYSTEM NAME :
-** VERSION NUMBER : $Revision: 1.3 $
+** VERSION NUMBER : $Revision: 1.4 $
**
** DESCRIPTION : Cooks system log lines
**
/*****************************
$Log: syslog_cooker.cpp,v $
- Revision 1.3 2007-01-11 13:51:40 arjen
+ Revision 1.4 2007-10-19 07:22:12 arjen
+ When extracting the service name for a log entry, the '/' character
+ is not considered part of that name.
+
+ Revision 1.3 2007/01/11 13:51:40 arjen
The '-' character is part of the service name.
Revision 1.2 2004/01/13 12:20:12 arjen
*****************************/
-/* static const char *RCSID = "$Id: syslog_cooker.cpp,v 1.3 2007-01-11 13:51:40 arjen Exp $"; */
+/* static const char *RCSID = "$Id: syslog_cooker.cpp,v 1.4 2007-10-19 07:22:12 arjen Exp $"; */
#include <ctype.h>
// Extract the service
rest <<= i + 1;
- for (i = 0; (isalpha(rest[i]) || rest[i] == '/' || rest[i] == '.' || rest[i] == '-') && i < ~rest; i++);
+ for (i = 0; (isalpha(rest[i]) || rest[i] == '.' || rest[i] == '-') && i < ~rest; i++);
srv = rest(0, i);
return true;