OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc_const.h versions 1.34 and 1.35
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc_const.h 1.34 -> 1.35

--- rc_const.h   2003/07/07 13:30:51     1.34
+++ rc_const.h   2003/07/11 08:49:36     1.35
@@ -143,7 +143,7 @@
 #define RC_DEF_ON     "1"                       /* Digital switch */
 #define RC_DEF_OFF    "0"                       /* Digital switch */
 #define RC_DEF_TMP    "/tmp"                    /* Temporary directory name */
-#define RC_DEF_DEF    "^%(\\w+)[ \t]*(.*?)\\n(.*?)^$" /* Section definition */
+#define RC_DEF_DEF    "(?:^|\\n)%(\\w+)[ \t]*(.*?)\\n(.*?)(?:\\n%|$)" /* Section definition */
 #define RC_DEF_NCF    "config"                  /* Config section name */
 #define RC_DEF_CMN    "common"                  /* Common section name */
 #define RC_DEF_UIG    "-u"                      /* Section user string */

CVSTrac 2.0.1