On Mon, Oct 15, 2001 at 03:28:10PM +0400, Alexander V. Lukyanov wrote: > > Column output now treats width properly (using mbswidth().) > > But file name encoding is not known. I hope mbswidth works correctly > when current locale is not UTF-8.
MBSW_ACCEPT_INVALID makes it treat invalid characters as width 1. > > Date output added to cls -l; uses locale-dependant date (like ls does.) > Why not use ISO date format? I.e. 2000-09-07 19:20. Made it look the same as ls (and most ls's in FTP). Full dates are too long, and unless we MDTM for every file (too slow), we often won't have the time of day. (We could implement --full-time, as I commented.) > fso.pat = mask; > FileSet *res = list_info->GetResult(); >+ Delete(list_info); >+ list_info=0; > fso.print(*res, this); > fso.pat = 0; >+ delete res; > pos = oldpos; >- if(list_info) Delete(list_info); >- list_info=0; Sorry, I confused the calling semantics of glob::GetResult and ListInfo::GetResult (which are inconsistent)--this stuff was mostly written before I switched. -- Glenn Maynard
