dwarning
|
aa95da431a
|
adaptive format specifier for size_t printf
|
8 years ago |
Holger Vogt
|
dc34632421
|
fix memory leaks when evaluating a variable
MC example file MC_ring_ts.sp is now free of memory leaks
|
8 years ago |
Holger Vogt
|
09c876550f
|
prevent string overflow by adding the string length
to the cp_getvar parameters. Used only with CP_STRING
|
8 years ago |
Holger Vogt
|
a98d01e5f8
|
Use only internal memory functions, replace
free->tfree, malloc->tmalloc, realloc->trealloc
|
8 years ago |
rlar
|
939555115d
|
variables, cp_vprint, fix a memory leak
|
10 years ago |
rlar
|
bc325b17c5
|
variables, lift plot_cur->pl_env up to the invoker of cp_usrvars()
|
10 years ago |
rlar
|
e0db4aa665
|
variables, cp_vprint(), reorder for similarity
|
10 years ago |
rlar
|
a33876ff59
|
variables, variables, cp_getvar, rewrite
|
10 years ago |
rlar
|
97c5e1567f
|
variables, cp_getvar(), beware of retval == NULL
|
10 years ago |
rlar
|
20b666e2d5
|
variables, clean up
|
10 years ago |
rlar
|
b2fb4e20bf
|
variables, drop 'found', use identity found == (*p != NULL)
|
10 years ago |
rlar
|
0784f76e51
|
variables, cleanup the for loops
|
10 years ago |
rlar
|
e39119c1c8
|
variables, use identity v == *p (and u == *p)
|
10 years ago |
rlar
|
d14ee053d7
|
variables, use a pointer to the anchor of the variable instead of 'lv'
|
10 years ago |
rlar
|
b13125ac84
|
variables, explicit processing of ft_curckt->ci_vars, drop uv2
|
10 years ago |
rlar
|
7483ff9d8c
|
variables, cp_remvar(), cleanup
|
10 years ago |
rlar
|
485fba7548
|
variables, add some comments, add explicit case US_NOSIMVAR
|
10 years ago |
rlar
|
97cdaae19f
|
variables, cp_usrvars(), be more explicit
lift uv2 return value up to the invoker of cp_usrvars()
|
10 years ago |
rlar
|
596599492e
|
variables, drop redundant tfree(v->va_name), rely on free_struct_variable()
|
10 years ago |
h_vogt
|
fe24b3e6dd
|
variable.c, remove memory leaks
|
10 years ago |
rlar
|
d32968bdaa
|
variable.h, reduce visibility of auxiliary struct xxx to variable.c
|
10 years ago |
rlar
|
141ed61ec8
|
use memcpy() instead of deprecated bcopy()
|
10 years ago |
h_vogt
|
8480898399
|
frontend/variable.c, remove memory leak
|
10 years ago |
rlar
|
ac726f0cf4
|
struct variable, #18/18, clean
|
10 years ago |
rlar
|
a6cd5eea45
|
struct variable, #17/18, clean
|
10 years ago |
rlar
|
212121d373
|
struct variable, #15/18, rewrite in terms of `var_alloc_xxx()' (do-3)
|
10 years ago |
rlar
|
57f56f53a6
|
struct variable, #14/18, introduce `var_alloc_xxx()'
|
10 years ago |
rlar
|
bf5acda362
|
struct variable, #13/18, reorder var_alloc() invocation
|
10 years ago |
rlar
|
eb53b4d703
|
struct variable, #12/18, rewrite in terms of `var_alloc()' (do-2)
|
10 years ago |
rlar
|
8691368a81
|
struct variable, #11/18, introduce `var_alloc()'
|
10 years ago |
rlar
|
68042b3d1b
|
struct variable, #10/18, rewrite in terms of `var_set_xxx()' (do-1)
|
10 years ago |
rlar
|
bbbd531d8d
|
struct variable, #9/18, introduce `var_set_xxx()'
|
10 years ago |
rlar
|
cc3a124120
|
struct variable, #8/18, collect struct variable operations
|
10 years ago |
rlar
|
01a0449420
|
struct variable, #2/18, reorder struct variable field initialisation
|
10 years ago |
rlar
|
1d15f6bfce
|
fix struct variable initialisation
|
10 years ago |
rlar
|
4c1c95e20f
|
everywhere, use `TMALLOC()' instead of `alloc()'
|
10 years ago |
rlar
|
71a7c3459b
|
use char variants of the <ctype.h> isxxxx() family
|
10 years ago |
rlar
|
07aba2e2ae
|
frontend/variable.c, used `isalnum()' instead of homegrown `isalphanum()'
|
10 years ago |
rlar
|
192eeadb0b
|
remove crufty comments which where used to support broken text editors
|
11 years ago |
rlar
|
5ac7858a79
|
rewrite, use tprintf
|
11 years ago |
rlar
|
ccc4c60d81
|
src/frontend/variable.c, swallow "warning: conversion to 'int' from 'size_t' may change the sign of the result"
|
11 years ago |
rlar
|
d18d2a935c
|
src/frontend/variable.c, rewrite `cp_variablesubst()'
|
11 years ago |
rlar
|
33d33e9d50
|
src/frontend/variable.c, fix expansion of '$var' when $var is an empty list
test case:
set foo = ( )
set foo = ( $foo baz bar )
echo $foo
|
11 years ago |
h_vogt
|
23ffcbf7d1
|
variable.c: prevent buffer overflow by limiting variable output to BSIZE_SP characters
|
12 years ago |
dwarning
|
54529d0e42
|
allow cshell $variable substitution with and without $&var
|
13 years ago |
rlar
|
2555eeadef
|
fix the csh-problem $foo[$bar] and $foo[$&baz]
|
13 years ago |
rlar
|
909f087237
|
cp_variablesubst() and cp_bquote(), rewrite
|
13 years ago |
rlar
|
9eab66131d
|
cp_variablesubst() and cp_bquote(), rewrite
|
13 years ago |
rlar
|
451c121dd5
|
improve commit `variable.c: add strict error handling'
|
14 years ago |
h_vogt
|
d5a2a361f6
|
variable.c: add strict error handling
|
14 years ago |