/*
* ion/mod_sm/sm.c
*
- * Copyright (c) Tuomo Valkonen 2004-2006.
+ * Copyright (c) Tuomo Valkonen 2004-2008.
*
- * Ion is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
+ * See the included file LICENSE for details.
*/
#include <stdlib.h>
#include <libtu/misc.h>
#include <libtu/parser.h>
#include <libtu/tokenizer.h>
+#include <libtu/util.h>
#include <ioncore/common.h>
#include <ioncore/global.h>
* to the session.
*/
if(smdir!=NULL){
- tmp=scat(smdir, "/ion3"); /* TODO: pwm<=>ion! */
+ tmp=scat3(smdir, "/", libtu_progbasename());
}else if(id!=NULL){
tmp=scat("gnome-session-", id);
if(tmp!=NULL){