Subject: Maildir and colon
From: "malcolm.boekhoff" <[email-masked]>
To: Mutt Developers News Group <[email-masked]>
Cc: Cygwin News Group <[email-masked]>
Date: Tue, 1 May 2001 17:55:33 +0100

I just switched over from "mbox" to "maildir" format and now my Cygwin mutt
client moans because it is using a colon ":" as part of a filename in a rename
statement and colons aren't allowed in Win32 pathnames.

Is there any way of changing the character being used other than re-compiling?

Cygwin "strace" log reports:

  177 8522950 [main] mutt 344 normalize_posix_path: src /home/myusername/mail/mbox/new/988734313.322.000000046.myusername
  173 8523123 [main] mutt 344 normalize_posix_path: /home/myusername/mail/mbox/new/988734313.322.000000046.myusername = normalize_posix_path (/home/myusername/mail/mbox/new/988734313.322.000000046.myusername)
  181 8523304 [main] mutt 344 mount_info::conv_to_win32_path: e:\mcb\act\mail\mbox\new\988734313.322.000000046.myusername(rel), e:\mcb\act\mail\mbox\new\988734313.322.000000046.myusername(abs) 0x0(flags) = conv_to_win32_path (/home/myusername/mail/mbox/new/988734313.322.000000046.myusername)
  428 8523732 [main] mutt 344 symlink_info::check: not a symlink
  173 8523905 [main] mutt 344 symlink_info::check: 0 = symlink.check (e:\mcb\act\mail\mbox\new\988734313.322.000000046.myusername, 0x24EDFF9) (0x0)
  394 8524299 [main] mutt 344 path_conv::check: GetVolumeInformation(e:\) = OK, full_path(e:\mcb\act\mail\mbox\new\988734313.322.000000046.myusername), set_has_acls(8)
  191 8524490 [main] mutt 344 mount_info::conv_to_win32_path: conv_to_win32_path (/home/myusername/mail/mbox/cur/988734313.322.000000046.myusername:2,S)
  171 8524661 [main] mutt 344 mount_info::conv_to_win32_path: /home/myusername/mail/mbox/cur/988734313.322.000000046.myusername:2,S already win32
  174 8524835 [main] mutt 344 normalize_win32_path: \home\myusername\mail\mbox\cur\988734313.322.000000046.myusername:2,S = normalize_win32_path (/home/myusername/mail/mbox/cur/988734313.322.000000046.myusername:2,S)
  181 8525016 [main] mutt 344 mount_info::conv_to_win32_path: \home\myusername\mail\mbox\cur\988734313.322.000000046.myusername:2,S(rel), \home\myusername\mail\mbox\cur\988734313.322.000000046.myusername:2,S(abs) 0x0(flags) = conv_to_win32_path (/home/myusername/mail/mbox/cur/988734313.322.000000046.myusername:2,S)
  314 8525330 [main] mutt 344 symlink_info::check: GetFileAttributesA (\home\myusername\mail\mbox\cur\988734313.322.000000046.myusername:2,S) failed
  177 8525507 [main] mutt 344 geterrno_from_win_error: windows error 3 == errno 2
  164 8525671 [main] mutt 344 symlink_info::check: 0 = symlink.check (\home\myusername\mail\mbox\cur\988734313.322.000000046.myusername:2,S, 0x24EDFF9) (0x0)
  267 8525938 [main] mutt 344 symlink_info::check: GetFileAttributesA (\home\myusername\mail\mbox\cur) failed
  175 8526113 [main] mutt 344 geterrno_from_win_error: windows error 3 == errno 2
  164 8526277 [main] mutt 344 symlink_info::check: 0 = symlink.check (\home\myusername\mail\mbox\cur, 0x24EDFF9) (0x0)
  257 8526534 [main] mutt 344 symlink_info::check: GetFileAttributesA (\home\myusername\mail\mbox) failed
  174 8526708 [main] mutt 344 geterrno_from_win_error: windows error 3 == errno 2
  164 8526872 [main] mutt 344 symlink_info::check: 0 = symlink.check (\home\myusername\mail\mbox, 0x24EDFF9) (0x0)
  256 8527128 [main] mutt 344 symlink_info::check: GetFileAttributesA (\home\myusername\mail) failed
  173 8527301 [main] mutt 344 geterrno_from_win_error: windows error 3 == errno 2
  165 8527466 [main] mutt 344 symlink_info::check: 0 = symlink.check (\home\myusername\mail, 0x24EDFF9) (0x0)
  255 8527721 [main] mutt 344 symlink_info::check: GetFileAttributesA (\home\myusername) failed
  174 8527895 [main] mutt 344 geterrno_from_win_error: windows error 3 == errno 2
  164 8528059 [main] mutt 344 symlink_info::check: 0 = symlink.check (\home\myusername, 0x24EDFF9) (0x0)
  253 8528312 [main] mutt 344 symlink_info::check: GetFileAttributesA (\home) failed
  188 8528500 [main] mutt 344 geterrno_from_win_error: windows error 2 == errno 2
  164 8528664 [main] mutt 344 symlink_info::check: 0 = symlink.check (\home, 0x24EDFF9) (0x0)
  223 8528887 [main] mutt 344 symlink_info::check: GetFileAttributesA () failed
  174 8529061 [main] mutt 344 geterrno_from_win_error: windows error 3 == errno 2
  164 8529225 [main] mutt 344 symlink_info::check: 0 = symlink.check (, 0x24EDFF9) (0x0)
  166 8529391 [main] mutt 344 path_conv::check: GetVolumeInformation(\home\myusername\mail\mbox\cur\988734313.322.000000046.myusername:2,S) = ERR, full_path(\home\myusername\mail\mbox\cur\988734313.322.000000046.myusername:2,S), set_has_acls(FALSE)
  678 8530069 [main] mutt 344 seterrno_from_win_error: /cygnus/netrel/src/cygwin-1.1.8-2/winsup/cygwin/syscalls.cc:1304 errno 3
  184 8530253 [main] mutt 344 geterrno_from_win_error: windows error 3 == errno 2
  165 8530418 [main] mutt 344 _rename: -1 = rename (e:\mcb\act\mail\mbox\new\988734313.322.000000046.myusername, \home\myusername\mail\mbox\cur\988734313.322.000000046.myusername:2,S)
  217 8530635 [main] mutt 344 _write: write (1, 0xA02EFB0, 1)
  170 8530805 [main] mutt 344 fhandler_console::write: A02EFB0, 1

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple