bugGNU gettext - Bugs: bug #25803, write-catalog.c, open with O_CREAT...

 
 

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

bug #25803: write-catalog.c, open with O_CREAT missing mode param

Submitted by:  None
Submitted on:  Mon 09 Mar 2009 06:22:17 PM UTC  
 
Category: BuildSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Closed

Mon 09 Mar 2009 11:18:20 PM UTC, comment #1:

Thanks for reporting this. In the next release, these lines in
write-catalog.c will read as follows:

fd = open (filename, O_WRONLY | O_CREAT | O_TRUNC,
/* 0666 in portable POSIX notation: */
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Mon 09 Mar 2009 06:22:17 PM UTC, original submission:

gettext release 0.17
gettext fails to compile in mingw cross env on ubuntu.
gettext-tools/src/write-catalog.c:223 has:
fd = open (filename, O_WRONLY | O_CREAT);
O_CREAT requires 3rd mode param.

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 (Posted a comment)
  •  

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 12:12:34 AM UTChaibleCategoryNone=>Build
    Mon 09 Mar 2009 11:18:20 PM UTChaibleStatusNone=>Fixed
      Assigned toNone=>haible
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1