#16545 closed defect (fixed)
gnucash port doesn't work with data files on hard drive served up by airport extreme
Reported by: | bzbarsky (Boris Zbarsky) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | dataloss | Cc: | |
Port: | gnucash |
Description
In particular, trying to save clobbers the data file. This is http://bugzilla.gnome.org/show_bug.cgi?id=549595 but even with that patch saving doesn't work. The problem is that the gnucash code is checking for EOPNOTSUPP, but link() is returning ENOTSUP. On Linux the two are always equal, but the OS X errno.h defines them to different things if DARWIN_UNIX03 is defined (which it apparently is when building gnucash).
Setting a high priority, since this leads to dataloss.
Attachments (1)
Change History (7)
Changed 16 years ago by bzbarsky (Boris Zbarsky)
Attachment: | patch-enotsup.diff added |
---|
comment:1 Changed 16 years ago by bzbarsky (Boris Zbarsky)
I have also filed this bug on upstream gnucash at http://bugzilla.gnome.org/show_bug.cgi?id=552306
comment:2 Changed 16 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to jmr@… |
---|---|
Status: | new → assigned |
comment:3 Changed 16 years ago by jmroot (Joshua Root)
Added the patches in r39987. Please confirm that the port works correctly now (I don't have an AirPort base station to test with).
comment:4 Changed 16 years ago by bzbarsky (Boris Zbarsky)
Looks good to me (as in, produces the same source as what I tested my patch with).
comment:5 Changed 16 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This fixes the problem. It applies on top of the patch in http://bugzilla.gnome.org/show_bug.cgi?id=549595