summaryrefslogtreecommitdiff
path: root/src/funcs.c
Commit message (Expand)AuthorAgeFilesLines
* Don't use C99 (Xi Ruoyao)Christos Zoulas2023-03-041-2/+3
* For CSV print more info about what kind of text file it is if we have it.Christos Zoulas2023-02-201-2/+2
* PR/412: joveler: Fix MinGW compilationChristos Zoulas2022-12-261-2/+4
* prefix public/private/protected with file_Christos Zoulas2022-12-261-33/+33
* revert previous, file_printable is used in softmagic, so quoting spacesChristos Zoulas2022-10-091-3/+2
* Revert previousChristos Zoulas2022-09-241-7/+1
* mdd build glue, bump versionChristos Zoulas2022-09-241-1/+7
* - print white space as octal in printableChristos Zoulas2022-09-241-4/+39
* - lint fixesChristos Zoulas2022-09-131-1/+2
* PR/362: ro-ee: fix wide char printingChristos Zoulas2022-07-041-2/+2
* make file_printable public for nowChristos Zoulas2022-05-281-2/+2
* From: Dirk Mueller:Christos Zoulas2022-04-181-22/+14
* fix unused warningsChristos Zoulas2022-04-111-4/+5
* Now that we are cacheing regex's we cannot assume that we alwaysChristos Zoulas2022-03-191-23/+34
* PR/310: p870613: Don't use strlcpy to copy the string, it will try to scanChristos Zoulas2022-02-141-4/+7
* PR/307: Fabrice: Don't use c99 loop features.Christos Zoulas2022-01-101-2/+3
* Windows improvementsChristos Zoulas2021-12-061-3/+31
* PR/270: Don't translate unprintable characters in %s magic formats when -rChristos Zoulas2021-06-301-3/+4
* PR/230: polluks: Fix trim flag to apply to regex, and trim windows init \rChristos Zoulas2021-02-051-1/+18
* Check it the buffer is NULL. Issue 30222 in oss-fuzz.Christos Zoulas2021-02-031-2/+9
* Trim trailing separator.Christos Zoulas2021-02-011-2/+16
* Fix close_on_exec multithreaded decompression issue.Christos Zoulas2020-12-081-1/+23
* Include # (alternate format) to the list of uninteresting formatsChristos Zoulas2020-06-251-2/+2
* add an intermediate void * castChristos Zoulas2020-06-151-3/+4
* We don't allow * in printf formats anywhere - not in magic descriptions andChristos Zoulas2020-02-201-2/+11
* Handle %<w>.<p><fmt> (Christoph Biedl)Christos Zoulas2020-02-201-8/+29
* Avoid memory leak on error. Found by oss-fuzzChristos Zoulas2020-02-171-15/+20
* - fix missed saving on push.Christos Zoulas2020-02-151-2/+4
* I think that oss-fuzz objects using sizeof(tbuf) here, so use 1024 instead.Christos Zoulas2020-02-141-4/+2
* PR/139: avoid excessive printing from doctored magic files (gockelhahn)Christos Zoulas2020-02-131-5/+56
* Add GUID support.Christos Zoulas2019-12-241-1/+31
* Pr/119: atrosinenko, appease sanitizer, don't call memset with a null pointerChristos Zoulas2019-11-091-2/+3
* PR/102: Sergei: save the locale string in our own storage so that we own it.Christos Zoulas2019-09-111-2/+7
* Limit the CSV test to text files and say so...Christos Zoulas2019-06-261-2/+2
* PR/85: Add a simple CSV detectorChristos Zoulas2019-06-081-1/+12
* From: Denys VlasenkoChristos Zoulas2019-05-071-3/+4
* - Add a file_separator function that prints the separator.Christos Zoulas2019-05-061-4/+9
* use c++ casts everywhere.Christos Zoulas2019-02-201-9/+9
* PR/62: spinpx: limit size of file_printable.Christos Zoulas2019-02-181-4/+5
* remove tests for stddef.h, locale.h, limits.h all defined in c89 (petk)Christos Zoulas2018-10-011-3/+1
* It used to be the case that if a magic entry was found (with non-nulChristos Zoulas2018-08-201-17/+30
* Add a simple JSON parser...Christos Zoulas2018-08-111-1/+12
* We don't want to do anything here on errors (since we are already printingChristos Zoulas2018-08-011-5/+5
* Add a comment for the return values of the magic functions.Christos Zoulas2018-07-271-2/+8
* a copy of the mode info is now stored in magic_set, and modified by theChristos Zoulas2018-05-241-19/+34
* - Encapsulate the buffer, size and file descriptor in a struct buffer.Christos Zoulas2017-11-021-14/+13
* Always reset state in {file,buffer}_apprentice (Krzysztof Wilczynski)Christos Zoulas2017-08-281-3/+3
* Work around glibc/regex/msan bug regexec returns 0 but does initialize pmatch.Christos Zoulas2017-04-071-1/+3
* PR/579: Andre: Avoid possible infinite recursion in out of memory fromChristos Zoulas2016-12-011-2/+2
* add braces to clarify intent.Christos Zoulas2016-10-191-2/+3