Commit Graph

8 Commits

Author SHA1 Message Date
David Anderson fad4210f7b Various files: simplify #includes.
On Windows, include boinc_win.h
No references to STDWX_H, STDAFX_H etc.

Note: .cpp files should not have a bunch of gnarly #if logic in their includes.
If such logic is needed, put it in a central place.
2020-06-04 01:24:49 -07:00
Vitalii Koshura 92a1ac7343
lib: Fix missed parameters from 'throw' statements.
From PVS Studio:
V667:
The 'throw' operator does not possess any arguments and is not situated within the 'catch' block.
https://www.viva64.com/en/w/V667/print/

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2017-04-02 08:07:44 +03:00
Rom Walton 00edb91b2c LIB: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use.
Use safe_strcpy and safe_strcat when dealing with non-pointer data types.
2016-02-15 19:18:22 -05:00
Rom Walton afb6dcc6f3 MGR & Client: Massive code clean-up. Remove as much of the LoadLibrary/GetProcAddress stuff as we can under VS 2012. 2014-03-06 18:27:54 -05:00
Rom Walton b9f8bea665 client: Give boinc_master full control of any process spawned using the service token created by the client for boinc_project.
This will allow the core client to kill VirtualBox VM's launched indirectly by vboxwrapper.  Vboxwrapper launches vboxsvc.exe which launches vboxheadless.exe.  This should also take care of the core client being able to kill child processes of the regular wrapper as well.  I don't know the full scope of this type of issue?  Maybe the default ACLs for a process changed within the last couple of versions of Windows.
2013-11-14 23:26:06 -05:00
Rom Walton 076858a729 LIB: Standardize on using windows_format_error_string and drop windows_error_string.
* Move the windows_format_error_string function to win_util.cpp, .h instead of it being scattered between util.h and str_util.cpp.
* Convert the Windows error string into UTF8 before allowing it to be used by the caller
* Remove windows_error_string from library
2013-03-04 17:39:24 +01:00
David Anderson afdc69a8a8 More Line Ending Changes 2013-03-04 17:19:38 +01:00
David Anderson ecf614812e - code shuffling
svn path=/trunk/boinc/; revision=24119
2011-09-02 18:04:10 +00:00