Mail Archives: cygwin/2003/03/31/17:07:13
------=_NextPart_000_0000_01C2F7E2.7973D8A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
> Of Demmer, Thomas
> I have
> alias ls=/bin/ls.exe --show-control-chars
>
> in my /etc/profile.
>
According to Bash info-pages: Seems to me that it is better to define a
shell function...
It should be something like:
$ ls () { /bin/ls --show-control-chars $@; }
$ ls
<some files>
$ echo >åäöÅÄÖ
$ ls
<some files> åäöÅÄÖ
NOTE: Do NOT change "/bin/ls" into just "ls", I believe this creates a
hazardous back/loop reference which will eventually hang the computer.
A test for loop this is obviously done in the builtin "alias" but not
here(?)
Question to more knowledgable people:
Can the code for alias be reused/converted for shell functions?
Before realizing the potenial problem I had it hang my machine.
How to do "the hang"... ;-)
Windows 98SE:
Right klick on desktop -> New -> Shortcut ->
Enter this:
C:\WINDOWS\COMMAND.COM /E:30720 /c C:\Program\cygwin\cygwin.bat
Click "Next" and then "Finish"
Now start Bash with the new shortcut and enter the following:
1) $ ls () { ls --show-control-chars $@; }
2) $ ls
<long delay> consuming memory...
CTRL-C seems to work...
3) $ ls
Really soon -> a dead computer. (Powercycling is all that works after that)
NOTE:
at 2)
strace >ls-strace.txt ls
works i.e. doesn't hang.
My guess: strace doesn't launch the shell function.
Attached ls-strace.txt -> $ ls <an empty dir>
also at 2)
close Bash and your memory is free'd.
Cygwin version: Latest almost everything, updated yesterday or so.
/Hannu E K Nevalainen, Mariefred, Sweden
--END OF MESSAGE--
------=_NextPart_000_0000_01C2F7E2.7973D8A0
Content-Type: text/plain;
name="ls-strace.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="ls-strace.txt"
**********************************************
Program name: C:\PROGRAM\CYGWIN\BIN\LS.EXE (800159)
App version: 1001.8, api: 0.34
DLL version: 1003.22, api: 0.78
DLL build: 2003-03-18 09:20
OS version: Windows 98-4.10
Heap size: 402653184
Date/Time: 2003-03-31 23:41:41
**********************************************
13624 77828 [main] LS 800159 environ_init: 0x45804D0: =
!C:=3DC:\Program\cygwin\bin
8058 85886 [main] LS 800159 environ_init: 0x45804F0: BLASTER=3DA220 =
I5 D1 T4
24632 110518 [main] LS 800159 environ_init: 0x4580510: =
CLASSPATH=3DC:\WINDOWS\SYSTEM\QTJava.zip;
3676 114194 [main] LS 800159 environ_init: 0x4580540: CMDLINE=3Dbash =
--login -i
13628 127822 [main] LS 800159 environ_init: 0x4580560: =
COMSPEC=3DC:\WINDOWS\COMMAND.COM
26103 153925 [main] LS 800159 parse_options: tty 1001
10003 163928 [main] LS 800159 parse_options: title 0
13890 177818 [main] LS 800159 parse_options: glob (called func)
16089 193907 [main] LS 800159 parse_options: returning
2926 196833 [main] LS 800159 environ_init: 0x4580588: CYGWIN=3Dtty =
notitle glob
27120 223953 [main] LS 800159 environ_init: 0x45805C8: =
DOS=3Dc:\windows\command
25872 249825 [main] LS 800159 getwinenv: can't set native for HOME=3D =
since no environ yet
14096 263921 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Program\cygwin\home\Hannu, no-keep-rel, =
no-add-slash)
3889 267810 [main] LS 800159 normalize_win32_path: =
C:\Program\cygwin\home\Hannu =3D normalize_win32_path =
(C:\Program\cygwin\home\Hannu)
4045 271855 [main] LS 800159 mount_info::conv_to_posix_path: =
/home/Hannu =3D conv_to_posix_path (C:\Program\cygwin\home\Hannu)
12060 283915 [main] LS 800159 win_env::add_cache: posix /home/Hannu
2879 286794 [main] LS 800159 win_env::add_cache: native =
HOME=3DC:\Program\cygwin\home\Hannu
7106 293900 [main] LS 800159 posify: env var converted to =
HOME=3D/home/Hannu
10043 303943 [main] LS 800159 environ_init: 0x4580610: =
HOME=3D/home/Hannu
16870 320813 [main] LS 800159 environ_init: 0x4580758: HOMEDRIVE=3DC:
7483 328296 [main] LS 800159 environ_init: 0x45805E8: =
HOMEPATH=3D\Program\cygwin\home\Hannu
6030 334326 [main] LS 800159 environ_init: 0x4580770: =
LESSCHARSET=3Dlatin1
9593 343919 [main] LS 800159 environ_init: 0x4580788: =
LM_LICENSE_FILE=3DC:\Program\ModelSim\license.dat
13882 357801 [main] LS 800159 environ_init: 0x45807C0: MAKE_MODE=3Dunix
26076 383877 [main] LS 800159 environ_init: 0x45807D8: =
MANPATH=3D:/usr/ssl/man
6912 390789 [main] LS 800159 environ_init: 0x45807F8: =
OLDPWD=3D/home/Hannu
5994 396783 [main] LS 800159 getwinenv: can't set native for PATH=3D =
since no environ yet
872 397655 [main] LS 800159 normalize_posix_path: src .
1468 399123 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Program\cygwin\home\Hannu\z, no-keep-rel, =
no-add-slash)
680 399803 [main] LS 800159 normalize_win32_path: =
C:\Program\cygwin\home\Hannu\z =3D normalize_win32_path =
(C:\Program\cygwin\home\Hannu\z)
1077 400880 [main] LS 800159 mount_info::conv_to_posix_path: =
/home/Hannu/z =3D conv_to_posix_path (C:\Program\cygwin\home\Hannu\z)
917 401797 [main] LS 800159 cwdstuff::get: posix /home/Hannu/z
740 402537 [main] LS 800159 cwdstuff::get: (/home/Hannu/z) =3D =
cwdstuff::get (0x254F7D0, 260, 1, 0), errno 0
782 403319 [main] LS 800159 normalize_posix_path: /home/Hannu/z =3D =
normalize_posix_path (.)
651 403970 [main] LS 800159 mount_info::conv_to_win32_path: =
conv_to_win32_path (/home/Hannu/z)
786 404756 [main] LS 800159 set_flags: flags: binary (0x2)
658 405414 [main] LS 800159 mount_info::conv_to_win32_path: src_path =
/home/Hannu/z, dst C:\Program\cygwin\home\Hannu\z, flags 0xA, rc 0
1117 406531 [main] LS 800159 symlink_info::check: not a symlink
498 407029 [main] LS 800159 symlink_info::check: 0 =3D symlink.check =
(C:\Program\cygwin\home\Hannu\z, 0x254F490) (0xA)
280 407309 [main] LS 800159 path_conv::check: root_dir(C:\), =
this->path(C:\Program\cygwin\home\Hannu\z), set_has_acls(0)
566 407875 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Program\cygwin\usr\local\bin, keep-rel, =
no-add-slash)
407 408282 [main] LS 800159 normalize_win32_path: =
C:\Program\cygwin\usr\local\bin =3D normalize_win32_path =
(C:\Program\cygwin\usr\local\bin)
274 408556 [main] LS 800159 mount_info::conv_to_posix_path: =
/usr/local/bin =3D conv_to_posix_path (C:\Program\cygwin\usr\local\bin)
321 408877 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Program\cygwin\bin, keep-rel, no-add-slash)
272 409149 [main] LS 800159 normalize_win32_path: =
C:\Program\cygwin\bin =3D normalize_win32_path (C:\Program\cygwin\bin)
268 409417 [main] LS 800159 mount_info::conv_to_posix_path: /usr/bin =
=3D conv_to_posix_path (C:\Program\cygwin\bin)
268 409685 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Program\cygwin\bin, keep-rel, no-add-slash)
657 410342 [main] LS 800159 normalize_win32_path: =
C:\Program\cygwin\bin =3D normalize_win32_path (C:\Program\cygwin\bin)
274 410616 [main] LS 800159 mount_info::conv_to_posix_path: /usr/bin =
=3D conv_to_posix_path (C:\Program\cygwin\bin)
269 410885 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\WINDOWS, keep-rel, no-add-slash)
263 411148 [main] LS 800159 normalize_win32_path: c:\WINDOWS =3D =
normalize_win32_path (c:\WINDOWS)
265 411413 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/c/WINDOWS =3D conv_to_posix_path (c:\WINDOWS)
273 411686 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\WINDOWS\COMMAND, keep-rel, no-add-slash)
264 411950 [main] LS 800159 normalize_win32_path: c:\WINDOWS\COMMAND =
=3D normalize_win32_path (c:\WINDOWS\COMMAND)
271 412221 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/c/WINDOWS/COMMAND =3D conv_to_posix_path (c:\WINDOWS\COMMAND)
267 412488 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\PROGRAM\DIVERSE, keep-rel, no-add-slash)
263 412751 [main] LS 800159 normalize_win32_path: c:\PROGRAM\DIVERSE =
=3D normalize_win32_path (c:\PROGRAM\DIVERSE)
268 413019 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/c/PROGRAM/DIVERSE =3D conv_to_posix_path (c:\PROGRAM\DIVERSE)
269 413288 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\PROGRAM\DIVERSE\PACK, keep-rel, no-add-slash)
267 413555 [main] LS 800159 normalize_win32_path: =
c:\PROGRAM\DIVERSE\PACK =3D normalize_win32_path =
(c:\PROGRAM\DIVERSE\PACK)
426 413981 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/c/PROGRAM/DIVERSE/PACK =3D conv_to_posix_path =
(c:\PROGRAM\DIVERSE\PACK)
275 414256 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\PROGRAM\DIVERSE\E4, keep-rel, no-add-slash)
267 414523 [main] LS 800159 normalize_win32_path: =
c:\PROGRAM\DIVERSE\E4 =3D normalize_win32_path (c:\PROGRAM\DIVERSE\E4)
269 414792 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/c/PROGRAM/DIVERSE/E4 =3D conv_to_posix_path =
(c:\PROGRAM\DIVERSE\E4)
267 415059 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\PROGRAM\DIVERSE\PFE, keep-rel, no-add-slash)
268 415327 [main] LS 800159 normalize_win32_path: =
c:\PROGRAM\DIVERSE\PFE =3D normalize_win32_path (c:\PROGRAM\DIVERSE\PFE)
269 415596 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/c/PROGRAM/DIVERSE/PFE =3D conv_to_posix_path =
(c:\PROGRAM\DIVERSE\PFE)
270 415866 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\PROGRAM\DIVERSE\RAR, keep-rel, no-add-slash)
263 416129 [main] LS 800159 normalize_win32_path: =
c:\PROGRAM\DIVERSE\RAR =3D normalize_win32_path (c:\PROGRAM\DIVERSE\RAR)
271 416400 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/c/PROGRAM/DIVERSE/RAR =3D conv_to_posix_path =
(c:\PROGRAM\DIVERSE\RAR)
276 416676 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\PROGRAM\MATLABR12\BIN\WIN32, keep-rel, =
no-add-slash)
277 416953 [main] LS 800159 normalize_win32_path: =
c:\PROGRAM\MATLABR12\BIN\WIN32 =3D normalize_win32_path =
(c:\PROGRAM\MATLABR12\BIN\WIN32)
269 417222 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/c/PROGRAM/MATLABR12/BIN/WIN32 =3D conv_to_posix_path =
(c:\PROGRAM\MATLABR12\BIN\WIN32)
294 417516 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\PROGRAM\BC31_DOS\BIN, keep-rel, no-add-slash)
267 417783 [main] LS 800159 normalize_win32_path: =
c:\PROGRAM\BC31_DOS\BIN =3D normalize_win32_path =
(c:\PROGRAM\BC31_DOS\BIN)
268 418051 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/c/PROGRAM/BC31_DOS/BIN =3D conv_to_posix_path =
(c:\PROGRAM\BC31_DOS\BIN)
268 418319 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\PROGRAM\BC5\BIN, keep-rel, no-add-slash)
269 418588 [main] LS 800159 normalize_win32_path: c:\PROGRAM\BC5\BIN =
=3D normalize_win32_path (c:\PROGRAM\BC5\BIN)
316 418904 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/c/PROGRAM/BC5/BIN =3D conv_to_posix_path (c:\PROGRAM\BC5\BIN)
268 419172 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (., keep-rel, no-add-slash)
260 419432 [main] LS 800159 mount_info::conv_to_posix_path: . =3D =
conv_to_posix_path (.)
264 419696 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\PROGRAM\MODELSIM\WIN32XOEM, keep-rel, =
no-add-slash)
267 419963 [main] LS 800159 normalize_win32_path: =
c:\PROGRAM\MODELSIM\WIN32XOEM =3D normalize_win32_path =
(c:\PROGRAM\MODELSIM\WIN32XOEM)
270 420233 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/c/PROGRAM/MODELSIM/WIN32XOEM =3D conv_to_posix_path =
(c:\PROGRAM\MODELSIM\WIN32XOEM)
269 420502 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\PROGRAM\WIN98RK, keep-rel, no-add-slash)
273 420775 [main] LS 800159 normalize_win32_path: c:\PROGRAM\WIN98RK =
=3D normalize_win32_path (c:\PROGRAM\WIN98RK)
645 421420 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/c/PROGRAM/WIN98RK =3D conv_to_posix_path (c:\PROGRAM\WIN98RK)
284 421704 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Program\cygwin\usr\X11R6\bin, keep-rel, =
no-add-slash)
266 421970 [main] LS 800159 normalize_win32_path: =
C:\Program\cygwin\usr\X11R6\bin =3D normalize_win32_path =
(C:\Program\cygwin\usr\X11R6\bin)
273 422243 [main] LS 800159 mount_info::conv_to_posix_path: =
/usr/X11R6/bin =3D conv_to_posix_path (C:\Program\cygwin\usr\X11R6\bin)
271 422514 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Program\cygwin\home\Hannu\scripts, keep-rel, =
no-add-slash)
269 422783 [main] LS 800159 normalize_win32_path: =
C:\Program\cygwin\home\Hannu\scripts =3D normalize_win32_path =
(C:\Program\cygwin\home\Hannu\scripts)
273 423056 [main] LS 800159 mount_info::conv_to_posix_path: =
/home/Hannu/scripts =3D conv_to_posix_path =
(C:\Program\cygwin\home\Hannu\scripts)
270 423326 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Program\cygwin\home\Hannu\rexx, keep-rel, =
no-add-slash)
268 423594 [main] LS 800159 normalize_win32_path: =
C:\Program\cygwin\home\Hannu\rexx =3D normalize_win32_path =
(C:\Program\cygwin\home\Hannu\rexx)
430 424024 [main] LS 800159 mount_info::conv_to_posix_path: =
/home/Hannu/rexx =3D conv_to_posix_path =
(C:\Program\cygwin\home\Hannu\rexx)
274 424298 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Program\cygwin\home\Hannu\bin, keep-rel, =
no-add-slash)
265 424563 [main] LS 800159 normalize_win32_path: =
C:\Program\cygwin\home\Hannu\bin =3D normalize_win32_path =
(C:\Program\cygwin\home\Hannu\bin)
271 424834 [main] LS 800159 mount_info::conv_to_posix_path: =
/home/Hannu/bin =3D conv_to_posix_path =
(C:\Program\cygwin\home\Hannu\bin)
721 425555 [main] LS 800159 win_env::add_cache: posix =
/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/=
COMMAND:/cygdrive/c/PROGRAM/DIVERSE:/cygdrive/c/PROGRAM/DIVERSE/PACK:/cyg=
drive/c/PROGRAM/DIVERSE/E4:/cygdrive/c/PROGRAM/DIVERSE/PFE:/cygdrive/c/PR=
OGRAM/DIVERSE/RAR:/cygdrive/c/PROGRAM/MATLABR12/BIN/WIN32:/cygdrive/c/PRO=
GRAM/BC31_DOS/BIN:/cygdrive/c/PROGRAM/BC5/BIN:.:/cygdrive/c/PROGRAM/MODEL=
SIM/WIN32XOEM:/cygdrive/c/PROGRAM/WIN98RK:/usr/X11R6/bin:/home/Hannu/scri=
pts:/home/Hannu/rexx:/home/Hannu/bin
363 425918 [main] LS 800159 win_env::add_cache: native =
PATH=3DC:\Program\cygwin\usr\local\bin;C:\Program\cygwin\bin;C:\Program\c=
ygwin\bin;c:\WINDOWS;c:\WINDOWS\COMMAND;c:\PROGRAM\DIVERSE;c:\PROGRAM\DIV=
ERSE\PACK;c:\PROGRAM\DIVERSE\E4;c:\PROGRAM\DIVERSE\PFE;c:\PROGRAM\DIVERSE=
\RAR;c:\PROGRAM\MATLABR12\BIN\WIN32;c:\PROGRAM\BC31_DOS\BIN;c:\PROGRAM\BC=
5\BIN;.;c:\PROGRAM\MODELSIM\WIN32XOEM;c:\PROGRAM\WIN98RK;C:\Program\cygwi=
n\usr\X11R6\bin;C:\Program\cygwin\home\Hannu\scripts;C:\Program\cygwin\ho=
me\Hannu\rexx;C:\Program\cygwin\home\Hannu\bin
312 426230 [main] LS 800159 posify: env var converted to =
PATH=3D/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/WINDOWS:/cygdrive/c/W=
INDOWS/COMMAND:/cygdrive/c/PROGRAM/DIVERSE:/cygdrive/c/PROGRAM/DIVERSE/PA=
CK:/cygdrive/c/PROGRAM/DIVERSE/E4:/cygdrive/c/PROGRAM/DIVERSE/PFE:/cygdri=
ve/c/PROGRAM/DIVERSE/RAR:/cygdrive/c/PROGRAM/MATLABR12/BIN/WIN32:/cygdriv=
e/c/PROGRAM/BC31_DOS/BIN:/cygdrive/c/PROGRAM/BC5/BIN:.:/cygdrive/c/PROGRA=
M/MODELSIM/WIN32XOEM:/cygdrive/c/PROGRAM/WIN98RK:/usr/X11R6/bin:/home/Han=
nu/scripts:/home/Hannu/rexx:/home/Hannu/bin
533 426763 [main] LS 800159 environ_init: 0x45809F8: =
PATH=3D/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/WINDOWS:/cygdrive/c/W=
INDOWS/COMMAND:/cygdrive/c/PROGRAM/DIVERSE:/cygdrive/c/PROGRAM/DIVERSE/PA=
CK:/cygdrive/c/PROGRAM/DIVERSE/E4:/cygdrive/c/PROGRAM/DIVERSE/PFE:/cygdri=
ve/c/PROGRAM/DIVERSE/RAR:/cygdrive/c/PROGRAM/MATLABR12/BIN/WIN32:/cygdriv=
e/c/PROGRAM/BC31_DOS/BIN:/cygdrive/c/PROGRAM/BC5/BIN:.:/cygdrive/c/PROGRA=
M/MODELSIM/WIN32XOEM:/cygdrive/c/PROGRAM/WIN98RK:/usr/X11R6/bin:/home/Han=
nu/scripts:/home/Hannu/rexx:/home/Hannu/bin
538 427301 [main] LS 800159 environ_init: 0x4580810: PROMPT=3D$p$g
479 427780 [main] LS 800159 environ_init: 0x4580820: =
PS1=3D\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$=20
481 428261 [main] LS 800159 environ_init: 0x4580868: =
PWD=3D/home/Hannu/z
473 428734 [main] LS 800159 environ_init: 0x4580880: =
QTJAVA=3DC:\WINDOWS\SYSTEM\QTJava.zip
528 429262 [main] LS 800159 environ_init: 0x45808A8: =
RS=3DC:\re-subst.txt
475 429737 [main] LS 800159 environ_init: 0x45808C0: SHELL=3D
473 430210 [main] LS 800159 environ_init: 0x45808D0: SHLVL=3D1
475 430685 [main] LS 800159 getwinenv: can't set native for TEMP=3D =
since no environ yet
476 431161 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (d:\TEMP, no-keep-rel, no-add-slash)
259 431420 [main] LS 800159 normalize_win32_path: d:\TEMP =3D =
normalize_win32_path (d:\TEMP)
400 431820 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/d/TEMP =3D conv_to_posix_path (d:\TEMP)
2362 434182 [main] LS 800159 win_env::add_cache: posix =
/cygdrive/d/TEMP
260 434442 [main] LS 800159 win_env::add_cache: native TEMP=3Dd:\TEMP
251 434693 [main] LS 800159 posify: env var converted to =
TEMP=3D/cygdrive/d/TEMP
466 435159 [main] LS 800159 environ_init: 0x4581428: =
TEMP=3D/cygdrive/d/TEMP
473 435632 [main] LS 800159 environ_init: 0x4580928: TERM=3Dcygwin
481 436113 [main] LS 800159 environ_init: 0x4580938: =
TEXMF=3D{/usr/share/lilypond/1.6.8,/usr/share/texmf}
484 436597 [main] LS 800159 getwinenv: can't set native for TMP=3D =
since no environ yet
480 437077 [main] LS 800159 mount_info::conv_to_posix_path: =
conv_to_posix_path (d:\TEMP, no-keep-rel, no-add-slash)
258 437335 [main] LS 800159 normalize_win32_path: d:\TEMP =3D =
normalize_win32_path (d:\TEMP)
265 437600 [main] LS 800159 mount_info::conv_to_posix_path: =
/cygdrive/d/TEMP =3D conv_to_posix_path (d:\TEMP)
690 438290 [main] LS 800159 win_env::add_cache: posix =
/cygdrive/d/TEMP
252 438542 [main] LS 800159 win_env::add_cache: native TMP=3Dd:\TEMP
291 438833 [main] LS 800159 posify: env var converted to =
TMP=3D/cygdrive/d/TEMP
475 439308 [main] LS 800159 environ_init: 0x4581538: =
TMP=3D/cygdrive/d/TEMP
518 439826 [main] LS 800159 environ_init: 0x4580970: USER=3DHannu
479 440305 [main] LS 800159 environ_init: 0x4580990: =
WINBOOTDIR=3DC:\WINDOWS
470 440775 [main] LS 800159 environ_init: 0x45809B0: =
WINDIR=3DC:\WINDOWS
469 441244 [main] LS 800159 environ_init: 0x45809C8: =
X=3Dc:\program\diverse
617 441861 [main] LS 800159 environ_init: 0x4581648: =
Y=3Dc:\program\bc31_dos\bin
469 442330 [main] LS 800159 environ_init: 0x4581668: =
_=3D/usr/bin/strace
261 442591 [main] LS 800159 pinfo_init: pid 800159, pgid 800159
265 442856 [main] LS 800159 dtable::extend: size 32, fds 0x615F03C8
313 443169 [main] LS 800159 normalize_posix_path: src /etc/passwd
261 443430 [main] LS 800159 normalize_posix_path: /etc/passwd =3D =
normalize_posix_path (/etc/passwd)
262 443692 [main] LS 800159 mount_info::conv_to_win32_path: =
conv_to_win32_path (/etc/passwd)
409 444101 [main] LS 800159 set_flags: flags: binary (0x2)
257 444358 [main] LS 800159 mount_info::conv_to_win32_path: src_path =
/etc/passwd, dst C:\Program\cygwin\etc\passwd, flags 0xA, rc 0
731 445089 [main] LS 800159 symlink_info::check: not a symlink
272 445361 [main] LS 800159 symlink_info::check: 0 =3D symlink.check =
(C:\Program\cygwin\etc\passwd, 0x254F6D0) (0xA)
269 445630 [main] LS 800159 path_conv::check: root_dir(C:\), =
this->path(C:\Program\cygwin\etc\passwd), set_has_acls(0)
379 446009 [main] LS 800159 etc::test_file_change: FindFirstFile =
succeeded
272 446281 [main] LS 800159 etc::test_file_change: fn[1] =
C:\Program\cygwin\etc\passwd res 1
255 446536 [main] LS 800159 etc::init: fn[1] =
C:\Program\cygwin\etc\passwd, curr_ix 1
274 446810 [main] LS 800159 pwdgrp::load: /etc/passwd
1029 447839 [main] LS 800159 pwdgrp::load: /etc/passwd curr_lines 1
257 448096 [main] LS 800159 pwdgrp::load: /etc/passwd load succeeded
262 448358 [main] LS 800159 cygheap_user::ontherange: what 2, pw =
0x45816B0
265 448623 [main] LS 800159 cygheap_user::ontherange: HOME is already =
in the environment /home/Hannu
1409 450032 [main] LS 800159 sigproc_init: process/signal handling =
enabled(1001)
625 450657 [sig] LS 800159 wait_sig: sigcatch_nonmain 0xEC, =
sigcatch_main 0xF0
403 451060 [sig] LS 800159 wait_sig: Ready. dwProcessid -800159
-719 450341 [main] LS 800159 _cygwin_istext_for_stdio: =
_cygwin_istext_for_stdio (0)
1365 451706 [main] LS 800159 _cygwin_istext_for_stdio: _cifs: fd not =
open
305 452011 [main] LS 800159 _cygwin_istext_for_stdio: =
_cygwin_istext_for_stdio (1)
260 452271 [main] LS 800159 _cygwin_istext_for_stdio: _cifs: fd not =
open
265 452536 [main] LS 800159 _cygwin_istext_for_stdio: =
_cygwin_istext_for_stdio (2)
261 452797 [main] LS 800159 _cygwin_istext_for_stdio: _cifs: fd not =
open
53927 506724 [main] LS 800159 tty_list::allocate_tty: console 5AC =
already associated with tty0
582 507306 [main] LS 800159 build_argv: argv[0] =3D 'ls'
253 507559 [main] LS 800159 build_argv: argc 1
285 507844 [main] LS 800159 normalize_posix_path: src /dev/piper
264 508108 [main] LS 800159 normalize_posix_path: /dev/piper =3D =
normalize_posix_path (/dev/piper)
267 508375 [main] LS 800159 mount_info::conv_to_win32_path: =
conv_to_win32_path (/dev/piper)
272 508647 [main] LS 800159 mount_info::conv_to_win32_path: src_path =
/dev/piper, dst \dev\piper, flags 0x2, rc 0
397 509044 [main] LS 800159 dtable::build_fhandler: fd 0, fh =
0x615F0558
280 509324 [main] LS 800159 fhandler_base::set_flags: flags 0x10002, =
supplied_bin 0x0
264 509588 [main] LS 800159 fhandler_base::set_flags: O_TEXT/O_BINARY =
set in flags 0x10000
264 509852 [main] LS 800159 fhandler_base::set_flags: filemode set to =
binary
258 510110 [main] LS 800159 fhandler_base::init: created new =
fhandler_base for handle 0xDC, bin 1
267 510377 [main] LS 800159 dtable::init_std_file_from_handle: fd 0, =
handle 0xDC
1296 511673 [main] LS 800159 handle_to_fn: NtQueryObject failed
357 512030 [main] LS 800159 normalize_posix_path: src some disk file
265 512295 [main] LS 800159 cwdstuff::get: posix /home/Hannu/z
259 512554 [main] LS 800159 cwdstuff::get: (/home/Hannu/z) =3D =
cwdstuff::get (0x254F640, 260, 1, 0), errno 0
268 512822 [main] LS 800159 normalize_posix_path: /home/Hannu/z/some =
disk file =3D normalize_posix_path (some disk file)
264 513086 [main] LS 800159 mount_info::conv_to_win32_path: =
conv_to_win32_path (/home/Hannu/z/some disk file)
347 513433 [main] LS 800159 set_flags: flags: binary (0x2)
262 513695 [main] LS 800159 mount_info::conv_to_win32_path: src_path =
/home/Hannu/z/some disk file, dst C:\Program\cygwin\home\Hannu\z\some =
disk file, flags 0xA, rc 0
646 514341 [main] LS 800159 symlink_info::check: GetFileAttributes =
(C:\Program\cygwin\home\Hannu\z\some disk file) failed
284 514625 [main] LS 800159 geterrno_from_win_error: windows error 2 =
=3D=3D errno 2
345 514970 [main] LS 800159 symlink_info::check: GetFileAttributes =
(C:\Program\cygwin\home\Hannu\z\some disk file.lnk) failed
280 515250 [main] LS 800159 geterrno_from_win_error: windows error 2 =
=3D=3D errno 2
259 515509 [main] LS 800159 symlink_info::check: 0 =3D symlink.check =
(C:\Program\cygwin\home\Hannu\z\some disk file, 0x254F300) (0xA)
316 515825 [main] LS 800159 mount_info::conv_to_win32_path: =
conv_to_win32_path (/home/Hannu/z)
280 516105 [main] LS 800159 set_flags: flags: binary (0x2)
264 516369 [main] LS 800159 mount_info::conv_to_win32_path: src_path =
/home/Hannu/z, dst C:\Program\cygwin\home\Hannu\z, flags 0xA, rc 0
359 516728 [main] LS 800159 symlink_info::check: not a symlink
274 517002 [main] LS 800159 symlink_info::check: 0 =3D symlink.check =
(C:\Program\cygwin\home\Hannu\z, 0x254F300) (0xA)
272 517274 [main] LS 800159 path_conv::check: root_dir(C:\), =
this->path(C:\Program\cygwin\home\Hannu\z\some disk file), =
set_has_acls(0)
321 517595 [main] LS 800159 dtable::build_fhandler: fd 1, fh =
0x615F0678
274 517869 [main] LS 800159 fhandler_base::set_flags: flags 0x10002, =
supplied_bin 0x0
262 518131 [main] LS 800159 fhandler_base::set_flags: O_TEXT/O_BINARY =
set in flags 0x10000
259 518390 [main] LS 800159 fhandler_base::set_flags: filemode set to =
binary
257 518647 [main] LS 800159 fhandler_base::init: created new =
fhandler_base for handle 0x158, bin 1
267 518914 [main] LS 800159 dtable::init_std_file_from_handle: fd 1, =
handle 0x158
277 519191 [main] LS 800159 normalize_posix_path: src /dev/pipew
261 519452 [main] LS 800159 normalize_posix_path: /dev/pipew =3D =
normalize_posix_path (/dev/pipew)
261 519713 [main] LS 800159 mount_info::conv_to_win32_path: =
conv_to_win32_path (/dev/pipew)
272 519985 [main] LS 800159 mount_info::conv_to_win32_path: src_path =
/dev/pipew, dst \dev\pipew, flags 0x2, rc 0
287 520272 [main] LS 800159 dtable::build_fhandler: fd 2, fh =
0x615F0748
272 520544 [main] LS 800159 fhandler_base::set_flags: flags 0x10002, =
supplied_bin 0x0
376 520920 [main] LS 800159 fhandler_base::set_flags: O_TEXT/O_BINARY =
set in flags 0x10000
267 521187 [main] LS 800159 fhandler_base::set_flags: filemode set to =
binary
260 521447 [main] LS 800159 fhandler_base::init: created new =
fhandler_base for handle 0x128, bin 1
277 521724 [main] LS 800159 dtable::init_std_file_from_handle: fd 2, =
handle 0x128
325 522049 [main] ls 800159 dll_crt0_1: user_data->main 0x40170C
262 522311 [main] ls 800159 wait_for_sigthread: wait_sig_inited 0x6C
1215 523526 [main] ls 800159 isatty: 0 =3D isatty (1)
403 523929 [main] ls 800159 ioctl: fd 1, cmd 5401
635 524564 [main] ls 800159 fhandler_base::ioctl: ioctl (5401, =
0x254FCE8)
267 524831 [main] ls 800159 ioctl: returning -1
1900 526731 [main] ls 800159 normalize_posix_path: src .
265 526996 [main] ls 800159 cwdstuff::get: posix /home/Hannu/z
261 527257 [main] ls 800159 cwdstuff::get: (/home/Hannu/z) =3D =
cwdstuff::get (0x254F7B0, 260, 1, 0), errno 0
269 527526 [main] ls 800159 normalize_posix_path: /home/Hannu/z =3D =
normalize_posix_path (.)
265 527791 [main] ls 800159 mount_info::conv_to_win32_path: =
conv_to_win32_path (/home/Hannu/z)
270 528061 [main] ls 800159 set_flags: flags: binary (0x2)
259 528320 [main] ls 800159 mount_info::conv_to_win32_path: src_path =
/home/Hannu/z, dst C:\Program\cygwin\home\Hannu\z, flags 0xA, rc 0
626 528946 [main] ls 800159 symlink_info::check: not a symlink
284 529230 [main] ls 800159 symlink_info::check: 0 =3D symlink.check =
(C:\Program\cygwin\home\Hannu\z, 0x254F470) (0xA)
7869 537099 [main] ls 800159 path_conv::check: root_dir(C:\), =
this->path(C:\Program\cygwin\home\Hannu\z), set_has_acls(0)
868 537967 [main] ls 800159 dtable::build_fhandler: fd -1, fh =
0x615F0820
3978 541945 [main] ls 800159 fhandler_disk_file::opendir: 0x4583F28 =
=3D opendir (/home/Hannu/z)
819 542764 [main] ls 800159 fhandler_disk_file::readdir: 0x4583F2C =
=3D readdir (0x4583F28) (.)
782 543546 [main] ls 800159 fhandler_disk_file::readdir: 0x4583F2C =
=3D readdir (0x4583F28) (..)
917 544463 [main] ls 800159 fhandler_disk_file::readdir: 0x0 =3D =
readdir (0x4583F28)
683 545146 [main] ls 800159 fhandler_disk_file::closedir: 0 =3D =
closedir (0x4583F28)
3735 548881 [main] ls 800159 closedir: 0 =3D closedir (0x4583F28)
829 549710 [main] ls 800159 do_exit: do_exit (0)
523 550233 [main] ls 800159 void: 0x0 =3D signal (20, 0x1)
268 550501 [main] ls 800159 void: 0x0 =3D signal (1, 0x1)
384 550885 [main] ls 800159 void: 0x0 =3D signal (2, 0x1)
270 551155 [main] ls 800159 void: 0x0 =3D signal (3, 0x1)
263 551418 [main] ls 800159 fhandler_base::close: closing =
'/dev/piper' handle 0xDC
286 551704 [main] ls 800159 fhandler_base::close: closing =
'/home/Hannu/z/some disk file' handle 0x158
379 552083 [main] ls 800159 fhandler_base::close: closing =
'/dev/pipew' handle 0x128
293 552376 [main] ls 800159 sigproc_terminate: entering
263 552639 [main] ls 800159 proc_terminate: nchildren 0, nzombies 0
261 552900 [main] ls 800159 proc_terminate: leaving
270 553170 [main] ls 800159 do_exit: 800159 =3D=3D sid 800159, send =
SIGHUP to children
483 553653 [main] ls 800159 __to_clock_t: dwHighDateTime 0, =
dwLowDateTime 0
261 553914 [main] ls 800159 __to_clock_t: total 00000000 00000000
263 554177 [main] ls 800159 __to_clock_t: dwHighDateTime 0, =
dwLowDateTime 0
259 554436 [main] ls 800159 __to_clock_t: total 00000000 00000000
25143 579579 [main] ls 800159 _pinfo::exit: Calling ExitProcess 0
------=_NextPart_000_0000_01C2F7E2.7973D8A0
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
------=_NextPart_000_0000_01C2F7E2.7973D8A0--
- Raw text -