Fixed binary file access
authorSam Moore <[email protected]>
Fri, 16 Aug 2013 00:28:37 +0000 (08:28 +0800)
committerSam Moore <[email protected]>
Fri, 16 Aug 2013 00:28:37 +0000 (08:28 +0800)
commit321bf62fcb0943a140dbc55bff5350e11c0eb946
tree5f0cfba6885acf1d4d3e595ff0f77f65055c3697
parent259624013535f3c93315868efb5f6f611ba88470
Fixed binary file access

Really dumb mistakes.

If we can open the file for reading and writing, and remove the need to open/close
in both threads each time it is accessed, the efficiency might be better.

We'd still have to close the file to save changes to disk though,
might be a problem if the program crashes.
server/Makefile
server/main.c
server/query.c
server/sensor.c

UCC git Repository :: git.ucc.asn.au