This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: thunk createDirectory and createFile calls


> From: Corinna Vinschen [mailto:cygwin-patches@cygwin.com]

> Well, we have a small problem with get_file_attributes and
> set_file_attributes.  We already have two functions called
> get_file_attribute and set_file_attribute.  Note that the difference
> is only the trailing 's'.
> 
> I'd suggest to change the name of the exisiting functions to something
> a bit different so that it's less likely to confuse the two calls.
> get_file_permissions and set_file_permissions would be good names for
> them, wouldn't they?

Here's a small patch against this morning's CVS that does this, and its
Changelog.

2003-11-18  Ron Parker <rparker1@kc.rr.com>

        * dir.cc: Changed get_file_attribute and set_file_attribute to
        get_file_permissions and set_file_permissions.
        * fhandler_disk_file.cc: Ditto.
        * path.cc: Ditto.
        * security.cc: Ditto.
        * security.h: Ditto.
        * syscalls.cc: Ditto.

Attachment: cvs01-file-permissions.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]