summaryrefslogtreecommitdiff
path: root/mimetypes
AgeCommit message (Collapse)AuthorFiles
2018-04-20BugfixSergey Poznyakoff1
* mimetypes/err.c (mimetypes_err_format): Initialize rc
2018-02-13Improve index generationSergey Poznyakoff1
* mimetypes/eval.c (get_file_type): Return "directory", for directories. * src/defidx.html: Use $FILETYPE if no icon is available. * src/idx.c: New variable $FILETYPE.
2018-01-13BugfixesSergey Poznyakoff3
* mimetypes/err.c (print_locus_range): Fix output length. * mimetypes/grammar.y (rule_line): Initialize locus range. * mimetypes/prloc.c (locus_range_format): Fix memory overrun; terminate output with null byte. * src/fileserv.c: New option -i (index page).
2018-01-13libmimetypes: Uniformly prefix debug envvars with MIMETYPES_DEBUG_Sergey Poznyakoff3
MIMETYPES_DEBUG_LEX - produce lexer traces MIMETYPES_DEBUG_GRAM - produce grammar traces MIMETYPES_DEBUG_EVAL - produce evaluator traces
2018-01-13Various fixes in libmimetypesSergey Poznyakoff4
* mimetypes/Makefile.am: Rename yy prefix in grammar and lexer. * mimetypes/grammar.y (yyerror, yylex): Provide extern declarations. * mimetypes/lexer.l (yylval, yylloc, yyerror): Provide defines to compensate for --name-prefix in bison (see notes in Makefile.am). Fix improper usage of yyerror.
2018-01-07Uniformly handle out of memory conditionsSergey Poznyakoff5
2018-01-07Avoid calling perror in libmimetypesSergey Poznyakoff1
2018-01-06Switch to the deep directory structure.Sergey Poznyakoff3
2018-01-03Add mimetypes library.Sergey Poznyakoff19
Ported from GNU Mailutils.

Return to:

Send suggestions and report system problems to the System administrator.