Mail Archives: cygwin-developers/2001/04/29/15:29:00
--Multipart_Mon_Apr_30_04:28:51_2001-1
Content-Type: text/plain; charset=US-ASCII
>>> On Sat, 28 Apr 2001 13:07:48 -0400
>>> Christopher Faylor <cgf AT redhat DOT com> said:
> Does anyone have any problems with this new behavior?
On the latest snapshot, the `stat' can return the value of
a symlink itself. The strace log is below. In this log,
`~/tmp/mp3/' is symlinked to `../mp3/'.
Except for this point, the new logic seems to work well.
--Multipart_Mon_Apr_30_04:28:51_2001-1
Content-Type: text/plain; charset=US-ASCII
242 145485 [main] a 428 stat_worker: stat (/home/fujieda/tmp/mp3, 0x240FE44)
482 145967 [main] a 428 normalize_posix_path: src /home/fujieda/tmp/mp3
232 146199 [main] a 428 normalize_posix_path: /home/fujieda/tmp/mp3 = normalize_posix_path (/home/fujieda/tmp/mp3)
217 146416 [main] a 428 mount_info::conv_to_win32_path: conv_to_win32_path (/home/fujieda/tmp/mp3)
221 146637 [main] a 428 normalize_posix_path: src /home/fujieda/tmp/mp3
215 146852 [main] a 428 normalize_posix_path: /home/fujieda/tmp/mp3 = normalize_posix_path (/home/fujieda/tmp/mp3)
219 147071 [main] a 428 mount_info::conv_to_win32_path: (null)(rel), C:\Home\fujieda\tmp\mp3(abs) 0xA(flags) = conv_to_win32_path (/home/fujieda/tmp/mp3)
451 147522 [main] a 428 symlink_info::check: GetFileAttributesA (C:\Home\fujieda\tmp\mp3) failed
256 147778 [main] a 428 geterrno_from_win_error: windows error 2 == errno 2
345 148123 [main] a 428 symlink_info::check: GetFileAttributesA (C:\Home\fujieda\tmp\mp3.exe) failed
230 148353 [main] a 428 geterrno_from_win_error: windows error 2 == errno 2
347 148700 [main] a 428 symlink_info::check: GetFileAttributesA (C:\Home\fujieda\tmp\mp3.exe) failed
232 148932 [main] a 428 geterrno_from_win_error: windows error 2 == errno 2
352 149284 [main] a 428 symlink_info::check: GetFileAttributesA (C:\Home\fujieda\tmp\mp3.exe.lnk) failed
225 149509 [main] a 428 geterrno_from_win_error: windows error 2 == errno 2
1954 151463 [main] a 428 symlink_info::check: 6 = symlink.check (C:\Home\fujieda\tmp\mp3.lnk, 0x240F534) (0x1)
293 151756 [main] a 428 normalize_posix_path: src /home/fujieda/tmp/../mp3
222 151978 [main] a 428 normalize_posix_path: /home/fujieda/mp3 = normalize_posix_path (/home/fujieda/tmp/../mp3)
217 152195 [main] a 428 mount_info::conv_to_win32_path: conv_to_win32_path (/home/fujieda/mp3)
206 152401 [main] a 428 normalize_posix_path: src /home/fujieda/mp3
203 152604 [main] a 428 normalize_posix_path: /home/fujieda/mp3 = normalize_posix_path (/home/fujieda/mp3)
211 152815 [main] a 428 mount_info::conv_to_win32_path: (null)(rel), C:\Home\fujieda\mp3(abs) 0xA(flags) = conv_to_win32_path (/home/fujieda/mp3)
403 153218 [main] a 428 symlink_info::check: not a symlink
230 153448 [main] a 428 symlink_info::check: 0 = symlink.check (C:\Home\fujieda\mp3, 0x240F534) (0x1)
466 153914 [main] a 428 path_conv::check: GetVolumeInformation(C:\) = OK, this->path(C:\Home\fujieda\mp3), set_has_acls(8)
240 154154 [main] a 428 stat_worker: 48 = file_attributes for 'C:\Home\fujieda\mp3'
233 154387 [main] a 428 fhandler_base::open: (C:\Home\fujieda\mp3, 0x110000)
372 154759 [main] a 428 fhandler_base::open: 0x108 = CreateFileA (C:\Home\fujieda\mp3, 0x80000000, 0x7, 0x610911C0, 0x3, 0x2000080, 0)
249 155008 [main] a 428 fhandler_base::open: filemode set to binary
214 155222 [main] a 428 fhandler_base::open: 1 = fhandler_base::open (C:\Home\fujieda\mp3, 0x110000)
213 155435 [main] a 428 fhandler_disk_file::open: 1 = fhandler_disk_file::open (C:\Home\fujieda\mp3, 0x110000)
253 155688 [main] a 428 fhandler_disk_file::fstat: 1 = GetFileInformationByHandle (C:\Home\fujieda\mp3, 264)
239 155927 [main] a 428 fhandler_disk_file::fstat: 0 = fstat (, 0x240FE44) st_atime=3AEC6714 st_size=0, st_mode=0xA1FF, st_ino=130151, sizeof=64
221 156148 [main] a 428 fhandler_base::close: handle 0x108
646 156794 [main] a 428 stat_worker: 0 = stat (/home/fujieda/tmp/mp3, 0x240FE44)
--Multipart_Mon_Apr_30_04:28:51_2001-1
Content-Type: text/plain; charset=US-ASCII
____
| AIST Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology
--Multipart_Mon_Apr_30_04:28:51_2001-1--
- Raw text -