Mail Archives: djgpp/1998/05/30/13:00:24
Eli,
I have this bug as well. "dtou file.nam" does not perform the rename
to the original file name, but leaves the temporary file name (with
the correctly converted text) in file "utod.tm$".
Below is a dir of dtou.exe, a shell script (run under bash in a W95
DOS box, LFN=y), the output of running that shell (redirected to a
file), a copy of the set variables under bash, and a copy of my
DJGPP.ENV.
Bash version is:
GNU bash, version 1.14.7(2) r3.1 w/multibyte extension
Dir of bash.exe:
Volume in drive H has no label
Volume Serial Number is 15E4-116F
Directory of H:\BIN
BASH EXE 403,968 06-07-97 3:38a bash.exe
1 file(s) 403,968 bytes
0 dir(s) 824,016,896 bytes free
The problem also occurs under DOS.
TIA for any help or info you can provide.
================ dtoubug.dir =====================================
Volume in drive H has no label
Volume Serial Number is 15E4-116F
Directory of H:\BIN
DTOU EXE 53,760 10-19-96 11:26a DTOU.EXE
1 file(s) 53,760 bytes
0 dir(s) 824,016,896 bytes free
================ dtoubug.dir =====================================
================ dtoubug.sh ======================================
#!/bin/bash
if [ -f utod*.* ]; then
rm -f utod*.*
fi
echo Creating dtoubug.dat
echo Test data for dtou>dtoubug.dat
echo Test data for dtou>>dtoubug.dat
ls -l dtou*
echo Running dtou dtoubug.dat
dtou dtoubug.dat
echo Listing dtou*
ls -l dtou*
echo Listing utod*
ls -l utod*
================ dtoubug.sh ======================================
================ dtoubug.out ======================================
Creating dtoubug.dat
-rwxr-xr-x 1 dosuser dos 177 May 30 12:04 dtoubug.bat
-rw-r--r-- 1 dosuser dos 40 May 30 12:20 dtoubug.dat
-rw-r--r-- 1 dosuser dos 22 May 30 12:20 dtoubug.out
-rw-r--r-- 1 dosuser dos 362 May 30 12:01 dtoubug.set
-rwxr-xr-x 1 dosuser dos 291 May 30 12:20 dtoubug.sh
Running dtou dtoubug.dat
Listing dtoubug.bat dtoubug.out dtoubug.set dtoubug.sh
-rwxr-xr-x 1 dosuser dos 177 May 30 12:04 dtoubug.bat
-rw-r--r-- 1 dosuser dos 443 May 30 12:20 dtoubug.out
-rw-r--r-- 1 dosuser dos 362 May 30 12:01 dtoubug.set
-rwxr-xr-x 1 dosuser dos 291 May 30 12:20 dtoubug.sh
Listing utod.tm$
-rw-r--r-- 1 dosuser dos 38 May 30 12:20 utod.tm$
================ dtoubug.out ======================================
================ dtoubug.set ======================================
AWKLIB=h:/share/awk
BASH=/bin/bash.exe
BASH_VERSION=1.14.7(2)
BLASTER=A220 I5 D1 H5 P330 T6 E620
CMD=C:/COMMAND.COM
CMDLINE=H:\bin\bash
COMSPEC=C:\COMMAND.COM
DJDIR=h:
DJGPP=H:\DJGPP.ENV
DOSPATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;D:\BAT;D:\UT;D:\PT;C:\TCPDOS\BIN;C:\PS1TOOLS;D:\EXTRA!
EMU387=h:/bin/emu387.dxe
ETC=C:\TCPDOS\ETC
EUID=42
HISTFILE=h:/usr/users/pjf3/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/usr/users/pjf3
HOSTTYPE=PCAT
IFS=
LFN=y
MAILCHECK=60
MAKESHELL=h:/bin/sh.exe
OPTERR=1
OPTIND=1
OSTYPE=MSDOS
PATH=/BIN:.://C/WINDOWS://C/WINDOWS/COMMAND://C/://D/BAT://D/UT://D/PT://C/TCPDOS/BIN://C/PS1TOOLS://D/EXTRA!
PATH_EXPAND=Y
PATH_SEPARATOR=:
PPID=1
PROMPT=$p$g
PS1=\s\w$
PS2=>
PS4=+
PWD=/stest
SHELL=/bin/sh
SHLVL=1
SVCONFIG=APTIVA
SYSROOT=h:
TEMP=C:\WINDOWS\TEMP
TERM=win32-win
TMP=C:\WINDOWS\TEMP
TMPDIR=h:/tmp
UID=42
USER=dosuser
_=dfx
winbootdir=C:\WINDOWS
windir=C:\WINDOWS
================ dtoubug.set ======================================
================ DJGPP.ENV ========================================
#= Don't edit this line unless you move djgpp.env outside
#= of the djgpp installation directory. If you do move
#= it, set DJDIR to the directory you installed DJGPP in.
#=
DJDIR=%:/>DJGPP%
+USER=dosuser
+TMPDIR=%DJDIR%/tmp
+EMU387=%DJDIR%/bin/emu387.dxe
+LFN=y
+MAKESHELL=%DJDIR%/bin/sh.exe
+AWKLIB=%DJDIR%/share/awk
[bison]
BISON_HAIRY=%DJDIR%/lib/bison.hai
BISON_SIMPLE=%DJDIR%/lib/bison.sim
[cpp]
CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include;%DJDIR%/contrib/grx20/include
C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/contrib/grx20/include
OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc
[gcc]
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib;%DJDIR%/contrib/grx20/lib
[cc]
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib;%DJDIR%/contrib/grx20/lib
[info]
INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info
INFO_COLORS=0x1f.0x31
[emacs]
INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info
[less]
LESSBINFMT=*k<%X>
LESSCHARDEF=8bcccbcc12bc5b95.b127.b
LESS=%LESS% -h5$y5$Dd2.0$Du14.0$Ds4.7$Dk9.0$
[locate]
+LOCATE_PATH=%DJDIR%/lib/locatedb.dat
[ls]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
[dir]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
[vdir]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:*~=08:*.bak=08:
[groff]
+GROFF_TMAC_PATH=.;%DJDIR%/share/groff/tmac
+GROFF_TYPESETTER=ascii
+GROFF_FONT_PATH=.;%DJDIR%/share/groff/font
[eqn]
+GROFF_TMAC_PATH=.;%DJDIR%/share/groff/tmac
+GROFF_TYPESETTER=ascii
[grodvi]
+GROFF_FONT_PATH=.;%DJDIR%/share/groff/font
[grolj4]
+GROFF_FONT_PATH=.;%DJDIR%/share/groff/font
[grops]
+GROFF_FONT_PATH=.;%DJDIR%/share/groff/font
+GROFF_TMPDIR=%TMPDIR%
[grotty]
+GROFF_FONT_PATH=.;%DJDIR%/share/groff/font
[indxbib]
+GROFF_EIGN=%DJDIR%/share/groff/eign
[lkbib]
+REFER=%DJDIR%/share/Ind
[refer]
+REFER=%DJDIR%/share/Ind
+GROFF_TMPDIR=%TMPDIR%
[troff]
+GROFF_TMAC_PATH=.;%DJDIR%/share/groff/tmac
+GROFF_TYPESETTER=ascii
+GROFF_FONT_PATH=.;%DJDIR%/share/groff/font
================ DJGPP.ENV ========================================
----------------------------------------------------
Peter J. Farley III (pjfarley AT dorsai DOT org)
- Raw text -