1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-16 14:41:02 +02:00
Commit graph

27 commits

Author SHA1 Message Date
Jens Schleusener
11dbe4c286 45269: Fix misspellings in completions and elsewhere. 2020-01-09 13:42:02 +00:00
Peter Stephenson
f99f7dca75 43616: Various parameter setting and display fixes.
Mostly to do with typeset -p and tied variables and their interaction.

Some general tied variable fixes.
2018-10-08 10:10:42 +01:00
Jun-ichi Takimoto
baedd62f0d 43219 (except term{cap,info}.c): fix several memory leaks 2018-07-31 22:15:58 +09:00
Jun-ichi Takimoto
beadc29214 unposted: add 'static' to a file-local variable 2018-03-24 15:32:43 +09:00
Sebastian Gniazdowski
6116fdb277 41375: GDBM interface bug fixes 2017-07-03 10:02:01 +01:00
Sebastian Gniazdowski
284b5aaeb0 41151: propagate flags when creating new parameter 2017-05-28 13:17:26 -07:00
Sebastian Gniazdowski
ca0607c4c2 41153: finish module setup only after all error conditions have been checked 2017-05-28 13:15:06 -07:00
Sebastian Gniazdowski
62c416915b 41146: careul in GDBM freeing strings with embedded nulls 2017-05-24 15:55:42 +01:00
Sebastian Gniazdowski
135075e48c 40898: fix GDBM error handling 2017-05-24 15:53:42 +01:00
Sebastian Gniazdowski
e9ce001749 40558, 40562: General improvements to zsh/db/gdbm module 2017-02-17 09:22:02 +00:00
Sebastian Gniazdowski
3be8e1bbdd 40507: Remove extraneous null creating GDBM records 2017-02-07 09:48:59 +00:00
Jun-ichi Takimoto
ca3bc0d95d 37838: use UNUSED() consistently 2016-01-30 00:26:23 +09:00
Barton E. Schaefer
609273875d 36968: use addmodulefd() to tell the shell about the descriptor of the dbm file 2015-10-26 07:25:51 -07:00
Peter Stephenson
1a7473cbc1 34455: Further gdbm parameter fixes.
Fix memory leak with name of parameter.

Unset old parameter before opening db as it might close an existing
db.
2015-02-03 10:31:03 +00:00
Barton E. Schaefer
1254538a41 34447: fix assignment of key-value array to ztie'd parameter.
Add gdbmhashsetfn() for this purpose.  Erases and reorganizes the database
before bulk assign.
2015-02-02 09:46:08 -08:00
Barton E. Schaefer
3ae6fb965f 34446: add "ztie -r" and "zuntie -u", update documentation 2015-02-01 14:01:53 -08:00
Peter Stephenson
ce211bb8d1 34439: unset variable about to be tied 2015-01-30 20:03:02 +00:00
Peter Stephenson
bc8491c3dc 34430: parameter fixes for gdbm tied hash.
Probably fix the issue with correct parameter hiding or not hiding.

A little extra safety checking.

Possibly fixed a memory leak with untying.
2015-01-29 21:05:17 +00:00
Peter Stephenson
5136628599 Unsetting gdbm tied variable basically works.
Allows variables in nested scope.

However, explicitly untying a variable doesn't properly expose
the scope above.
2015-01-26 18:10:39 +00:00
Barton E. Schaefer
2fa11b7c54 34350, 34353: document zsh/db/gdbm module, clean up a few things in the code
Still core dumps at this revision if the tied parameter is forced to be a local and is not untied before end of scope.
2015-01-25 11:34:26 -08:00
Peter Stephenson
962624e8c3 29491: remove some variables set but not used 2011-06-19 16:26:10 +00:00
Peter Stephenson
7e9f42526d 25777: argument to gdbmsetfn()
unposted: recognise ~[ in completion after : and =
2008-09-30 08:59:11 +00:00
Clint Adams
0d07bf44e7 25490: make zties dynamic so there can be more than one gdbm handle in use at a time. 2008-08-19 12:01:13 +00:00
Clint Adams
2d2d341161 25322: fix printing of keys. 2008-07-21 02:34:06 +00:00
Clint Adams
8954f31c7c 25321: delete gdbm node when corresponding hash entry is unset. 2008-07-21 02:24:03 +00:00
Clint Adams
fdf4449338 25320: fix read and write of elements by key. 2008-07-21 01:47:59 +00:00
Clint Adams
9f42d3211e 25319: fix zuntie, add -f option to ztie. 2008-07-21 00:55:15 +00:00