*
* \author John Levon
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "userinfo.h"
-#include "LAssert.h"
#include "filetools.h"
+#include <boost/assert.hpp>
+
#include <pwd.h>
#include <unistd.h>
#include <sys/types.h>
+using std::string;
+
namespace lyx {
namespace support {
string const user_name()
{
struct passwd * pw(getpwuid(geteuid()));
- Assert(pw);
+ BOOST_ASSERT(pw);
string name = pw->pw_gecos;
if (name.empty())