[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: CVS update: subversion/subversion/include svn_delta.h

From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2001-03-01 21:53:13 CET

Ben Collins-Sussman <sussman@newton.ch.collab.net> writes:
> Oh, I just meant that if we ever change the definition of a struct,
> your static initialization would more likely break, compared to
> palloc'ing it.

Well, if the definition of the struct changes, anyone constructing one
by hand will often have to compensate. I don't think that's affected
by whether it's allocated on the stack or in the heap. (In fact,
maybe the static initialization will generate a compiler warning if
not all fields are present? That would be nice.)

-K
Received on Sat Oct 21 14:36:24 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.