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

Submitter:  None
Submitted:  Mon 09 Mar 2009 06:22:17 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  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>
Group administrator
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

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2016-11-27 haible CategoryNone Build
    2009-03-09 haible StatusNone Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code