mbalmer
0dfc484ad7
fold long line in a readable way; pass nil as query table if reading form data fails
2013-10-17 08:07:54 +00:00
mbalmer
b972118e3e
better approach to NUL terminate strings
2013-10-17 07:54:19 +00:00
mbalmer
a6427458c1
plug a memory leak
2013-10-17 07:49:06 +00:00
mbalmer
de3f2be777
zero allocated memory buffers
2013-10-17 07:31:31 +00:00
he
10f296ec2a
Also depend on LIBLUA, and add -lm to allow static linking.
2013-10-16 10:04:26 +00:00
wiz
c9283f1155
Sort. More markup.
2013-10-12 22:37:43 +00:00
mbalmer
b65f3decc3
no need to check free() arguments against NULL
2013-10-12 18:46:12 +00:00
mbalmer
6c154a3125
it's Lua, not lua
2013-10-12 17:25:18 +00:00
mbalmer
cb23152c39
add Lua scripting support to bozohttpd, see httpd(8) for details
2013-10-12 17:24:06 +00:00
mbalmer
bee8901ae3
remove trailing whitespace
2013-10-12 07:49:40 +00:00
matt
fa741d8823
Use MACHINE_CPU for m68k. Use similar logic for both tests.
2013-10-09 22:33:41 +00:00
jnemeth
4862012f0e
- complete renaming of -w to -c from 1.38
...
- update usage string to match
- this fixes PR/48234 by Jeff Woodall
2013-10-04 07:51:48 +00:00
martin
abea8b316b
The R_SPARC_L44 relocation type is documented to be truncating and
...
calculated as "(S + A) & 0xfff" - so while it (usually) sets a "imm13" field
in the opcode, only 12 bits of the calculated value can be used.
2013-10-03 10:45:57 +00:00
martin
c60b2e0b87
Missing , in table initializer
2013-09-23 21:00:35 +00:00
matt
25193be039
For earm, emit a MARCH note.
2013-09-10 16:35:10 +00:00
pooka
c99e7cc9a4
allow compile-time overriding of BOZO_WRSZ/MMAPSZ parameters
2013-09-04 22:59:50 +00:00
joerg
a6c6eb019c
Some architectures can't create unwind tables without the frame pointer,
...
so don't use -fomit-frame-pointer on those.
2013-08-12 17:15:46 +00:00
joerg
fabae2a4ad
Use __dead.
2013-08-12 13:54:33 +00:00
dholland
6a9155ad5a
Don't try to estrdup() NULL; thanks martin@
2013-08-11 16:36:30 +00:00
martin
00b8abd4f7
Fix another automatic variable that is life both pre- and post the siglongjmp
...
(which gcc calls "might be clobbered") by marking it volatile: on some
machines, this value might end up in a register loaded before the sigsetjmp,
but not preserved by the siglongjmp later.
Fixes the VAX build.
2013-08-11 09:16:42 +00:00
dholland
27c14eada7
Use siglongjmp to jump out of signal handlers.
2013-08-11 05:48:56 +00:00
dholland
bd3f97bffb
Pass WARNS=5.
2013-08-11 05:42:41 +00:00
skrll
ffcdb0b170
Fix DEBUG build.
2013-08-03 13:17:05 +00:00
christos
5a45295fbd
fstat returns -1 on error (Maxime Villard)
...
also while (1) -> for (;;)
2013-07-31 19:50:47 +00:00
wiz
a5684d07dd
Use Mt for email addresses.
2013-07-20 21:39:55 +00:00
matt
8b8f566d0a
Support MACHINE_ARCH of coldfire
2013-07-18 21:58:13 +00:00
matt
36677b4016
Use new macros from <machine/asm.h> to be more portable
2013-07-18 21:57:42 +00:00
matt
86209a6763
Use ${MACHINE_CPU} for m68k
2013-07-18 21:39:11 +00:00
mrg
1a1e3035f8
add a target to export a bozohttpd distfile.
2013-07-11 08:51:09 +00:00
mrg
dbf68b5f60
merge parts of the release Makefile back in; unused by the netbsd build.
2013-07-11 08:32:39 +00:00
mrg
fd2f6d873b
prepare for netbsd to be mastersrc for bozohttpd.
2013-07-11 08:24:47 +00:00
wiz
0b8a06c9e2
netbsd.org -> NetBSD.org and use my @NetBSD.org address as well.
2013-07-11 08:19:56 +00:00
mrg
7ec01116c2
copyright maint.
2013-07-11 07:46:37 +00:00
mrg
a4b84ca096
- update CHANGES with recent changes
...
- export esacpe_html() and use it in directory indexing
- update manual to include recent contributors
2013-07-11 07:44:19 +00:00
matt
d28e4d0aac
Simplify ELFSIZE by using _MIPS_SZPTR
2013-07-10 15:08:38 +00:00
njoly
84e9c4d0dc
Fix sendmail section (8 -> 1) in xrefs.
2013-07-09 09:41:30 +00:00
christos
1c129848aa
Simplify error handling and make it actually return a useable error code.
...
(Maxime Villard)
2013-07-04 02:58:20 +00:00
christos
59b4948a7f
Check snprintf for -1 (Maxime Villard)
2013-07-03 21:20:45 +00:00
christos
304ddee50c
remove unneeded initialization.
2013-07-03 14:16:01 +00:00
christos
9c7eb973a4
check that stat succeeded before testing the guts of struct stat
...
(Manime Villard)
2013-07-03 14:15:47 +00:00
christos
7807c80061
Prevent buffer overflows; reported by Maxime Villard
2013-06-28 17:20:15 +00:00
christos
b4e74c76f9
fix wrong variable check, remove casts
...
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html
2013-06-28 15:48:02 +00:00
joerg
9e69720425
Fix violations of the sequence point rule.
2013-06-28 15:04:35 +00:00
martin
8d76df8028
Check for needed authentication even before redirecting.
2013-06-27 13:11:11 +00:00
martin
19574f3ec5
Fix debug output for redirects
2013-06-27 13:00:43 +00:00
martin
f598b53e8a
Fix copy&pasto in debug output
2013-06-27 12:20:08 +00:00
martin
2b3a4643bf
After handling a request by sending a redirect, do not proceed with the normal
...
request handling (which would typically add error output after the end
of the redirect message).
2013-06-27 11:02:20 +00:00
martin
407204a79f
Redo previous (fixing a memory leak introduced), and while there rework
...
virtual server support - in daemonized mode mixed virtual and "main"
server usage would alter the virtual hostname depending on order of
requests.
To fix, move the effective virtual hostname into the request structure
and leave the httpd server description static.
2013-06-27 10:01:31 +00:00
christos
b75be32450
skip text that is in the cvs log (joerg)
2013-06-24 20:57:47 +00:00
christos
1b9025205b
PR/47958: Robert Kovacic: makewhatis.c not generating entries in whatisdb
...
for POD generated pages
2013-06-24 12:56:22 +00:00