2d07f9
Nur in udftools-1.0.0b3-new/cdrwtool: cdrwtool.
2d07f9
diff -ur udftools-1.0.0b3/cdrwtool/cdrwtool.c udftools-1.0.0b3-new/cdrwtool/cdrwtool.c
2d07f9
--- udftools-1.0.0b3/cdrwtool/cdrwtool.c	2002-12-28 05:48:51.000000000 +0100
2d07f9
+++ udftools-1.0.0b3-new/cdrwtool/cdrwtool.c	2007-08-23 13:28:23.000000000 +0200
2d07f9
@@ -27,6 +27,7 @@
2d07f9
 #include <unistd.h>
2d07f9
 #include <getopt.h>
2d07f9
 #include <signal.h>
2d07f9
+#include <limits.h>
2d07f9
 
2d07f9
 #include <sys ioctl.h="">
2d07f9
 #include <asm param.h="">
2d07f9
Nur in udftools-1.0.0b3-new/cdrwtool: cdrwtool.o.
2d07f9
Nur in udftools-1.0.0b3-new/cdrwtool: defaults.o.
2d07f9
Nur in udftools-1.0.0b3-new/cdrwtool: .deps.
2d07f9
Nur in udftools-1.0.0b3-new/cdrwtool: .libs.
2d07f9
Nur in udftools-1.0.0b3-new/cdrwtool: main.o.
2d07f9
Nur in udftools-1.0.0b3-new/cdrwtool: Makefile.
2d07f9
Nur in udftools-1.0.0b3-new/cdrwtool: mkudffs.o.
2d07f9
Nur in udftools-1.0.0b3-new/cdrwtool: options.o.
2d07f9
diff -ur udftools-1.0.0b3/config/config.guess udftools-1.0.0b3-new/config/config.guess
2d07f9
--- udftools-1.0.0b3/config/config.guess	2004-02-23 10:33:44.000000000 +0100
2d07f9
+++ udftools-1.0.0b3-new/config/config.guess	2007-08-23 13:27:41.000000000 +0200
2d07f9
@@ -3,7 +3,7 @@
2d07f9
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2d07f9
 #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
2d07f9
 
2d07f9
-timestamp='2003-01-10'
2d07f9
+timestamp='2003-06-17'
2d07f9
 
2d07f9
 # This file is free software; you can redistribute it and/or modify it
2d07f9
 # under the terms of the GNU General Public License as published by
2d07f9
@@ -106,6 +106,7 @@
2d07f9
 : ${TMPDIR=/tmp} ;
2d07f9
  { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
2d07f9
  { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
2d07f9
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
2d07f9
  { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
2d07f9
 dummy=$tmp/dummy ;
2d07f9
 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
2d07f9
@@ -135,6 +136,13 @@
2d07f9
 UNAME_SYSTEM=`(uname -s) 2>/dev/null`  || UNAME_SYSTEM=unknown
2d07f9
 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
2d07f9
 
2d07f9
+## for Red Hat Linux
2d07f9
+if test -f /etc/redhat-release ; then
2d07f9
+    VENDOR=redhat ;
2d07f9
+else
2d07f9
+    VENDOR= ;
2d07f9
+fi
2d07f9
+
2d07f9
 # Note: order is significant - the case branches are not exclusive.
2d07f9
 
2d07f9
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
2d07f9
@@ -235,74 +243,56 @@
2d07f9
     *:OpenBSD:*:*)
2d07f9
 	echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
2d07f9
 	exit 0 ;;
2d07f9
-    *:MicroBSD:*:*)
2d07f9
-	echo ${UNAME_MACHINE}-unknown-microbsd${UNAME_RELEASE}
2d07f9
-	exit 0 ;;
2d07f9
     alpha:OSF1:*:*)
2d07f9
 	if test $UNAME_RELEASE = "V4.0"; then
2d07f9
 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
2d07f9
 	fi
2d07f9
+	# According to Compaq, /usr/sbin/psrinfo has been available on
2d07f9
+	# OSF/1 and Tru64 systems produced since 1995.  I hope that
2d07f9
+	# covers most systems running today.  This code pipes the CPU
2d07f9
+	# types through head -n 1, so we only detect the type of CPU 0.
2d07f9
+	ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
2d07f9
+	case "$ALPHA_CPU_TYPE" in
2d07f9
+	    "EV4 (21064)")
2d07f9
+		UNAME_MACHINE="alpha" ;;
2d07f9
+	    "EV4.5 (21064)")
2d07f9
+		UNAME_MACHINE="alpha" ;;
2d07f9
+	    "LCA4 (21066/21068)")
2d07f9
+		UNAME_MACHINE="alpha" ;;
2d07f9
+	    "EV5 (21164)")
2d07f9
+		UNAME_MACHINE="alphaev5" ;;
2d07f9
+	    "EV5.6 (21164A)")
2d07f9
+		UNAME_MACHINE="alphaev56" ;;
2d07f9
+	    "EV5.6 (21164PC)")
2d07f9
+		UNAME_MACHINE="alphapca56" ;;
2d07f9
+	    "EV5.7 (21164PC)")
2d07f9
+		UNAME_MACHINE="alphapca57" ;;
2d07f9
+	    "EV6 (21264)")
2d07f9
+		UNAME_MACHINE="alphaev6" ;;
2d07f9
+	    "EV6.7 (21264A)")
2d07f9
+		UNAME_MACHINE="alphaev67" ;;
2d07f9
+	    "EV6.8CB (21264C)")
2d07f9
+		UNAME_MACHINE="alphaev68" ;;
2d07f9
+	    "EV6.8AL (21264B)")
2d07f9
+		UNAME_MACHINE="alphaev68" ;;
2d07f9
+	    "EV6.8CX (21264D)")
2d07f9
+		UNAME_MACHINE="alphaev68" ;;
2d07f9
+	    "EV6.9A (21264/EV69A)")
2d07f9
+		UNAME_MACHINE="alphaev69" ;;
2d07f9
+	    "EV7 (21364)")
2d07f9
+		UNAME_MACHINE="alphaev7" ;;
2d07f9
+	    "EV7.9 (21364A)")
2d07f9
+		UNAME_MACHINE="alphaev79" ;;
2d07f9
+	esac
2d07f9
 	# A Vn.n version is a released version.
2d07f9
 	# A Tn.n version is a released field test version.
2d07f9
 	# A Xn.n version is an unreleased experimental baselevel.
2d07f9
 	# 1.2 uses "1.2" for uname -r.
2d07f9
-	eval $set_cc_for_build
2d07f9
-	cat <<eof>$dummy.s
2d07f9
-	.data
2d07f9
-\$Lformat:
2d07f9
-	.byte 37,100,45,37,120,10,0	# "%d-%x\n"
2d07f9
-
2d07f9
-	.text
2d07f9
-	.globl main
2d07f9
-	.align 4
2d07f9
-	.ent main
2d07f9
-main:
2d07f9
-	.frame \$30,16,\$26,0
2d07f9
-	ldgp \$29,0(\$27)
2d07f9
-	.prologue 1
2d07f9
-	.long 0x47e03d80 # implver \$0
2d07f9
-	lda \$2,-1
2d07f9
-	.long 0x47e20c21 # amask \$2,\$1
2d07f9
-	lda \$16,\$Lformat
2d07f9
-	mov \$0,\$17
2d07f9
-	not \$1,\$18
2d07f9
-	jsr \$26,printf
2d07f9
-	ldgp \$29,0(\$26)
2d07f9
-	mov 0,\$16
2d07f9
-	jsr \$26,exit
2d07f9
-	.end main
2d07f9
-EOF
2d07f9
-	$CC_FOR_BUILD -o $dummy $dummy.s 2>/dev/null
2d07f9
-	if test "$?" = 0 ; then
2d07f9
-		case `$dummy` in
2d07f9
-			0-0)
2d07f9
-				UNAME_MACHINE="alpha"
2d07f9
-				;;
2d07f9
-			1-0)
2d07f9
-				UNAME_MACHINE="alphaev5"
2d07f9
-				;;
2d07f9
-			1-1)
2d07f9
-				UNAME_MACHINE="alphaev56"
2d07f9
-				;;
2d07f9
-			1-101)
2d07f9
-				UNAME_MACHINE="alphapca56"
2d07f9
-				;;
2d07f9
-			2-303)
2d07f9
-				UNAME_MACHINE="alphaev6"
2d07f9
-				;;
2d07f9
-			2-307)
2d07f9
-				UNAME_MACHINE="alphaev67"
2d07f9
-				;;
2d07f9
-			2-1307)
2d07f9
-				UNAME_MACHINE="alphaev68"
2d07f9
-				;;
2d07f9
-			3-1307)
2d07f9
-				UNAME_MACHINE="alphaev7"
2d07f9
-				;;
2d07f9
-		esac
2d07f9
-	fi
2d07f9
 	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
2d07f9
 	exit 0 ;;
2d07f9
+    Alpha*:OpenVMS:*:*)
2d07f9
+	echo alpha-hp-vms
2d07f9
+	exit 0 ;;
2d07f9
     Alpha\ *:Windows_NT*:*)
2d07f9
 	# How do we know it's Interix rather than the generic POSIX subsystem?
2d07f9
 	# Should we change UNAME_MACHINE based on the output of uname instead
2d07f9
@@ -341,6 +331,9 @@
2d07f9
     NILE*:*:*:dcosx)
2d07f9
 	echo pyramid-pyramid-svr4
2d07f9
 	exit 0 ;;
2d07f9
+    DRS?6000:unix:4.0:6*)
2d07f9
+	echo sparc-icl-nx6
2d07f9
+	exit 0 ;;
2d07f9
     DRS?6000:UNIX_SV:4.2*:7*)
2d07f9
 	case `/usr/bin/uname -p` in
2d07f9
 	    sparc) echo sparc-icl-nx7 && exit 0 ;;
2d07f9
@@ -765,7 +758,7 @@
2d07f9
     *:BSD/OS:*:*)
2d07f9
 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
2d07f9
 	exit 0 ;;
2d07f9
-    *:FreeBSD:*:*)
2d07f9
+    *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
2d07f9
 	# Determine whether the default compiler uses glibc.
2d07f9
 	eval $set_cc_for_build
2d07f9
 	sed 's/^	//' << EOF >$dummy.c
2d07f9
@@ -788,8 +781,8 @@
2d07f9
     i*:PW*:*)
2d07f9
 	echo ${UNAME_MACHINE}-pc-pw32
2d07f9
 	exit 0 ;;
2d07f9
-    x86:Interix*:3*)
2d07f9
-	echo i586-pc-interix3
2d07f9
+    x86:Interix*:[34]*)
2d07f9
+	echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
2d07f9
 	exit 0 ;;
2d07f9
     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
2d07f9
 	echo i${UNAME_MACHINE}-pc-mks
2d07f9
@@ -816,10 +809,20 @@
2d07f9
 	echo ${UNAME_MACHINE}-pc-minix
2d07f9
 	exit 0 ;;
2d07f9
     arm*:Linux:*:*)
2d07f9
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
2d07f9
+	eval $set_cc_for_build
2d07f9
+	if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
2d07f9
+		| grep __ARM_EABI__ >/dev/null
2d07f9
+	then
2d07f9
+		echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnu
2d07f9
+	else
2d07f9
+		echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnueabi
2d07f9
+	fi
2d07f9
+	exit 0 ;;
2d07f9
+    cris:Linux:*:*)
2d07f9
+	echo cris-axis-linux-gnu
2d07f9
 	exit 0 ;;
2d07f9
     ia64:Linux:*:*)
2d07f9
-	echo ${UNAME_MACHINE}-unknown-linux-gnu
2d07f9
+	echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnu
2d07f9
 	exit 0 ;;
2d07f9
     m68*:Linux:*:*)
2d07f9
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
2d07f9
@@ -863,10 +866,10 @@
2d07f9
 	test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0
2d07f9
 	;;
2d07f9
     ppc:Linux:*:*)
2d07f9
-	echo powerpc-unknown-linux-gnu
2d07f9
+	echo powerpc-${VENDOR:-unknown}-linux-gnu
2d07f9
 	exit 0 ;;
2d07f9
     ppc64:Linux:*:*)
2d07f9
-	echo powerpc64-unknown-linux-gnu
2d07f9
+	echo powerpc64-${VENDOR:-unknown}-linux-gnu
2d07f9
 	exit 0 ;;
2d07f9
     alpha:Linux:*:*)
2d07f9
 	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
2d07f9
@@ -894,7 +897,10 @@
2d07f9
 	echo hppa64-unknown-linux-gnu
2d07f9
 	exit 0 ;;
2d07f9
     s390:Linux:*:* | s390x:Linux:*:*)
2d07f9
-	echo ${UNAME_MACHINE}-ibm-linux
2d07f9
+	echo ${UNAME_MACHINE}-${VENDOR:-ibm}-linux-gnu
2d07f9
+	exit 0 ;;
2d07f9
+    sh64*:Linux:*:*)
2d07f9
+    	echo ${UNAME_MACHINE}-unknown-linux-gnu
2d07f9
 	exit 0 ;;
2d07f9
     sh*:Linux:*:*)
2d07f9
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
2d07f9
@@ -903,7 +909,7 @@
2d07f9
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
2d07f9
 	exit 0 ;;
2d07f9
     x86_64:Linux:*:*)
2d07f9
-	echo x86_64-unknown-linux-gnu
2d07f9
+	echo x86_64-${VENDOR:-unknown}-linux-gnu
2d07f9
 	exit 0 ;;
2d07f9
     i*86:Linux:*:*)
2d07f9
 	# The BFD linker knows what the default object file format is, so
2d07f9
@@ -955,7 +961,7 @@
2d07f9
 	#endif
2d07f9
 EOF
2d07f9
 	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
2d07f9
-	test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
2d07f9
+	test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR:-pc}-linux-${LIBC}" && exit 0
2d07f9
 	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
2d07f9
 	;;
2d07f9
     i*86:DYNIX/ptx:4*:*)
2d07f9
@@ -1054,7 +1060,7 @@
2d07f9
 	exit 0 ;;
2d07f9
     M68*:*:R3V[567]*:*)
2d07f9
 	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
2d07f9
-    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0)
2d07f9
+    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0)
2d07f9
 	OS_REL=''
2d07f9
 	test -r /etc/.relid \
2d07f9
 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
2d07f9
@@ -1210,6 +1216,9 @@
2d07f9
     *:ITS:*:*)
2d07f9
 	echo pdp10-unknown-its
2d07f9
 	exit 0 ;;
2d07f9
+    SEI:*:*:SEIUX)
2d07f9
+        echo mips-sei-seiux${UNAME_RELEASE}
2d07f9
+	exit 0 ;;
2d07f9
 esac
2d07f9
 
2d07f9
 #echo '(No uname command or uname output not recognized.)' 1>&2
2d07f9
diff -ur udftools-1.0.0b3/config/config.sub udftools-1.0.0b3-new/config/config.sub
2d07f9
--- udftools-1.0.0b3/config/config.sub	2004-02-23 10:33:44.000000000 +0100
2d07f9
+++ udftools-1.0.0b3-new/config/config.sub	2007-08-23 13:27:41.000000000 +0200
2d07f9
@@ -3,7 +3,7 @@
2d07f9
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2d07f9
 #   2000, 2001, 2002, 2003 Free Software Foundation, Inc.
2d07f9
 
2d07f9
-timestamp='2003-01-03'
2d07f9
+timestamp='2003-06-18'
2d07f9
 
2d07f9
 # This file is (in principle) common to ALL GNU software.
2d07f9
 # The presence of a machine in this file suggests that SOME GNU software
2d07f9
@@ -229,7 +229,7 @@
2d07f9
 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
2d07f9
 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
2d07f9
 	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
2d07f9
-	| clipper \
2d07f9
+	| c4x | clipper \
2d07f9
 	| d10v | d30v | dlx | dsp16xx \
2d07f9
 	| fr30 | frv \
2d07f9
 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
2d07f9
@@ -258,11 +258,11 @@
2d07f9
 	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
2d07f9
 	| pyramid \
2d07f9
 	| s390 | s390x \
2d07f9
-	| sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
2d07f9
+	| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
2d07f9
 	| sh64 | sh64le \
2d07f9
-	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
2d07f9
+	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
2d07f9
 	| strongarm \
2d07f9
-	| tahoe | thumb | tic80 | tron \
2d07f9
+	| tahoe | thumb | tic4x | tic80 | tron \
2d07f9
 	| v850 | v850e \
2d07f9
 	| we32k \
2d07f9
 	| x86 | xscale | xstormy16 | xtensa \
2d07f9
@@ -297,7 +297,7 @@
2d07f9
 	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
2d07f9
 	| avr-* \
2d07f9
 	| bs2000-* \
2d07f9
-	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
2d07f9
+	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
2d07f9
 	| clipper-* | cydra-* \
2d07f9
 	| d10v-* | d30v-* | dlx-* \
2d07f9
 	| elxsi-* \
2d07f9
@@ -331,11 +331,13 @@
2d07f9
 	| pyramid-* \
2d07f9
 	| romp-* | rs6000-* \
2d07f9
 	| s390-* | s390x-* \
2d07f9
-	| sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \
2d07f9
+	| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
2d07f9
 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
2d07f9
 	| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
2d07f9
-	| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
2d07f9
-	| tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
2d07f9
+	| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
2d07f9
+	| tahoe-* | thumb-* \
2d07f9
+	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
2d07f9
+	| tron-* \
2d07f9
 	| v850-* | v850e-* | vax-* \
2d07f9
 	| we32k-* \
2d07f9
 	| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
2d07f9
@@ -373,6 +375,9 @@
2d07f9
 		basic_machine=a29k-none
2d07f9
 		os=-bsd
2d07f9
 		;;
2d07f9
+	amd64)
2d07f9
+		basic_machine=x86_64-pc
2d07f9
+		;;
2d07f9
 	amdahl)
2d07f9
 		basic_machine=580-amdahl
2d07f9
 		os=-sysv
2d07f9
@@ -768,18 +773,24 @@
2d07f9
 	pentiumpro | p6 | 6x86 | athlon | athlon_*)
2d07f9
 		basic_machine=i686-pc
2d07f9
 		;;
2d07f9
-	pentiumii | pentium2)
2d07f9
+	pentiumii | pentium2 | pentiumiii | pentium3)
2d07f9
 		basic_machine=i686-pc
2d07f9
 		;;
2d07f9
+	pentium4)
2d07f9
+		basic_machine=i786-pc
2d07f9
+		;;
2d07f9
 	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
2d07f9
 		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
2d07f9
 		;;
2d07f9
 	pentiumpro-* | p6-* | 6x86-* | athlon-*)
2d07f9
 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
2d07f9
 		;;
2d07f9
-	pentiumii-* | pentium2-*)
2d07f9
+	pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
2d07f9
 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
2d07f9
 		;;
2d07f9
+	pentium4-*)
2d07f9
+		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
2d07f9
+		;;
2d07f9
 	pn)
2d07f9
 		basic_machine=pn-gould
2d07f9
 		;;
2d07f9
@@ -832,6 +843,10 @@
2d07f9
 	sb1el)
2d07f9
 		basic_machine=mipsisa64sb1el-unknown
2d07f9
 		;;
2d07f9
+	sei)
2d07f9
+		basic_machine=mips-sei
2d07f9
+		os=-seiux
2d07f9
+		;;
2d07f9
 	sequent)
2d07f9
 		basic_machine=i386-sequent
2d07f9
 		;;
2d07f9
@@ -839,6 +854,9 @@
2d07f9
 		basic_machine=sh-hitachi
2d07f9
 		os=-hms
2d07f9
 		;;
2d07f9
+	sh64)
2d07f9
+		basic_machine=sh64-unknown
2d07f9
+		;;
2d07f9
 	sparclite-wrs | simso-wrs)
2d07f9
 		basic_machine=sparclite-wrs
2d07f9
 		os=-vxworks
2d07f9
@@ -913,14 +931,18 @@
2d07f9
 		basic_machine=t90-cray
2d07f9
 		os=-unicos
2d07f9
 		;;
2d07f9
-        tic4x | c4x*)
2d07f9
-		basic_machine=tic4x-unknown
2d07f9
-		os=-coff
2d07f9
-		;;
2d07f9
 	tic54x | c54x*)
2d07f9
 		basic_machine=tic54x-unknown
2d07f9
 		os=-coff
2d07f9
 		;;
2d07f9
+	tic55x | c55x*)
2d07f9
+		basic_machine=tic55x-unknown
2d07f9
+		os=-coff
2d07f9
+		;;
2d07f9
+	tic6x | c6x*)
2d07f9
+		basic_machine=tic6x-unknown
2d07f9
+		os=-coff
2d07f9
+		;;
2d07f9
 	tx39)
2d07f9
 		basic_machine=mipstx39-unknown
2d07f9
 		;;
2d07f9
@@ -1023,13 +1045,13 @@
2d07f9
 	we32k)
2d07f9
 		basic_machine=we32k-att
2d07f9
 		;;
2d07f9
-	sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele)
2d07f9
+	sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
2d07f9
 		basic_machine=sh-unknown
2d07f9
 		;;
2d07f9
 	sh64)
2d07f9
 		basic_machine=sh64-unknown
2d07f9
 		;;
2d07f9
-	sparc | sparcv9 | sparcv9b)
2d07f9
+	sparc | sparcv8 | sparcv9 | sparcv9b)
2d07f9
 		basic_machine=sparc-sun
2d07f9
 		;;
2d07f9
 	cydra)
2d07f9
@@ -1114,7 +1136,7 @@
2d07f9
 	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
2d07f9
 	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
2d07f9
 	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
2d07f9
-	      | -powermax* | -dnix* | -microbsd*)
2d07f9
+	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
2d07f9
 	# Remember, each alternative MUST END IN *, to match a version number.
2d07f9
 		;;
2d07f9
 	-qnx*)
2d07f9
@@ -1223,6 +1245,12 @@
2d07f9
 	-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
2d07f9
 		os=-mint
2d07f9
 		;;
2d07f9
+	-aros*)
2d07f9
+		os=-aros
2d07f9
+		;;
2d07f9
+	-kaos*)
2d07f9
+		os=-kaos
2d07f9
+		;;
2d07f9
 	-none)
2d07f9
 		;;
2d07f9
 	*)
2d07f9
@@ -1254,6 +1282,9 @@
2d07f9
 	arm*-semi)
2d07f9
 		os=-aout
2d07f9
 		;;
2d07f9
+	c4x-* | tic4x-*)
2d07f9
+		os=-coff
2d07f9
+		;;
2d07f9
 	# This must come before the *-dec entry.
2d07f9
 	pdp10-*)
2d07f9
 		os=-tops20
2d07f9
Nur in udftools-1.0.0b3-new: config.log.
2d07f9
Nur in udftools-1.0.0b3-new: config.status.
2d07f9
Nur in udftools-1.0.0b3-new/doc: Makefile.
2d07f9
Nur in udftools-1.0.0b3-new/include: config.h.
2d07f9
Nur in udftools-1.0.0b3-new/include: stamp-h1.
2d07f9
Nur in udftools-1.0.0b3-new: libtool.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: crc.lo.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: crc.o.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: .deps.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: desc.lo.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: desc.o.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: extent.lo.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: extent.o.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: file.lo.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: file.o.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: .libs.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: libudffs.la.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: Makefile.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: unicode.lo.
2d07f9
Nur in udftools-1.0.0b3-new/libudffs: unicode.o.
2d07f9
Nur in udftools-1.0.0b3-new: Makefile.
2d07f9
Nur in udftools-1.0.0b3-new/mkudffs: defaults.o.
2d07f9
Nur in udftools-1.0.0b3-new/mkudffs: .deps.
2d07f9
Nur in udftools-1.0.0b3-new/mkudffs: .libs.
2d07f9
Nur in udftools-1.0.0b3-new/mkudffs: main.o.
2d07f9
Nur in udftools-1.0.0b3-new/mkudffs: Makefile.
2d07f9
Nur in udftools-1.0.0b3-new/mkudffs: mkudffs.
2d07f9
Nur in udftools-1.0.0b3-new/mkudffs: mkudffs.o.
2d07f9
Nur in udftools-1.0.0b3-new/mkudffs: options.o.
2d07f9
Nur in udftools-1.0.0b3-new/pktsetup: .deps.
2d07f9
Nur in udftools-1.0.0b3-new/pktsetup: .libs.
2d07f9
Nur in udftools-1.0.0b3-new/pktsetup: Makefile.
2d07f9
Nur in udftools-1.0.0b3-new/pktsetup: pktsetup.
2d07f9
diff -ur udftools-1.0.0b3/pktsetup/pktsetup.c udftools-1.0.0b3-new/pktsetup/pktsetup.c
2d07f9
--- udftools-1.0.0b3/pktsetup/pktsetup.c	2007-08-23 13:30:18.000000000 +0200
2d07f9
+++ udftools-1.0.0b3-new/pktsetup/pktsetup.c	2007-08-23 13:29:58.000000000 +0200
2d07f9
@@ -26,6 +26,8 @@
2d07f9
 #include <bits types.h="">
2d07f9
 #include <sys types.h="">
2d07f9
 #include <string.h>
2d07f9
+#include <limits.h>
2d07f9
+#include <stdlib.h>
2d07f9
 
2d07f9
 #include <linux cdrom.h="">
2d07f9
 
2d07f9
@@ -86,7 +88,7 @@
2d07f9
 {
2d07f9
 	int pkt_fd, dev_fd, cmd;
2d07f9
 
2d07f9
-	if ((pkt_fd = open(pkt_device, O_RDONLY | O_CREAT)) == -1) {
2d07f9
+	if ((pkt_fd = open(pkt_device, O_RDONLY | O_CREAT, 0600)) == -1) {
2d07f9
 		perror("open packet device");
2d07f9
 		return;
2d07f9
 	}
2d07f9
Nur in udftools-1.0.0b3-new/pktsetup: pktsetup.o.
2d07f9
Nur in udftools-1.0.0b3-new/udfct: Makefile.
2d07f9
Nur in udftools-1.0.0b3-new/udffsck: .deps.
2d07f9
Nur in udftools-1.0.0b3-new/udffsck: .libs.
2d07f9
Nur in udftools-1.0.0b3-new/udffsck: main.o.
2d07f9
Nur in udftools-1.0.0b3-new/udffsck: Makefile.
2d07f9
Nur in udftools-1.0.0b3-new/udffsck: udffsck.
2d07f9
Nur in udftools-1.0.0b3-new/wrudf: .deps.
2d07f9
Nur in udftools-1.0.0b3-new/wrudf: ide-pc.o.
2d07f9
Nur in udftools-1.0.0b3-new/wrudf: .libs.
2d07f9
Nur in udftools-1.0.0b3-new/wrudf: Makefile.
2d07f9
Nur in udftools-1.0.0b3-new/wrudf: wrudf.
2d07f9
Nur in udftools-1.0.0b3-new/wrudf: wrudf-cdr.o.
2d07f9
Nur in udftools-1.0.0b3-new/wrudf: wrudf-cdrw.o.
2d07f9
Nur in udftools-1.0.0b3-new/wrudf: wrudf-cmnd.o.
2d07f9
Nur in udftools-1.0.0b3-new/wrudf: wrudf-desc.o.
2d07f9
Nur in udftools-1.0.0b3-new/wrudf: wrudf.o.