Opened 14 years ago
Closed 14 years ago
#133 closed defect (fixed)
:unsub doesn't work if ~/.zephyr.subs is a symlink
Reported by: | broder@mit.edu | Owned by: | jgross@mit.edu |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | internals | Keywords: | |
Cc: |
Description
My ~/.zephyr.subs is a symlink so that I can easily switch subs lists.
However, when I try to :unsub, I get "[Error] No subscription present in /afs/athena.mit.edu/user/b/r/broder/.zephyr.subs"
I did a little bit of source diving, and I think this is because BarnOwl handles unsubs by creating a new file without the sub, then rename()ing it over the old subs file.
Change History (4)
comment:1 Changed 14 years ago by kcr@mit.edu
comment:2 Changed 14 years ago by broder@mit.edu
Wed Apr 7 17:42:36 2010 Cannot link /afs/athena.mit.edu/user/b/r/broder/.zephyr.subs.backup: Is a directory Wed Apr 7 17:42:36 2010 No subscription present in /afs/athena.mit.edu/user/b/r/broder/.zephyr.subs
(No, .zephyr.subs.backup is not a directory)
comment:3 Changed 14 years ago by jgross@mit.edu
- Cc jgross@mit.edu added
- Owner set to jgross@mit.edu
- Status changed from new to assigned
I wrote a patch for this. See https://github.com/JasonGross/barnowl/commit/0db63576a2daa57f7c8143804763419a556b9899.
comment:4 Changed 14 years ago by jgross@mit.edu
- Cc jgross@mit.edu removed
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
That's a little odd. It "should" really clobber the symlink. Does the actual error message get logged anywhere?