You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by st...@apache.org on 2002/04/22 12:24:41 UTC

cvs commit: apr/user/win32 groupinfo.c

striker     02/04/22 03:24:41

  Modified:    .        CHANGES renames_pending
               include  apr_user.h
               test     testfile.c testuser.c
               user/netware groupinfo.c
               user/unix groupinfo.c
               user/win32 groupinfo.c
  Log:
  Rename apr_get_groupname to apr_group_name_get.
  
  Submitted by: Thom May <th...@planetarytramp.net>
  
  Revision  Changes    Path
  1.263     +3 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.262
  retrieving revision 1.263
  diff -u -r1.262 -r1.263
  --- CHANGES	22 Apr 2002 01:24:48 -0000	1.262
  +++ CHANGES	22 Apr 2002 10:24:40 -0000	1.263
  @@ -1,5 +1,8 @@
   Changes with APR b1
   
  +  *) Rename apr_get_groupname to apr_group_name_get.
  +     [Thom May <th...@planetarytramp.net>]
  +     
     *) Allow VPATH builds to properly build dependencies and switch to
        a .deps dependency model to mimic httpd-2.0.  [Justin Erenkrantz]
   
  
  
  
  1.9       +0 -2      apr/renames_pending
  
  Index: renames_pending
  ===================================================================
  RCS file: /home/cvs/apr/renames_pending,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- renames_pending	15 Apr 2002 00:01:09 -0000	1.8
  +++ renames_pending	22 Apr 2002 10:24:40 -0000	1.9
  @@ -1,7 +1,5 @@
   Symbol renames for APR 
   
  -apr_group_name_get               from apr_get_groupname
  -
   apr_user_homedir_get             from apr_get_home_directory
   apr_user_id_get                  from apr_get_userid
   apr_user_name_get                from apr_get_username
  
  
  
  1.18      +1 -1      apr/include/apr_user.h
  
  Index: apr_user.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_user.h,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- apr_user.h	13 Mar 2002 20:39:15 -0000	1.17
  +++ apr_user.h	22 Apr 2002 10:24:41 -0000	1.18
  @@ -154,7 +154,7 @@
    * @param p The pool from which to allocate the string
    * @remark This function is available only if APR_HAS_USER is defined.
    */
  -APR_DECLARE(apr_status_t) apr_get_groupname(char **groupname, apr_gid_t groupid, apr_pool_t *p);
  +APR_DECLARE(apr_status_t) apr_group_name_get(char **groupname, apr_gid_t groupid, apr_pool_t *p);
   
   /**
    * Get the groupid for a specified group name
  
  
  
  1.48      +1 -1      apr/test/testfile.c
  
  Index: testfile.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testfile.c,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- testfile.c	14 Mar 2002 22:21:38 -0000	1.47
  +++ testfile.c	22 Apr 2002 10:24:41 -0000	1.48
  @@ -218,7 +218,7 @@
   
       if (finfo.valid & APR_FINFO_GROUP) {
           STD_TEST_NEQ("    Getting groupname", 
  -                     apr_get_groupname(&buf, finfo.group, pool))
  +                     apr_group_name_get(&buf, finfo.group, pool))
           STD_TEST_NEQ("    Comparing group ID's",
                        apr_compare_groups(finfo.group, gid))
           printf("     (gid's for %s match)\n", buf);
  
  
  
  1.6       +1 -1      apr/test/testuser.c
  
  Index: testuser.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testuser.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- testuser.c	13 Mar 2002 20:39:28 -0000	1.5
  +++ testuser.c	22 Apr 2002 10:24:41 -0000	1.6
  @@ -117,7 +117,7 @@
           }
       }
   
  -    rv = apr_get_groupname(&groupname, groupid, p);
  +    rv = apr_group_name_get(&groupname, groupid, p);
       if (rv != APR_SUCCESS)
           groupname = "(none)";
   
  
  
  
  1.5       +1 -1      apr/user/netware/groupinfo.c
  
  Index: groupinfo.c
  ===================================================================
  RCS file: /home/cvs/apr/user/netware/groupinfo.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- groupinfo.c	13 Mar 2002 20:39:31 -0000	1.4
  +++ groupinfo.c	22 Apr 2002 10:24:41 -0000	1.5
  @@ -66,7 +66,7 @@
   #include <unistd.h> /* for _POSIX_THREAD_SAFE_FUNCTIONS */
   #endif
   
  -APR_DECLARE(apr_status_t) apr_get_groupname(char **groupname, apr_gid_t groupid, apr_pool_t *p)
  +APR_DECLARE(apr_status_t) apr_group_name_get(char **groupname, apr_gid_t groupid, apr_pool_t *p)
   {
       return APR_ENOTIMPL;
   }
  
  
  
  1.10      +1 -1      apr/user/unix/groupinfo.c
  
  Index: groupinfo.c
  ===================================================================
  RCS file: /home/cvs/apr/user/unix/groupinfo.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- groupinfo.c	13 Mar 2002 20:39:31 -0000	1.9
  +++ groupinfo.c	22 Apr 2002 10:24:41 -0000	1.10
  @@ -66,7 +66,7 @@
   #include <unistd.h> /* for _POSIX_THREAD_SAFE_FUNCTIONS */
   #endif
   
  -APR_DECLARE(apr_status_t) apr_get_groupname(char **groupname, apr_gid_t groupid, apr_pool_t *p)
  +APR_DECLARE(apr_status_t) apr_group_name_get(char **groupname, apr_gid_t groupid, apr_pool_t *p)
   {
       struct group *gr;
   #ifndef BEOS
  
  
  
  1.8       +1 -1      apr/user/win32/groupinfo.c
  
  Index: groupinfo.c
  ===================================================================
  RCS file: /home/cvs/apr/user/win32/groupinfo.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- groupinfo.c	13 Mar 2002 20:39:31 -0000	1.7
  +++ groupinfo.c	22 Apr 2002 10:24:41 -0000	1.8
  @@ -100,7 +100,7 @@
       return APR_SUCCESS;
   }
   
  -APR_DECLARE(apr_status_t) apr_get_groupname(char **groupname, apr_gid_t groupid, apr_pool_t *p)
  +APR_DECLARE(apr_status_t) apr_group_name_get(char **groupname, apr_gid_t groupid, apr_pool_t *p)
   {
       SID_NAME_USE type;
       char name[MAX_PATH], domain[MAX_PATH];