Re: [PATCH] stdlib removed from svn_types.h
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-03-10 18:11:17 CET
H. Hernan Moraldo wrote:
Very nearly OK ... but there is one macro that needs stdlib.h:
/** Convert null-terminated C string @a str to a revision number. */
svn_types.h including stdlib.h is logically correct because it uses it; though only if that macro is used.
From a clean design point of view, that macro should not be as it is in that header; a function should be used instead.
Maybe the "###" comment should go away or be changed to something more accurate, but I don't think this patch is strictly better than the status quo; just better in some ways.
- Julian
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.