In article <20060107.002904.87767885.davem@davemloft.net> (at Sat, 07 Jan 2006 00:29:04 -0800 (PST)), "David S. Miller" <davem@davemloft.net> says: > > name->commit = commit; > > + name->path = sizeof(*name); > > name->prio = prio; > Why are you assigning an integer to a pointer? :-) > Probably you meant something like: > > struct commit_name *name = xmalloc(sizeof(struct commit_name) + len); > > ... > name->path = xmalloc(len); > ... oops.... you're right... --yoshfuji @ about to fly - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Sat Jan 07 19:33:13 2006
This archive was generated by hypermail 2.1.8 : 2006-01-07 19:33:51 EST