Date: Mon, 23 Dec 2002 19:57:12 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 22686 for review Message-ID: <200212240357.gBO3vCfG009512@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=22686 Change 22686 by rwatson@rwatson_paprika on 2002/12/23 19:56:27 <enter description here> Oops, _link() calls are suffixed with _np as non-portable. Affected files ... .. //depot/projects/trustedbsd/acl/bin/getfacl/getfacl.c#3 edit .. //depot/projects/trustedbsd/acl/bin/setfacl/setfacl.c#3 edit Differences ... ==== //depot/projects/trustedbsd/acl/bin/getfacl/getfacl.c#3 (text+ko) ==== @@ -168,7 +168,7 @@ printf("#file:%s\n#owner:%d\n#group:%d\n", path, sb.st_uid, sb.st_gid); if (hflag) - acl = acl_get_link(path, type); + acl = acl_get_link_np(path, type); else acl = acl_get_file(path, type); if (!acl) { ==== //depot/projects/trustedbsd/acl/bin/setfacl/setfacl.c#3 (text+ko) ==== @@ -72,14 +72,14 @@ acl = zmalloc(sizeof(acl_t) * 2); if (h_flag) - acl[ACCESS_ACL] = acl_get_link(filename, ACL_TYPE_ACCESS); + acl[ACCESS_ACL] = acl_get_link_np(filename, ACL_TYPE_ACCESS); else acl[ACCESS_ACL] = acl_get_file(filename, ACL_TYPE_ACCESS); if (acl[ACCESS_ACL] == NULL) err(1, "acl_get_file() failed"); if (S_ISDIR(sb.st_mode)) { if (h_flag) - acl[DEFAULT_ACL] = acl_get_link(filename, + acl[DEFAULT_ACL] = acl_get_link_np(filename, ACL_TYPE_DEFAULT); else acl[DEFAULT_ACL] = acl_get_file(filename, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212240357.gBO3vCfG009512>
