Commits
- Commit:
0233b0f6b9fcbbca701d245e82fbddca20862eeb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add version in usage
- Commit:
9327bc045a93253310a3b6933e8bd96d27298185
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use getprogname() in usage()
- Commit:
5777923bb08a51b04537a127c8514186cd276a70
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use getopt_long, add --help as synonym of -h and -V/--version
- Commit:
2c43dcceb6f462a46da93b6e9a6b3c4617e70823
- From:
- Omar Polo <op@omarpolo.com>
- Date:
document `log' option
- Commit:
1b78bd563a8779c8be71c0489abb92a61e21f8f1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
strncpy -> strlcpy
quoting strncpy(3)
strncpy() only NUL terminates the destination string when the
length of the source string is less than the length parameter.
strlcpy is more intuitive.
this is another warning gcc 8 found that clang didn't.
- Commit:
80fbf1e934ed1e2dafea65e88bb91a501f175a3b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make sure l is always initialized
I can't think of cases where we reach serialize_iri and path is NULL,
but let's keep the safe side and initialize l. gcc 8 found this,
clang didn't.
- Commit:
2d383cbd5f19052f4f4d154e0d5e4ec387b12690
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove last occurrences of lex
- Commit:
9e659275b0fa7f5972215b979ba95a21571d9b1d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove now unused lex.l
- Commit:
ef129b08ef85ad6d034548fa1fbe71570a61e75a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move lineno/colno into the token struct
- Commit:
74f0778b9ae93a700d8b0f759b05f24e69f54921
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop the dependency on lex by implementing yylex by ourselves
The actual implementation is based off doas' parse.y. This gave us
various benefits, like cleaner code, \ to break long lines, better
handling of quotes etc...
- Commit:
984c46a82e002089b3a4035ba34873ad9c75d973
- From:
- Omar Polo <op@omarpolo.com>
- Date:
kill unused variable
leftover from the handle_imsg_log -> do_log transition.
- Commit:
89c110fe7befaee2b446873a351e0833c3c884b6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
be quieter
nobody really cares if must_read fails, as it normally shouldn't. It
only clutters the regression tests with scary messages that looks like
failure but are, in fact, expected.
- Commit:
e952c5052a0c524eee6d8151b1af96ce2c94ca18
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow sending fd to log on to the logger process
the logger process now can receive a file descriptor to write logs
to. At the moment the logic is simple, if it receives a file it logs
there, otherwise it logs to syslog. This will allow to log on custom
log files.
- Commit:
0f2124e29194b42209e879a539e35d295f525311
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add some simple test for fastcgi
and while there reorder the targets in the Makefile a bit
- Commit:
03fcfb79d607e491c3d5fade1bf1afbd1beba851
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add simple fcgi application for test purposes