Bug#552570: improved patch for name.c

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#552570: improved patch for name.c

David Bremner-5

Come to think of it, the following patch looks more sensible to me.

diff --git a/lib/name.c b/lib/name.c
index 94a225c..1f51828 100644
--- a/lib/name.c
+++ b/lib/name.c
@@ -185,6 +185,7 @@ name_comma( char *p, newstr *outname )
 
        /** Last name **/
        start_last = skip_ws( p );
+       end_last = start_last;
        while ( *p && ( *p!=',' ) ) {
                newstr_addchar( outname, *p++ );
                end_last = p;






--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#552570: improved patch for name.c

Andreas Tille
On Fri, 30 Oct 2009, David Bremner wrote:

> Come to think of it, the following patch looks more sensible to me.

This one works fine.

Thanks for your effort

      Andreas.



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]