Index: libcfa/src/parseconfig.cfa
===================================================================
--- libcfa/src/parseconfig.cfa	(revision 09fda919377c7f7f826c9b400845ae672819f064)
+++ libcfa/src/parseconfig.cfa	(revision ecfa7607e85a589e6b1a47966da0bc30f4adf6dc)
@@ -86,26 +86,11 @@
 
 
-bool comments( ifstream & in, char * name ) {
-	StringBuilder sb;
-
-	char c;
+bool comments( ifstream & in, char name[] ) {
 	while () {
-		in | c;
-		add_char( sb, c );
-
-	  	if ( fail( in ) ) {
-			name = alloc( sb.size );
-			strcpy( name, sb.string );
-
-		  	return true;
-	  	}
-	  if ( c != '#' ) break;
-		in | nl;	// ignore remainder of line
-	} // for
-
-	name = alloc( sb.size );
-	strcpy( name, sb.string );
-
-	return false;
+		in | name;
+	  if ( eof( in ) ) return true;
+	  if ( name[0] != '#' ) return false;
+		in | nl;									// ignore remainder of line
+	} // while
 } // comments
 
