[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #1698: Use 0666 as the default file mode in "file-open" from the chi
From: |
Chicken Trac |
Subject: |
Re: #1698: Use 0666 as the default file mode in "file-open" from the chicken.file.posix module |
Date: |
Wed, 13 May 2020 05:56:19 -0000 |
#1698: Use 0666 as the default file mode in "file-open" from the
chicken.file.posix module
---------------------------------------+---------------------
Reporter: evhan | Owner: (none)
Type: change request | Status: new
Priority: minor | Milestone: someday
Component: core libraries | Version: 5.2.0
Resolution: | Keywords:
Estimated difficulty: trivial |
---------------------------------------+---------------------
Description changed by evhan:
Old description:
> Currently, using `file-open` without the optional mode argument which
> otherwise defaults to 0744 in posixunix.scm. This is inconsistent with
> the behavior of other procedures such as `open-output-file` (0644). We
> should rather use 0666 as the default mode to align with the procedures
> that create files with fopen(3).
>
> From: https://lists.nongnu.org/archive/html/chicken-
> hackers/2020-05/msg00021.html
New description:
Currently, using `file-open` without the optional mode argument uses a
default mode of 0744. We should rather use 0666 as the default mode to
align with the procedures that create files with fopen(3).
From: https://lists.nongnu.org/archive/html/chicken-
hackers/2020-05/msg00021.html
--
--
Ticket URL: <https://bugs.call-cc.org/ticket/1698#comment:1>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.