You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA. */
#include <config.h>
#include "error.h"
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
-
#include "settings.h"
#include "command.h"
#include "error.h"
#include "lexer.h"
#include "misc.h"
+#include "stat-macros.h"
#include "str.h"
-
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
enum PER {PER_RO, PER_RW};
struct stat buf;
mode_t mode;
- if ( safer_mode() )
+ if (get_safer_mode ())
{
msg (SE, _("This command not allowed when the SAFER option is set."));
return CMD_FAILURE;