[fossil-users] SIGSEGV on CR/NL convert for read-only files

2014-04-01 Thread Andy Goth
src/checkin.c fea64cb746964053193c12937d90a7ba42b625fc line 1315 gives 
me a SIGSEGV.  This is because the f argument is NULL due to 
fossil_open() failing on line 1305 with EACCESS because the file I'm 
checking in happens to be read-only.


--
Andy Goth | andrew.m.goth/at/gmail/dot/com
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] SIGSEGV on CR/NL convert for read-only files

2014-04-01 Thread Martin Gagnon
On Tue, Apr 01, 2014 at 09:35:19PM -0500, Andy Goth wrote:
 src/checkin.c fea64cb746964053193c12937d90a7ba42b625fc line 1315
 gives me a SIGSEGV.  This is because the f argument is NULL due to
 fossil_open() failing on line 1305 with EACCESS because the file I'm
 checking in happens to be read-only.
 

Fixed on trunk.  Now fossil will exit with error message telling what
file cannot be open for writing.

-- 
Martin G.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users