Commit graph

4 commits

Author SHA1 Message Date
Moritz Lipp
9ee079bd34 Use _DEFAULT_SOURCE instead of deprecated _BSD_SOURCE 2014-10-16 23:56:41 +02:00
Sebastian Ramacher
7fc2b365ba g_try_realloc behaves like realloc
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-19 19:39:58 +01:00
Moritz Lipp
0fc5b80121 Replace glib memory functions with try version 2014-01-19 16:47:08 +01:00
Sebastian Ramacher
5021767a18 Split of guess_content_type
… and use it everywhere we want to get the content type of a file.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-14 18:01:34 +01:00