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