On Thu, Apr 27, 2006 at 10:31:30PM -0700, Ben Pfaff wrote:
     
     String field widths are never over 510.
     
.... they will be after my next checkin :-/
     
     
     It seems to me that this really just calls for a new string
     function that allocates space without initializing it.  You could
     call it ds_append_uninitialized() and make it take the number of
     bytes to append and return a pointer to the space.  Then your
     call to data_out would look like this:
             data_out (ds_append_uninitialized (&s, v->print.w),
                       &v->print, case_data (v, v->fv));
     Of course, you could break the call to ds_append_uninitialized()
     into a separate statement if that looks too obscure.

You're right.  I'll do something like that.

J'     

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature

_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to