NetBSD Problem Report #46426

From yamt@NetBSD.org  Tue May  8 14:05:42 2012
Return-Path: <yamt@NetBSD.org>
Received: by www.NetBSD.org (Postfix, from userid 1270)
	id 19FDC63B86B; Tue,  8 May 2012 14:05:42 +0000 (UTC)
Message-Id: <20120508140542.19FDC63B86B@www.NetBSD.org>
Date: Tue,  8 May 2012 14:05:42 +0000 (UTC)
From: yamt@NetBSD.org
Reply-To: yamt@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: LZF_STATE_ARG incompatibility
X-Send-Pr-Version: 3.95

>Number:         46426
>Category:       lib
>Synopsis:       LZF_STATE_ARG incompatibility
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 08 14:10:01 +0000 2012
>Originator:     YAMAMOTO Takashi
>Release:        NetBSD current
>Organization:

>Environment:


>Description:
	our liblzf, specifically the prototype of lzf_compress, is
	incompatible with the upstream version.  it causes problems for
	third party applications for which autoconf picks up our liblzf.
	eg. snappy

revision 1.2
date: 2010/02/03 03:55:38;  author: tls;  state: Exp;  lines: +5 -2
Adjust liblzf to offer the LZF_STATE_ARG API, which is better for small-stack
environments (think bootblocks etc) and no worse elsewise (you can always
just pass the same state argument...) and have correct prototypes when doing
so.

>How-To-Repeat:

>Fix:
	a. revert the above change to make it compatible again
	  with the upstream.

	b. remove liblzf.  it seems that there are no users in our tree.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.