Bug#552570: improved patch for name.c

David Bremner bremner at unb.ca
Fri Oct 30 07:58:04 UTC 2009


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;








More information about the debian-science-maintainers mailing list