Changeset 203 for trunk/src/sh_userfiles.c
- Timestamp:
- Dec 7, 2008, 7:26:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_userfiles.c
r149 r203 215 215 * So, compare longest strings first */ 216 216 if( s == NULL ) /* The default */ new->level = default_level; 217 else if ( strstr(s, "attributes")!= NULL ) new->level = SH_LEVEL_ATTRIBUTES;218 else if ( strstr(s, "allignore") != NULL ) new->level = SH_LEVEL_ALLIGNORE;219 else if ( strstr(s, "noignore") != NULL ) new->level = SH_LEVEL_NOIGNORE;220 else if ( strstr(s, "logfiles") != NULL ) new->level = SH_LEVEL_LOGFILES;221 else if ( strstr(s, "readonly") != NULL ) new->level = SH_LEVEL_READONLY;222 else if ( strstr(s, "loggrow") != NULL ) new->level = SH_LEVEL_LOGGROW;223 else if ( strstr(s, "user0") != NULL ) new->level = SH_LEVEL_USER0;224 else if ( strstr(s, "user1") != NULL ) new->level = SH_LEVEL_USER1;225 else if ( strstr(s, "user2") != NULL ) new->level = SH_LEVEL_USER2;226 else if ( strstr(s, "user3") != NULL ) new->level = SH_LEVEL_USER3;227 else if ( strstr(s, "user4") != NULL ) new->level = SH_LEVEL_USER4;228 else if ( strstr(s, "prelink") != NULL ) new->level = SH_LEVEL_PRELINK;217 else if ( strstr(s, _("attributes"))!= NULL ) new->level = SH_LEVEL_ATTRIBUTES; 218 else if ( strstr(s, _("allignore")) != NULL ) new->level = SH_LEVEL_ALLIGNORE; 219 else if ( strstr(s, _("noignore")) != NULL ) new->level = SH_LEVEL_NOIGNORE; 220 else if ( strstr(s, _("logfiles")) != NULL ) new->level = SH_LEVEL_LOGFILES; 221 else if ( strstr(s, _("readonly")) != NULL ) new->level = SH_LEVEL_READONLY; 222 else if ( strstr(s, _("loggrow")) != NULL ) new->level = SH_LEVEL_LOGGROW; 223 else if ( strstr(s, _("user0")) != NULL ) new->level = SH_LEVEL_USER0; 224 else if ( strstr(s, _("user1")) != NULL ) new->level = SH_LEVEL_USER1; 225 else if ( strstr(s, _("user2")) != NULL ) new->level = SH_LEVEL_USER2; 226 else if ( strstr(s, _("user3")) != NULL ) new->level = SH_LEVEL_USER3; 227 else if ( strstr(s, _("user4")) != NULL ) new->level = SH_LEVEL_USER4; 228 else if ( strstr(s, _("prelink")) != NULL ) new->level = SH_LEVEL_PRELINK; 229 229 else /* The default */ new->level = default_level; 230 230
Note:
See TracChangeset
for help on using the changeset viewer.