version 1.2, 2015/05/20 22:22:59 |
version 1.4, 2015/05/21 00:18:52 |
|
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
*/ |
|
#include "config.h" |
|
|
#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) |