Subject: Re: Retiring 'ss*' and PINT in favour of SANE
To: David Brownlee <abs@netbsd.org>
From: Roger Brooks <R.S.Brooks@liverpool.ac.uk>
List: tech-kern
Date: 01/17/2000 11:38:27
On Mon, 17 Jan 2000, David Brownlee wrote:

>On Mon, 17 Jan 2000, Roger Brooks wrote:
>
>> I tried this over the weekend.  With the two lines which prevent an
>> ioctl on minor 0 commented out it worked OK with my Mustek Scanexpress
>> 6000.
>
>	Stunning :)
>	For now I'll commit this to -current and ask releng for a pullup
>	for 1.4.2.
>	Can someone describe the exact error message form ss* without
>	the patch so I can put together an FAQ entry (which will tell
>	people to use 1.4.2 :)

The machine is at home, but if no-one else beats me to it I'll boot the
old kernel and get the error message this evening.  I *think* it's
probably strerror( ENOTTY ), but will check.

The frustrating thing is that I send-pr'ed this about 9 months ago, together
with several null pointer problems in ss.  The null pointer dereferences
were fixed in 1.4, but the ioctl problem seems to have dropped through the
cracks.  But I suppose it's my own fault for putting two fixes in the same PR!


Roger

------------------------------------------------------------------------------
Roger Brooks (Systems Programmer),          |  Email: R.S.Brooks@liv.ac.uk
Computing Services Dept,                    |  Tel:   +44 151 794 4441
The University of Liverpool,                |  Fax:   +44 151 794 4442
PO Box 147, Liverpool L69 3BX, UK           | 
------------------------------------------------------------------------------