|
|
78dc39c |
diff -up rarian-0.8.1/librarian/rarian-omf.cpp.categories rarian-0.8.1/librarian/rarian-omf.cpp
|
|
|
78dc39c |
--- rarian-0.8.1/librarian/rarian-omf.cpp.categories 2008-09-01 14:40:21.000000000 -0400
|
|
|
78dc39c |
+++ rarian-0.8.1/librarian/rarian-omf.cpp 2008-11-10 19:42:02.000000000 -0500
|
|
|
78dc39c |
@@ -637,28 +637,28 @@ omf_process_category (char *omf_cat)
|
|
|
78dc39c |
result = strdup ("Filesystem");
|
|
|
78dc39c |
} else if (!strncmp (next, "Networking", 10)) {
|
|
|
78dc39c |
result = strdup ("Network");
|
|
|
78dc39c |
- } else if (!strncmp (next, "Configuration", 13)) {
|
|
|
78dc39c |
- /* Yet another don't care */
|
|
|
78dc39c |
- result = strdup ("Settings");
|
|
|
78dc39c |
- } else if (!strncmp (next, "Hardware", 8)) {
|
|
|
78dc39c |
- /* Another don't care */
|
|
|
78dc39c |
- result = strdup ("HardwareSettings");
|
|
|
78dc39c |
- } else if (!strncmp (next, "Package Management", 18)) {
|
|
|
78dc39c |
- result = strdup ("PackageManager");
|
|
|
78dc39c |
- } else if (!strncmp (next, "Security", 8)) {
|
|
|
78dc39c |
- result = strdup ("Security");
|
|
|
78dc39c |
- } else if (!strncmp (next, "Services", 8)) {
|
|
|
78dc39c |
- next = &(next[8]);
|
|
|
78dc39c |
- while (*next == '|') next++;
|
|
|
78dc39c |
- if (!next || *next == 0) {
|
|
|
78dc39c |
- result = strdup ("System");
|
|
|
78dc39c |
- } else if (!strncmp (next, "Printing", 8)) {
|
|
|
78dc39c |
- result = strdup ("Printing");
|
|
|
78dc39c |
- } else {
|
|
|
78dc39c |
- result = strdup ("System");
|
|
|
78dc39c |
- }
|
|
|
78dc39c |
} else {
|
|
|
78dc39c |
- goto failed;
|
|
|
78dc39c |
+ goto failed;
|
|
|
78dc39c |
+ }
|
|
|
78dc39c |
+ } else if (!strncmp (next, "Configuration", 13)) {
|
|
|
78dc39c |
+ /* Yet another don't care */
|
|
|
78dc39c |
+ result = strdup ("Settings");
|
|
|
78dc39c |
+ } else if (!strncmp (next, "Hardware", 8)) {
|
|
|
78dc39c |
+ /* Another don't care */
|
|
|
78dc39c |
+ result = strdup ("HardwareSettings");
|
|
|
78dc39c |
+ } else if (!strncmp (next, "Package Management", 18)) {
|
|
|
78dc39c |
+ result = strdup ("PackageManager");
|
|
|
78dc39c |
+ } else if (!strncmp (next, "Security", 8)) {
|
|
|
78dc39c |
+ result = strdup ("Security");
|
|
|
78dc39c |
+ } else if (!strncmp (next, "Services", 8)) {
|
|
|
78dc39c |
+ next = &(next[8]);
|
|
|
78dc39c |
+ while (*next == '|') next++;
|
|
|
78dc39c |
+ if (!next || *next == 0) {
|
|
|
78dc39c |
+ result = strdup ("System");
|
|
|
78dc39c |
+ } else if (!strncmp (next, "Printing", 8)) {
|
|
|
78dc39c |
+ result = strdup ("Printing");
|
|
|
78dc39c |
+ } else {
|
|
|
78dc39c |
+ result = strdup ("System");
|
|
|
78dc39c |
}
|
|
|
78dc39c |
} else {
|
|
|
78dc39c |
goto failed;
|