Re: [Cvslog] r22124 - in /lyx-devel/trunk/src/support: FileName.cpp Fi...

2007-12-13 Thread Andre Poenitz
On Thu, Dec 13, 2007 at 09:32:51PM +0100, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > >>> bool FileName::changePermission(unsigned long int mode) const >>> { >>> - if (!fname.isWritable()) { >>> + if (!isWritable()) { >>> LYXERR0("File " << *this << " is not writable!");

Re: [Cvslog] r22124 - in /lyx-devel/trunk/src/support: FileName.cpp Fi...

2007-12-13 Thread Abdelrazak Younes
Enrico Forestieri wrote: bool FileName::changePermission(unsigned long int mode) const { - if (!fname.isWritable()) { + if (!isWritable()) { LYXERR0("File " << *this << " is not writable!"); return false; } When you are the file owner, you

Re: [Cvslog] r22124 - in /lyx-devel/trunk/src/support: FileName.cpp Fi...

2007-12-13 Thread Enrico Forestieri
On Thu, Dec 13, 2007 at 10:43:35AM -, [EMAIL PROTECTED] wrote: > Author: younes > Date: Thu Dec 13 11:43:29 2007 > New Revision: 22124 > > URL: http://www.lyx.org/trac/changeset/22124 > Log: > compile fix following undo/redo mixup. Sorry. > > Modified: > lyx-devel/trunk/src/support/FileNa