Release 0.95.10 by Vince Coen. Some spelling errors fixed. In mbout check for full path

This commit is contained in:
Michiel Broek
2011-01-26 22:41:52 +01:00
parent f806eb27db
commit 19a0ee7bd9
6 changed files with 22 additions and 11 deletions

View File

@@ -1,10 +1,9 @@
/*****************************************************************************
*
* $Id: mbout.c,v 1.29 2007/09/02 11:17:31 mbse Exp $
* Purpose: MBSE BBS Outbound Manager
*
*****************************************************************************
* Copyright (C) 1997-2007
* Copyright (C) 1997-2010
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@@ -326,6 +325,8 @@ int main(int argc, char *argv[])
if (argv[4][0] == '-')
Fatal((char *)"Invalid filename given", MBERR_COMMANDLINE);
if (argv[4][0] != '/')
Fatal((char *)"Must use absolute path/filename (or ~/path/filename)", MBERR_COMMANDLINE);
if (file_exist(argv[4], R_OK) != 0)
Fatal((char *)"File doesn't exist", MBERR_COMMANDLINE);