You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
2.0 KiB
54 lines
2.0 KiB
diff -up rarian-0.8.1/librarian/rarian-omf.cpp.categories rarian-0.8.1/librarian/rarian-omf.cpp
|
|
--- rarian-0.8.1/librarian/rarian-omf.cpp.categories 2008-09-01 14:40:21.000000000 -0400
|
|
+++ rarian-0.8.1/librarian/rarian-omf.cpp 2008-11-10 19:42:02.000000000 -0500
|
|
@@ -637,28 +637,28 @@ omf_process_category (char *omf_cat)
|
|
result = strdup ("Filesystem");
|
|
} else if (!strncmp (next, "Networking", 10)) {
|
|
result = strdup ("Network");
|
|
- } else if (!strncmp (next, "Configuration", 13)) {
|
|
- /* Yet another don't care */
|
|
- result = strdup ("Settings");
|
|
- } else if (!strncmp (next, "Hardware", 8)) {
|
|
- /* Another don't care */
|
|
- result = strdup ("HardwareSettings");
|
|
- } else if (!strncmp (next, "Package Management", 18)) {
|
|
- result = strdup ("PackageManager");
|
|
- } else if (!strncmp (next, "Security", 8)) {
|
|
- result = strdup ("Security");
|
|
- } else if (!strncmp (next, "Services", 8)) {
|
|
- next = &(next[8]);
|
|
- while (*next == '|') next++;
|
|
- if (!next || *next == 0) {
|
|
- result = strdup ("System");
|
|
- } else if (!strncmp (next, "Printing", 8)) {
|
|
- result = strdup ("Printing");
|
|
- } else {
|
|
- result = strdup ("System");
|
|
- }
|
|
} else {
|
|
- goto failed;
|
|
+ goto failed;
|
|
+ }
|
|
+ } else if (!strncmp (next, "Configuration", 13)) {
|
|
+ /* Yet another don't care */
|
|
+ result = strdup ("Settings");
|
|
+ } else if (!strncmp (next, "Hardware", 8)) {
|
|
+ /* Another don't care */
|
|
+ result = strdup ("HardwareSettings");
|
|
+ } else if (!strncmp (next, "Package Management", 18)) {
|
|
+ result = strdup ("PackageManager");
|
|
+ } else if (!strncmp (next, "Security", 8)) {
|
|
+ result = strdup ("Security");
|
|
+ } else if (!strncmp (next, "Services", 8)) {
|
|
+ next = &(next[8]);
|
|
+ while (*next == '|') next++;
|
|
+ if (!next || *next == 0) {
|
|
+ result = strdup ("System");
|
|
+ } else if (!strncmp (next, "Printing", 8)) {
|
|
+ result = strdup ("Printing");
|
|
+ } else {
|
|
+ result = strdup ("System");
|
|
}
|
|
} else {
|
|
goto failed;
|