Archived
1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
Henrik Hautakoski
107aae0105 env.c: free memory at exit.
Make sure the memory for the 'base' string is always free'd
when the program exits.
2012-08-09 16:00:20 +02:00
Henrik Hautakoski
deef8a6c1a env.c: Try create base directory on every call to env_get_dir()
Not a huge performance loss anyway. And the directory may be deleted
between calls so. However the directory can still be missing as soon
as the mkdir() call has ended.

Doing it this way just means that if the directory is removed during
execution of the program, it will be created again and not make the
rest of the programs lifetime live without it.
2012-08-15 15:43:08 +02:00
Henrik Hautakoski
6456ac58bc env.c: use buffer.h 2011-11-05 15:18:19 +01:00
Henrik Hautakoski
e39b9d64c6 env.c: use error.h 2011-10-12 14:15:08 +02:00
Henrik Hautakoski
bb5963dbf6 License with GPLv2 2011-09-21 17:19:09 +02:00
Henrik Hautakoski
b2df740514 Initial commit 2011-09-21 17:13:28 +02:00