[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37087] empty struct not empty after being sav
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #37087] empty struct not empty after being saved in MATLAB binary data format. |
Date: |
Thu, 20 Sep 2012 16:44:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0 |
Follow-up Comment #6, bug #37087 (project octave):
I've been using this patch for some time now:
diff -r 6823ad7a25b1 libinterp/interp-core/ls-mat5.cc
--- a/libinterp/interp-core/ls-mat5.cc Thu Sep 20 12:20:39 2012 -0400
+++ b/libinterp/interp-core/ls-mat5.cc Thu Sep 20 17:39:51 2012 +0100
@@ -1144,7 +1144,7 @@
// Fall-through
case MAT_FILE_STRUCT_CLASS:
{
- Octave_map m (dim_vector (1, 1));
+ Octave_map m (dims);
int32_t fn_type;
int32_t fn_len;
int32_t field_name_length;
It fixed the bug I was reporting and I didn't see any side effect since then.
Could someone review the change and push it if OK? Many thanks.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37087>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #37087] empty struct not empty after being saved in MATLAB binary data format.,
Guillaume <=