[Github-comments] [geany] Don't open more than one document for non-existing paths from the CLI (#646)

Colomban Wendling notifications at xxxxx
Tue Sep 8 14:40:53 UTC 2015


```console
$ geany /tmp/nonexistant &
$ geany /tmp/nonexistant &
```
results in 2 documents opened, both with `doc->file_name` set to */tmp/nonexistant*.  So when you save 'em, you save the same file, yet you have 2 separate documents.

Basically this change gives the same behavior as if you saved the file before trying to open it a second time.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/646#issuecomment-138587281
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20150908/e4a8c324/attachment.html>


More information about the Github-comments mailing list