X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fexpressions%2Fevaluate.c;h=1607681604357b075e92ff2397ed99ca24c95f26;hb=79e615c130eb0eaa23c7c220a51c3cf00e17b3a6;hp=5084ba6a402b8c574f768acdd6659d9cddb3f51d;hpb=25fae0555073f526e5d5825133a2f62454a7b4c6;p=pspp diff --git a/src/expressions/evaluate.c b/src/expressions/evaluate.c index 5084ba6a40..1607681604 100644 --- a/src/expressions/evaluate.c +++ b/src/expressions/evaluate.c @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ #include #include "private.h" @@ -102,7 +102,7 @@ expr_evaluate_str (struct expression *e, const struct ccase *c, int case_idx, assert (e->type == OP_string); assert ((dst == NULL) == (dst_size == 0)); expr_evaluate (e, c, case_idx, &s); - st_bare_pad_len_copy (dst, s.string, dst_size, s.length); + buf_copy_rpad (dst, dst_size, s.string, s.length); } #include "lexer.h" @@ -127,7 +127,7 @@ cmd_debug_evaluate (void) dump_postfix = 1; else if (lex_match ('(')) { - char name[MAX_VAR_NAME_LEN + 1]; + char name[LONG_NAME_LEN + 1]; struct variable *v; size_t old_value_cnt; int width;