configure.ac, lib/*, example/*.c, src/iso-read.c:

start to separate compiler/OS deficiencies into "portable.h"

configure.ac, lib/iso9660_fs.c:
  use AM_LANGINFO_CODESET rather than code in our ouwn langinfo.h and
  CODESET tests.
This commit is contained in:
rocky
2004-10-31 13:58:44 +00:00
parent 64f2ad383d
commit 465e0373ee
9 changed files with 78 additions and 37 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: iso-read.c,v 1.5 2004/07/17 16:47:37 rocky Exp $
$Id: iso-read.c,v 1.6 2004/10/31 13:58:44 rocky Exp $
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
@@ -21,6 +21,7 @@
/* Program to read ISO-9660 images. */
#include "util.h"
#include "portable.h"
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -44,10 +45,6 @@
#include <sys/types.h>
#endif
#if defined ( WIN32 )
#define ftruncate chsize
#endif
/* Used by `main' to communicate with `parse_opt'. And global options
*/
struct arguments