[PATCH libXaw] Define PAGE_SIZE as USN_PAGE_SIZE on Windows

Alan Coopersmith alan.coopersmith at oracle.com
Tue Mar 12 23:02:10 UTC 2019


On 03/12/19 01:51 PM, Jon Turney wrote:
> I haven't looked at how _XawGetPageSize() is used, and thus what difference 
> using the correct page size would make (if any) :)

 From git grep, it seems to be used as a default memory allocation size in the
text widgets, falling back to BUFSIZ if it can't find a better one:

https://gitlab.freedesktop.org/search?utf8=%E2%9C%93&search=_XawGetPageSize%28%29&group_id=&project_id=707&search_code=true&repository_ref=master#L1778

https://gitlab.freedesktop.org/xorg/lib/libxaw/blob/master/src/AsciiSrc.c#L1772-1785

-- 
	-Alan Coopersmith-               alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - https://blogs.oracle.com/alanc


More information about the xorg-devel mailing list