Your message dated Sun, 19 Feb 2006 10:47:10 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#311499: fixed in snac 0.3-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: snac
Version: 0.3-4
Severity: important
Tags: patch
Justification: totally bad results, if you use trigonomethric functions in a 
formula

When snac run without config file, it incorrectly set the mode_prefs.angle
variable to "Deg", which should be "Deg ".

How to reproduce:
rm ~/.gnome/SNAC
snac
and type: sin(60)

The result will be a negative number, which is absolutely wrong, since the
good answer is sqrt(3)/2.

The patch:
diff -urN snac-0.3/src/preferences.c snac-0.3.fixed/src/preferences.c
--- snac-0.3/src/preferences.c  2005-06-01 12:58:08.000000000 +0200
+++ snac-0.3.fixed/src/preferences.c    2005-06-01 12:56:49.000000000 +0200
@@ -429,7 +429,7 @@
                g_free(str);
        }
        else
-               strcpy(mode_prefs.angle,"Deg");
+               strcpy(mode_prefs.angle,"Deg ");

        if((str = gnome_config_get_string("/SNAC/modes/format")) != NULL){
                strcpy(mode_prefs.format,str);


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-cko4-swsusp2
Locale: LANG=C, LC_CTYPE=hu_HU (charmap=ISO-8859-2)

Versions of packages snac depends on:
ii  gdk-imlib1               1.9.14-16.2     imaging library for use with gtk (
ii  libart2                  1.4.2-19        The GNOME canvas widget - runtime 
ii  libaudiofile0            0.2.6-6         Open-source version of SGI's audio
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libdb3                   3.2.9-22        Berkeley v3 Database Libraries [ru
ii  libesd-alsa0 [libesd0]   0.2.35-2        Enlightened Sound Daemon (ALSA) - 
ii  libglib1.2               1.2.10-9        The GLib library of C routines
ii  libgnome32               1.4.2-19        The GNOME libraries
ii  libgnomesupport0         1.4.2-19        The GNOME libraries (Support libra
ii  libgnomeui32             1.4.2-19        The GNOME libraries (User Interfac
ii  libgtk1.2                1.2.10-17       The GIMP Toolkit set of widgets fo
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  xlibs                    4.3.0.dfsg.1-12 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: snac
Source-Version: 0.3-5

We believe that the bug you reported is fixed in the latest version of
snac, which is due to be installed in the Debian FTP archive:

snac_0.3-5.diff.gz
  to pool/main/s/snac/snac_0.3-5.diff.gz
snac_0.3-5.dsc
  to pool/main/s/snac/snac_0.3-5.dsc
snac_0.3-5_i386.deb
  to pool/main/s/snac/snac_0.3-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David B. Harris <[EMAIL PROTECTED]> (supplier of updated snac package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 19 Feb 2006 12:26:15 -0500
Source: snac
Binary: snac
Architecture: source i386
Version: 0.3-5
Distribution: unstable
Urgency: low
Maintainer: David B. Harris <[EMAIL PROTECTED]>
Changed-By: David B. Harris <[EMAIL PROTECTED]>
Description: 
 snac       - complete algebraic calculator for GNOME
Closes: 311499
Changes: 
 snac (0.3-5) unstable; urgency=low
 .
   * Apply patch from RISKO Gergely <[EMAIL PROTECTED]> (thanks) to fix
     erroneous initial trig calculation pref (Closes: #311499)
   * Update standards-version to 3.6.2.0, no changes required.
   * Quote some bits in debian/menu, thanks linda and lintian.
   * Update FSF address in debian/copyright, thanks linda and lintian.
   * Update to debhelper v4
   * Change Maintainer: email address from my private address to
     [EMAIL PROTECTED]
Files: 
 a5d7a78dd52fb270b0b6662966d8bb8a 875 gnome optional snac_0.3-5.dsc
 bd1923656410e0b6a41d7d578cf0c0a4 298675 gnome optional snac_0.3-5.diff.gz
 fc1cbaa753adbaa882e197a3e6d698e6 27540 gnome optional snac_0.3-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQEVAwUBQ/isyWdoLXfrvKobAQJDOggAxiNJOMvsgAhRmyiiOrqoiBvtr9f/HVpk
9OynFNkjtqfojLkC3JiNGPuIryvt5bz3HKAgqMFrlvsr7jgLJeiKCcR2rulyT6MS
wow+8RrCp0k2lZKIYeS7zkWz0rBI96LCJmZyzrX4tzH35v93aWKF3NpvbC6Coq/c
uy9nLO1b01zC2VzzREu/tGublKqAYcmkOy9clni9TSTcfpV0+o9164gyRV3qOzPn
txJ0mgFeEWAmfVWwMhxrTjB0viTmjDFAMM4ncOIqcypxuE44nXKQFSD5gmGWTMPt
weofZ8FFypfjXxpny6e+zEcaXFokTnrn+SDYvOq/iOfkJ01t4cCf1w==
=o0W1
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to