version 1.2, 2015/05/20 22:22:59 |
version 1.3, 2015/05/20 22:57:22 |
|
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
*/ |
|
|
#include <sys/param.h> |
|
#include <sys/types.h> |
#include <sys/types.h> |
|
|
#include <ctype.h> |
#include <ctype.h> |
#include <err.h> |
#include <err.h> |
|
#include <limits.h> |
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
#include <string.h> |
#include <string.h> |
|
|
soelim_fopen(const char *name) |
soelim_fopen(const char *name) |
{ |
{ |
FILE *f; |
FILE *f; |
char path[MAXPATHLEN]; |
char path[PATH_MAX]; |
size_t i; |
size_t i; |
|
|
if (strcmp(name, "-") == 0) |
if (strcmp(name, "-") == 0) |