mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
oops
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1625 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -239,7 +239,7 @@ xaccSessionBeginFile (Session *sess, const char * filefrag)
|
||||
* aliases can occur.
|
||||
*/
|
||||
strcpy (pathbuf, sess->lockfile);
|
||||
path = strrchr (pathbuf, '.') + 1;
|
||||
path = strrchr (pathbuf, '.');
|
||||
sprintf (path, ".%lx.%d.LNK", gethostid(), getpid());
|
||||
link (sess->lockfile, pathbuf);
|
||||
rc = stat (sess->lockfile, &statbuf);
|
||||
|
||||
Reference in New Issue
Block a user