--- src/msgattrib.c 2007-07-23 01:20:35.000000000 +0100 +++ src.ORIGINAL/msgattrib.c 2007-07-18 17:17:08.000000000 +0100 @@ -61,8 +61,7 @@ REMOVE_FUZZY = 1 << 2, REMOVE_NONFUZZY = 1 << 3, REMOVE_OBSOLETE = 1 << 4, - REMOVE_NONOBSOLETE = 1 << 5, - REMOVE_COPIED = 1 << 6 + REMOVE_NONOBSOLETE = 1 << 5 }; static int to_remove; @@ -91,7 +90,6 @@ { "help", no_argument, NULL, 'h' }, { "ignore-file", required_argument, NULL, CHAR_MAX + 15 }, { "indent", no_argument, NULL, 'i' }, - { "no-copied", no_argument, NULL, CHAR_MAX + 19 }, { "no-escape", no_argument, NULL, 'e' }, { "no-fuzzy", no_argument, NULL, CHAR_MAX + 3 }, { "no-location", no_argument, &line_comment, 0 }, @@ -316,10 +314,6 @@ to_change |= REMOVE_PREV; break; - case CHAR_MAX + 19: /* --no-copied */ - to_remove |= REMOVE_COPIED; - break; - default: usage (EXIT_FAILURE); /* NOTREACHED */ @@ -442,8 +436,6 @@ --no-obsolete remove obsolete #~ messages\n")); printf (_("\ --only-obsolete keep obsolete #~ messages\n")); - printf (_("\ - --no-copied remove copied messages\n")); printf ("\n"); printf (_("\ Attribute manipulation:\n")); @@ -544,21 +536,6 @@ : to_remove & REMOVE_NONOBSOLETE)) return false; - if (to_remove & REMOVE_COPIED) - { - if (!strcmp(mp->msgid, mp->msgstr) && strlen(mp->msgstr)+1 >= mp->msgstr_len) - { - return false; - } - else if ( strlen(mp->msgstr)+1 < mp->msgstr_len ) - { - if ( !strcmp(mp->msgstr + strlen(mp->msgstr)+1, mp->msgid_plural) ) - { - return false; - } - } - } - return true; }