apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47322] New: apr_collapse_spaces() documentation is wrong
Date Sat, 06 Jun 2009 15:26:13 GMT

           Summary: apr_collapse_spaces() documentation is wrong
           Product: APR
           Version: HEAD
          Platform: All
               URL: http://apr.apache.org/docs/apr/1.3/group__apr__strings
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: apachebugs@acrotect.com

The description of apr_collapse_spaces() at
http://apr.apache.org/docs/apr/1.3/group__apr__strings.html does not match its
behavior according to

The documentation says:

Strip spaces from a string

dest     The destination string. It is okay to modify the string in place.
Namely dest == src
src     The string to rid the spaces from.
The destination string, dest.

I propose that it should say:

Removes all whitespace from a string

Parameters: (unchanged from above)
A pointer to the destination string's null terminator.

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

View raw message