PERFORCE change 144706 for review
Edward Tomasz Napierala
trasz at FreeBSD.org
Sat Jul 5 11:59:59 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=144706
Change 144706 by trasz at trasz_traszkan on 2008/07/05 11:59:34
Rename two functions to match Darwin.
Affected files ...
.. //depot/projects/soc2008/trasz_nfs4acl/bin/setfacl/merge.c#3 edit
.. //depot/projects/soc2008/trasz_nfs4acl/lib/libc/posix1e/Symbol.map#3 edit
.. //depot/projects/soc2008/trasz_nfs4acl/lib/libc/posix1e/acl_delete_entry.c#3 edit
.. //depot/projects/soc2008/trasz_nfs4acl/lib/libc/posix1e/acl_entry.c#3 edit
.. //depot/projects/soc2008/trasz_nfs4acl/sys/sys/acl.h#7 edit
Differences ...
==== //depot/projects/soc2008/trasz_nfs4acl/bin/setfacl/merge.c#3 (text+ko) ====
@@ -186,7 +186,7 @@
* in most cases they wouldn't even get evaluated.
*/
if (acl_type == ACL_TYPE_NFS4) {
- if (acl_create_entry_at_position_np(&acl_new, &entry_new, 0) == -1) {
+ if (acl_create_entry_np(&acl_new, &entry_new, 0) == -1) {
acl_free(acl_new);
return (-1);
}
==== //depot/projects/soc2008/trasz_nfs4acl/lib/libc/posix1e/Symbol.map#3 (text) ====
@@ -13,9 +13,9 @@
acl_delete_link_np;
acl_delete_fd_np;
acl_delete_entry;
- acl_delete_entry_at_position_np;
+ acl_delete_entry_np;
acl_create_entry;
- acl_create_entry_at_position_np;
+ acl_create_entry_np;
acl_get_entry;
acl_free;
acl_from_text;
==== //depot/projects/soc2008/trasz_nfs4acl/lib/libc/posix1e/acl_delete_entry.c#3 (text+ko) ====
@@ -122,7 +122,7 @@
}
int
-acl_delete_entry_at_position_np(acl_t acl, int offset)
+acl_delete_entry_np(acl_t acl, int offset)
{
struct acl *acl_int;
int i;
==== //depot/projects/soc2008/trasz_nfs4acl/lib/libc/posix1e/acl_entry.c#3 (text+ko) ====
@@ -71,7 +71,7 @@
}
int
-acl_create_entry_at_position_np(acl_t *acl_p, acl_entry_t *entry_p, int offset)
+acl_create_entry_np(acl_t *acl_p, acl_entry_t *entry_p, int offset)
{
int i;
struct acl *acl_int;
==== //depot/projects/soc2008/trasz_nfs4acl/sys/sys/acl.h#7 (text+ko) ====
@@ -304,9 +304,9 @@
ssize_t acl_copy_ext(void *_buf_p, acl_t _acl, ssize_t _size);
acl_t acl_copy_int(const void *_buf_p);
int acl_create_entry(acl_t *_acl_p, acl_entry_t *_entry_p);
-int acl_create_entry_at_position_np(acl_t *_acl_p, acl_entry_t *_entry_p, int _index);
+int acl_create_entry_np(acl_t *_acl_p, acl_entry_t *_entry_p, int _index);
int acl_delete_entry(acl_t _acl, acl_entry_t _entry_d);
-int acl_delete_entry_at_position_np(acl_t _acl, int _index);
+int acl_delete_entry_np(acl_t _acl, int _index);
int acl_delete_fd_np(int _filedes, acl_type_t _type);
int acl_delete_file_np(const char *_path_p, acl_type_t _type);
int acl_delete_link_np(const char *_path_p, acl_type_t _type);
More information about the p4-projects
mailing list