This adopts Juergen's suggestion.
It changes acl_get_qualifier() to call malloc() to store the qualifier.
QA test 058 calls src/acl_test which now calls acl_free()
after calling acl_get_qualifier(),
and so it will core dump unless the latest libacl is installed.
--Tim
Date: Tue Jun 19 22:19:09 PDT 2001
Workarea: snort.melbourne.sgi.com:/diskb/build4/tes/slinx-xfs-acl
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:97235a
cmd/acl/VERSION - 1.8
- Bump revision to 7 for acl_get_qualifier() change.
cmd/acl/libacl/acl.c - 1.11
- Change acl_get_qualifier to dynamically allocate the qualifier,
so that acl_free() can operate on it as stated in Posix.
This code change was given by Juergen Hasch.
cmd/acl/doc/CHANGES - 1.8
- Mention acl_get_qualifier() change for revision 7.
cmd/xfstests/src/acl_test.c - 1.4
- Add acl_get_qualifier() tests.
cmd/xfstests/058.out - 1.3
- Update for acl_get_qualifier() tests in src/acl_test.
|