This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

snapshot Win9x utimes still failing


utimes(2) is still failing on directories under Windows 98, with the 20050311 snapshot. This also affects untar'ing an archive with directories, which tries to call utimes() on the directories, and makes tar exit with status 2.

$ uname -a
CYGWIN_98-4.10 eblake 1.5.14s(0.124/4/2) 20050311 21:33:36 i686 unknown unknown Cygwin
$ mkdir dir
$ touch dir
touch: setting times of `dir': Bad file descriptor
$ strace touch dir
...
[Pops up a box: "This program has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor. TOUCH caused an invalid page fault in module KERNEL32.DLL at 015f:bff886be....]
...
397 314478 [main] touch 530697 normalize_posix_path: src dir
357 314835 [main] touch 530697 cwdstuff::get: posix /home/eblake
361 315196 [main] touch 530697 cwdstuff::get: (/home/eblake) = cwdstuff::get (0x83E9F0, 260, 1, 0), errno 21
370 315566 [main] touch 530697 normalize_posix_path: /home/eblake/dir = normalize_posix_path (dir)
361 315927 [main] touch 530697 mount_info::conv_to_win32_path: conv_to_win32_path (/home/eblake/dir)
374 316301 [main] touch 530697 set_flags: flags: binary (0x2)
377 316678 [main] touch 530697 mount_info::conv_to_win32_path: src_path /home/eblake/dir, dst d:\cygwin\home\eblake\dir, flags 0xA, rc 0
493 317171 [main] touch 530697 symlink_info::check: not a symlink
366 317537 [main] touch 530697 symlink_info::check: 0 = symlink.check (d:\cygwin\home\eblake\dir, 0x83E6B0) (0xA)
368 317905 [main] touch 530697 path_conv::check: this->path(d:\cygwin\home\eblake\dir), has_acls(0)
383 318288 [main] touch 530697 build_fh_pc: fh 0x618013F8
387 318675 [main] touch 530697 fhandler_base::open_9x: (d:\cygwin\home\eblake\dir, 0x110000)
569 319244 [main] touch 530697 fhandler_base::set_flags: flags 0x110000, supplied_bin 0x10000
379 319623 [main] touch 530697 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
362 319985 [main] touch 530697 fhandler_base::set_flags: filemode set to binary
389 320374 [main] touch 530697 fhandler_base::open_9x: 0xFFFFFFFF = CreateFile (d:\cygwin\home\eblake\dir, 0x80000100, 0x3, 0x83E8F0, 0x3, 0x2000080, 0)
396 320770 [main] touch 530697 fhandler_base::open_9x: 1 = fhandler_base::open (d:\cygwin\home\eblake\dir, 0x110000)
2367329 2688099 [main] touch 530697 fhandler_base::open_fs: 1 = fhandler_disk_file::open (d:\cygwin\home\eblake\dir, 0x10000)
14323 2702422 [main] touch 530697 fhandler_disk_file::utimes: incoming lastaccess 4237B5F5 00004E20
2640 2705062 [main] touch 530697 fhandler_base::close: closing '/home/eblake/dir' handle 0xFFFFFFFF
2785 2707847 [main] touch 530697 seterrno_from_win_error: /netrel/src/cygwin-snapshot-20050311-1/winsup/cygwin/fhandler_disk_file.cc:833 windows error 6
12018 2719865 [main] touch 530697 geterrno_from_win_error: windows error 6 == errno 9
12217 2732082 [main] touch 530697 geterrno_from_win_error: windows error 6 == errno 9
7963 2740045 [main] touch 530697 utimes: -1 = utimes (dir, 0x0)
...



-- Someday, I might put a cute statement here.

Eric Blake ebb9@byu.net


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]