Some of the patches from Thomash Schmitt on http://lists.gnu.org/archive/html/libcdio-devel/2010-05/msg00005.html. More later when I get back to the states.

This commit is contained in:
R. Bernstein
2010-05-30 01:24:59 -04:00
parent 9fff09c8fe
commit 789a90472a
6 changed files with 19 additions and 18 deletions

View File

@@ -1,7 +1,5 @@
/* /*
$Id: common_interface.c,v 1.17 2008/04/16 17:00:40 karl Exp $ Copyright (C) 2004, 2005, 2007, 2008, 2010 Rocky Bernstein <rocky@gnu.org>
Copyright (C) 2004, 2005, 2007, 2008 Rocky Bernstein <rocky@gnu.org>
Copyright (C) 1998, 2002 Monty monty@xiph.org Copyright (C) 1998, 2002 Monty monty@xiph.org
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
@@ -25,8 +23,10 @@
* *
******************************************************************/ ******************************************************************/
#include <math.h> /* common_interface.h has to come first else _FILE_OFFSET_BITS are
redefined in say opensolaris. */
#include "common_interface.h" #include "common_interface.h"
#include <math.h>
#include "utils.h" #include "utils.h"
#include "smallft.h" #include "smallft.h"

View File

@@ -1,7 +1,5 @@
/* /*
$Id: common_interface.h,v 1.7 2008/04/16 17:00:40 karl Exp $ Copyright (C) 2004, 2005, 2008, 2009, 2010 Rocky Bernstein <rocky@gnu.org>
Copyright (C) 2004, 2005, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
Copyright (C) 1998 Monty xiphmont@mit.edu Copyright (C) 1998 Monty xiphmont@mit.edu
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify

View File

@@ -1,7 +1,5 @@
/* /*
$Id: udf.c,v 1.13 2008/04/24 07:28:00 rocky Exp $ Copyright (C) 2005, 2008, 2010 Rocky Bernstein <rocky@gnu.org>
Copyright (C) 2005, 2008 Rocky Bernstein <rocky@gnu.org>
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@@ -18,8 +16,10 @@
*/ */
/* Access routines */ /* Access routines */
#include <cdio/bytesex.h> /* udf_private.h has to come first else _FILE_OFFSET_BITS are redefined in
say opensolaris. */
#include "udf_private.h" #include "udf_private.h"
#include <cdio/bytesex.h>
#ifdef HAVE_STRING_H #ifdef HAVE_STRING_H
# include <string.h> # include <string.h>

View File

@@ -18,8 +18,10 @@
*/ */
/* Access routines */ /* Access routines */
#include <cdio/bytesex.h> /* udf_private.h has to come first else _FILE_OFFSET_BITS are redefined in
say opensolaris. */
#include "udf_private.h" #include "udf_private.h"
#include <cdio/bytesex.h>
#include "udf_fs.h" #include "udf_fs.h"
#ifdef HAVE_STRING_H #ifdef HAVE_STRING_H

View File

@@ -47,10 +47,10 @@ cd-paranoia.$(OBJEXT): usage.h
if HAVE_PERL if HAVE_PERL
usage.h: usage.txt $(srcdir)/pod2c.pl usage.h: usage.txt $(srcdir)/pod2c.pl
$(PERL) $(srcdir)/pod2c.pl $< >$@ $(PERL) $(srcdir)/pod2c.pl usage.txt >$@
else else
usage.h: usage-copy.h usage.h: usage-copy.h
cp $< $@ cp usage-copy.h $@
endif endif
endif endif

View File

@@ -1,7 +1,5 @@
/* /*
$Id: report.c,v 1.3 2008/04/11 15:44:00 karl Exp $ Copyright (C) 2004, 2008, 2010 Rocky Bernstein <rocky@gnu.org>
Copyright (C) 2004, 2008 Rocky Bernstein <rocky@gnu.org>
Copyright (C) 1998 Monty xiphmont@mit.edu Copyright (C) 1998 Monty xiphmont@mit.edu
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
@@ -24,8 +22,11 @@
* *
******************************************************************/ ******************************************************************/
#include <stdio.h>
/* config.h has to come first else _FILE_OFFSET_BITS are redefined in
say opensolaris. */
#include "config.h" #include "config.h"
#include <stdio.h>
#include <cdio/cdda.h> #include <cdio/cdda.h>
#include "report.h" #include "report.h"