octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59341] [octave forge] (strings) `toascii` sho


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59341] [octave forge] (strings) `toascii` should be replaced by `double` in `base64encode` and `base64decode`
Date: Sat, 24 Oct 2020 16:20:17 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36 Edg/86.0.622.51

URL:
  <https://savannah.gnu.org/bugs/?59341>

                 Summary: [octave forge] (strings) `toascii` should be
replaced by `double` in `base64encode` and `base64decode`
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Sat 24 Oct 2020 10:20:16 PM CEST
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: other
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

Calling `base64encode` or `base64decode` from strings 1.2.0 in Octave 6.0.92
fails with the following errors:

>> pkg load strings
>> base64encode ('Hakuna Matata', true)
error: 'toascii' undefined near line 49, column 49
error: called from
    base64encode at line 49 column 7
>> base64decode('SGFrdW5hIE1hdGF0YQ==')
warning: implicit conversion from numeric to char
warning: called from
    base64decode at line 52 column 10

error: 'toascii' undefined near line 63, column 63
error: called from
    base64decode at line 63 column 5


To avoid these errors, `toascii` should be replaced by `double` in these
functions.

CC'ing Oliver Heimlich as the package maintainer.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59341>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]