Re: [PATCH]: Locale's abbreviated month vfs

2003-03-24 Thread Andrew V. Samoilov
Adam Byrtek / alpha wrote: On Wed, Mar 19, 2003 at 11:25:46AM -0500, Pavel Roskin wrote: If I apply your patch to the CVS version (this requires some manual intervention), But the proper '^' and '$' and 'prev' handling in reverse regexp search still applies, see my patch. . . . 3) Try to

Re: [PATCH]: Locale's abbreviated month vfs

2003-03-21 Thread Andrew V. Samoilov
Adam Byrtek / alpha wrote: On Wed, Mar 19, 2003 at 11:25:46AM -0500, Pavel Roskin wrote: 2) Andrew's patch has broken regexp reverse search... see the usage of strreverse() Well, I restore regexp reverse search now. Thanks for report. - Andrew, please could you fix this and examine/apply (parts)

Re: [PATCH]: Locale's abbreviated month vfs

2003-03-19 Thread Adam Byrtek / alpha
On Wed, Mar 19, 2003 at 05:48:51PM +0200, Andrew V. Samoilov wrote: Patch commited. I will have moved in 2 weeks, so I want to see this patch commited. I am not sure I will be able to continue Please, could you examine

Re: [PATCH]: Locale's abbreviated month vfs

2003-03-19 Thread Pavel Roskin
Hello! If you have code that you like, then commit it. I trust you to make this decision. Just write to the list about your commit - it's a serious change that affects end users. Patch commited. I will have moved in 2 weeks, so I want to see this patch commited. I am not sure I will

Re: [PATCH]: Locale's abbreviated month vfs

2003-03-19 Thread Pavel Roskin
Hi, Adam! Please, could you examine https://savannah.gnu.org/patch/?func=detailpatchpatch_id=1254group_id=3521 The problem is connected with the viewer, and my patch fixes the critical bug (core dump or infinite loop). If I apply your patch to the CVS version (this requires some manual

Re: [PATCH]: Locale's abbreviated month vfs

2003-03-19 Thread Adam Byrtek / alpha
On Wed, Mar 19, 2003 at 11:25:46AM -0500, Pavel Roskin wrote: If I apply your patch to the CVS version (this requires some manual intervention), That's because of Andrew's patch which was later. following bug appears. If the viewer is positioned at the beginning of file, regex search

Re: [PATCH]: Locale's abbreviated month vfs

2003-03-19 Thread Pavel Roskin
On Wed, 19 Mar 2003, Adam Byrtek / alpha wrote: 0) I really love those disappearing revisions in anon cvs... I'm really sorry. I contacted the person responsible for anonymous CVS on GNOME, and the answer was basically it should be at most 1 day delay, not a big deal. Unless there are

Re: [PATCH]: Locale's abbreviated month vfs

2003-03-19 Thread Adam Byrtek / alpha
On Wed, Mar 19, 2003 at 02:47:30PM -0500, Pavel Roskin wrote: There is no support for regexp reverse search, so it's quite hard to break it :-) Sure, and I've spend whole night to fix something which non-existing. $grep -C5 Reverse doc/mc.1 .PP .B F6, /. Regular expression search. .PP .B ?,

Re: [PATCH]: Locale's abbreviated month vfs

2003-02-19 Thread Andrew V. Samoilov
Andrew V. Samoilov wrote: Hello! There are some localised ftp-servers in the wild, and their output with locale's abbreviated months confuses mc's parser. Below is a small patch to treat such dates as Jan 1 1970.

Re: [PATCH]: Locale's abbreviated month vfs

2003-02-19 Thread Pavel Roskin
Hello! * vfs.c (is_localized_month): New function for locale's abbreviated month name as any 3 bytes long string without digits and control characters. (vfs_parse_filedate): Fallback to is_localized_month() if is_month() and is_dos_date() fail and set date to Jan 1

[PATCH]: Locale's abbreviated month vfs

2003-01-31 Thread Andrew V. Samoilov
Hello! There are some localised ftp-servers in the wild, and their output with locale's abbreviated months confuses mc's parser. Below is a small patch to treat such dates as Jan 1 1970. -- Regards, Andrew V. Samoilov ChangeLog: * vfs.c (is_localized_month): New function for locale's