#10993: Update eclib to latest upstream release
-----------------------------------+----------------------------------------
Reporter: cremona | Owner: cremona
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: packages | Resolution:
Keywords: elliptic curves | Work issues: ldconfig in spkg-install
Report Upstream: N/A | Reviewers: Frithjof Schulze, Jeroen
Demeyer
Authors: John Cremona | Merged in:
Dependencies: #11354 | Stopgaps:
-----------------------------------+----------------------------------------
Comment (by cremona):
Replying to [comment:115 vbraun]:
> Do yourself a favor and don't use C string manipulation! Compare with
C++ stringstream:
> {{{#!c++
> #include <sstream>
>
> using std::stringstream;
>
> void f(int i) {
> stringstream ss;
> ss << "/home" << "user/" << "tmp_" << i << ".dat";
> std::string filename = ss.str();
> const char * c_filename = filename.c_str();
> }
> }}}
OK, I will do that -- but you were not quick enough to avoid my making a
p2 with a simpler change. The rest will have to wait a bit. There are
other places in the code where I still use some C strings unfortunately.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10993#comment:116>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.