pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: list.q


From: Ben Pfaff
Subject: Re: list.q
Date: Sun, 26 Feb 2006 20:03:41 -0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

John Darrington <address@hidden> writes:

> Can somebody explain to me from whence comes the magic number 1022  on
> line 608 of list.q ?
>
>
>   line_buf = xmalloc (max (1022, largest_page_width) + 2);

I suspect that I wanted to ensure that at least 1024 bytes were
allocated.  Why, I don't know.

It'd be better to use `struct string' and the ds_* routines.
-- 
Ben Pfaff 
email: address@hidden
web: http://benpfaff.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]