You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2008/06/03 18:35:02 UTC

DO NOT REPLY [Bug 45122] New: change apr_generate_random_byte the first argument type to void*

https://issues.apache.org/bugzilla/show_bug.cgi?id=45122

           Summary: change apr_generate_random_byte the first argument type
                    to void*
           Product: APR
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: takashi@lans-tv.com


current:
apr_status_t apr_generate_random_bytes(unsigned char *buf, apr_size_t length);

Now we have to cast when passing buffer.
More useful if the first argument type is void pointer.

I'm not sure how this change breaks API/ABI compatibility.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 45122] change apr_generate_random_byte the first argument type to void*

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45122


Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |LATER




--- Comment #1 from Ruediger Pluem <rp...@apache.org>  2008-06-03 09:41:31 PST ---
IMHO that would break the ABI/API promise. So it would be a 2.0 issue.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org