bugGNU gettext - Bugs: bug #29086, [patch] xgettext and libmagic...

 
 

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

bug #29086: [patch] xgettext and libmagic support

Submitted by:  Victor Ananjevsky <ananas>
Submitted on:  Sat 06 Mar 2010 06:38:03 AM UTC  
 
Category: Programmer toolsSeverity: 3 - Normal
Item Group: NoneStatus: Not a Bug
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Closed

Thu 20 May 2010 11:06:47 PM UTC, comment #1:

Thanks for the suggestion.

After trying the "file" command on a couple of source files
in Perl, PHP, Java, and similar, I found that it errs too
often. In other ways, this is too unreliable.

"file" is fine when dealing with files with specific magic
numbers, such binary object files or other dedicated binary
files. For guessing a programming language of some text file
it is not usable.

I therefore won't take your patch or the idea. Sorry.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Sat 06 Mar 2010 06:38:03 AM UTC, original submission:

This patch add libmagic support to xgettext

When gettext configured with option --with-magic and xgettext run with --mime-type argument, it will try to determine file language from his mime-type before file extension

Victor Ananjevsky <ananas>

 

Attached Files
file #19860:  gettext-0.17-magic.patch added by ananas (12KiB - application/octet-stream - libmagic patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by haible (Posted a comment)
  • -unavailable- added by ananas (Submitted the item)
  • -unavailable- added by ananas
  •  

    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 27 Nov 2016 12:31:42 AM UTChaibleCategoryNone=>Programmer tools
    Thu 20 May 2010 11:06:47 PM UTChaibleStatusNone=>Not a Bug
      Assigned toNone=>haible
      Open/ClosedOpen=>Closed
    Sat 06 Mar 2010 06:38:03 AM UTCananasAttached File-=>Added gettext-0.17-magic.patch, #19860
      Carbon-Copy-=>Added ananas

    Back to the top


    Powered by Savane 3.1-cleanup1