- 22 Jan, 2016 2 commits
-
-
Justin Mitchell authored
-
Justin Mitchell authored
replace user online check offered to scripts
-
- 20 Jan, 2016 1 commit
-
-
Andrew Price authored
Use ftruncate instead of writing malloced garbage entries to set the file size of folders.bb, which dictates the (seemingly arbitrary) 64 folder limit. Also make it return on error instead of exiting.
-
- 15 Jan, 2016 2 commits
-
-
Andrew Price authored
-
Andrew Price authored
As we're determined to use git for providing version numbers we might as well do it the right way. Take all of the version information from git describe. This assumes that at least one annotated tag exists in the branch relating to a release. The tag will be created using $ git tag -a -m "Version 2.17" 2.17 fb1be771 so git describe will give us versions like 2.17-123-gf00baa which has better ordering properties than the current 2.17-gf00baa scheme, which is important for package upgrades. When HEAD matches the tag exactly, it will just give 2.17
-
- 14 Jan, 2016 4 commits
-
-
Andrew Price authored
Now that !tell is gone it's not needed.
-
Andrew Price authored
-
Andrew Price authored
-
Andrew Price authored
In main(), login_ok() was being called before ipc_connect() but when a new user is created, the login_ok() call leads to a broadcast() call which attempts to reconnect to the server through ipc_check() and fails because ipc_connect() hasn't set the server location yet. This bug has been lurking for a while but it has only recently turned into a segfault due to the NULL server location. Move the broadcast() calls to come after the ipc_connect() for now.
-
- 13 Jan, 2016 3 commits
-
-
Justin Mitchell authored
-
Justin Mitchell authored
as they should all count as being "user action" messages fixes #11
-
Justin Mitchell authored
as thats where the autoexec stuff gets run. actually fixes #9
-
- 12 Jan, 2016 6 commits
-
-
Justin Mitchell authored
-
Justin Mitchell authored
this removes the anachronistic single-user wiz command and fixes #8
-
Justin Mitchell authored
incoming message pipe. added a quick call to idle to give it a chance. fixes #9
-
Justin Mitchell authored
-
Justin Mitchell authored
-
Andrew Price authored
Introduced in commit b5193749. Fixes #7.
-
- 09 Dec, 2015 1 commit
-
-
Andrew Price authored
Using 0 made it look like all the messages were from the user at offset 0 with spy turned on.
-
- 08 Dec, 2015 1 commit
-
-
Andrew Price authored
-
- 27 Nov, 2015 1 commit
-
-
Andrew Price authored
-
- 20 Nov, 2015 1 commit
-
-
Andrew Price authored
-
- 14 Nov, 2015 3 commits
-
-
Andrew Price authored
That coccinelle script works better without the semicolons (duh): @rule0@ expression A,B; @@ - lseek(A, B, 0) + lseek(A, B, SEEK_SET) @rule1@ expression A,B; @@ - lseek(A, B, 1) + lseek(A, B, SEEK_CUR) @rule2@ expression A,B; @@ - lseek(A, B, 2) + lseek(A, B, SEEK_END)
-
Andrew Price authored
Change scripted with coccinelle: @rule0@ expression A,B; @@ - lseek(A, B, 0); + lseek(A, B, SEEK_SET); @rule1@ expression A,B; @@ - lseek(A, B, 1); + lseek(A, B, SEEK_CUR); @rule2@ expression A,B; @@ - lseek(A, B, 2); + lseek(A, B, SEEK_END);
-
Andrew Price authored
-
- 11 Nov, 2015 1 commit
-
-
Andrew Price authored
Also get rid of some unnecessary global variables.
-
- 09 Nov, 2015 5 commits
-
-
Andrew Price authored
-
Andrew Price authored
sed does it better.
-
Andrew Price authored
Half of it relates to MUD mode, the other half is out of date.
-
Andrew Price authored
-
Andrew Price authored
Spotted by scan-build
-
- 08 Nov, 2015 1 commit
-
-
Andrew Price authored
Also make the alias type not-a-pointer to improve readability and allocate all of the memory required for an alias in one go.
-
- 07 Nov, 2015 8 commits
-
-
Andrew Price authored
Makes sure we don't create the directories with root ownership. Also make mwserv's stdout line buffered to work better with logging systems which capture stdout.
-
Andrew Price authored
- Run as mw:mw - Make systemd create and cleanup /var/run/mw for us - Correct the path to mwserv
-
Andrew Price authored
(And less shouty.)
-
Andrew Price authored
Make it static but add a convenience pointer to it to take the place of the previous user pointer. Make the pointer itself const so that the compiler complains if anything besides the original user's address is assigned to it.
-
Andrew Price authored
-
Andrew Price authored
And tidy up command.c a bit
-
Andrew Price authored
Don't start at the beginning of the user db each time.
-
Andrew Price authored
-