logo       

[patch #5704] Data New/Open/Save: msg#00057

statistics.pspp.devel

Subject: [patch #5704] Data New/Open/Save


Update of patch #5704 (project pspp):

Status: Ready For Test/Review => Works For Me
Assigned to: blp => jmd

_______________________________________________________

Follow-up Comment #1:

I'd suggest adding a function, analogous to the "quote" function in gnulib,
that returns its argument as a quoted string in syntax format. It could
return it in single quotes if it doesn't contain a single quote, in double
quotes if it doesn't contain a double quote, or in single quotes with doubled
single quotes otherwise. If we don't do something like this, then we end up
with little ticking time bombs of code like this:


+ sss = create_syntax_string_source ("EXPORT OUTFILE='%s'.",
+ de->file_name);


Otherwise, looks good.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/patch/?5704>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise