Gast
#1098596
Hallo, ich habe ein bizarres Problem mit der realloc. Es scheint nur einen Teil der daten zu kopieren, bessergesagt immer nur den 1. Datensatz. Den datensatz habe ich so erzeugt: malloc(sizeof(mytype)*anzahl). Jetzt möchte ich das ganze mit realloc vergrößern: not yet changed: ==Analizing contents of table testing== NAME TYPE DEFAULT id 1 a name1 1 b Wenn ich realloc mache: changed: ==Analizing contents of table testing== NAME TYPE DEFAULT id 1 a (null) 0 (null) (müsste der inhalt der 2. zeile stehen) (null) 0 (null) (hier ist es okay, dass überall null steht) Hat jemand einen Tipp für mich? Michael