Bug 56560 - hardcoded lenght kills menu items
hardcoded lenght kills menu items
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: xsane (Show other bugs)
7.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-11-20 19:13 EST by Michal Jaegermann
Modified: 2007-04-18 12:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-12-11 09:29:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch to fix a hardcoded menus size in xsane (579 bytes, patch)
2001-11-20 19:17 EST, Michal Jaegermann
no flags Details | Diff

  None (edit)
Description Michal Jaegermann 2001-11-20 19:13:43 EST
Description of Problem:

In xsane sources a number of preset area definitions is hardcoded
to 13 while an actual array of menu items is longer.  As a result
various menu entries important for North America vanish.

Attached is a patch which makes a compiler to compute that number
in lieu of a developer.  Curiously enough new recompiled binaries
do not have any effect until ~/.sane/xsane/xsane.rc is removed
(maybe clobbering of _some_ items is enough but this is not tested).
Comment 1 Michal Jaegermann 2001-11-20 19:17:03 EST
Created attachment 38163 [details]
patch to fix a hardcoded menus size in xsane
Comment 2 Tim Waugh 2001-11-21 09:33:20 EST
Fix sent upstream.
Comment 3 Tim Waugh 2002-01-08 11:00:54 EST
Fixed in 0.82.

Note You need to log in before you can comment on or make changes to this bug.