bugGNU gettext - Bugs: bug #35527, xgettext only partially extracts a...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #35527: xgettext only partially extracts a string if \0 is in the string

Submitted by:  None
Submitted on:  Tue Feb 14 13:35:50 2012  
 
Category: CSeverity: 3 - Normal
Item Group: NoneStatus: Not a Bug
Privacy: PublicAssigned to: Miguel Ángel Arruga Vivas <m1gu3l>
Open/Closed: Closed

Tue Feb 14 16:57:08 2012, comment #1:

oh never mind. I didn't see it had already been marked as 'not a bug' because I only displayed the 'open' bugs. Feel free to close the bug and sorry for the noise.

Anonymous
Tue Feb 14 13:35:50 2012, original submission:

xgettext -a only extracts part of a string if the character \0 is in it.

This happens for example in BusyBox 1.19.3 in coreutils/stty.c:

const char *fmt_str = "%lu %lu\n\0ispeed %lu baud; ospeed %lu baud;";

The result that xgettext returns is "%lu %lu\n"

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by haible (Updated the item)
  • -unavailable- added by m1gu3l (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Nov 27 01:20:48 2016haibleCategoryNone=>C
      Assigned toNone=>m1gu3l
    Fri Mar 1 20:12:38 2013m1gu3lOpen/ClosedOpen=>Closed
      Summaryxgettext only partially extracts a string if \\0 is in the string=>xgettext only partially extracts a string if \0 is in the string
    Thu Feb 28 10:28:21 2013m1gu3lStatusNone=>Not a Bug
      Summaryxgettext only partially extracts a string if \\0 is in the string=>xgettext only partially extracts a string if \0 is in the string

    Back to the top


    Powered by Savane 3.1-cleanup