Re: [fossil-users] AIX 7.1

2013-03-25 Thread C. Thomas Stover
On Mon, 25 Mar 2013 17:47:44 +, C. Thomas Stover wrote: > On the other hand this may be more of a file system specific issue > rather than an OS specific one. for clarity's sake, this is wrong. I just found the discussion about this over in sqlite-users. AIX simply does not fsync directorie

Re: [fossil-users] AIX 7.1

2013-03-25 Thread Stephan Beal
On Mon, Mar 25, 2013 at 6:47 PM, C. Thomas Stover wrote: > http://nadeausoftware.com/articles/2012/01/ > c_c_tip_how_use_compiler_predefined_macros_detect_operating_system > This might help, as well: http://sourceforge.net/p/predef/wiki/OperatingSystems/ that SourceForge project has been hostin

Re: [fossil-users] AIX 7.1

2013-03-25 Thread C. Thomas Stover
On Mon, 25 Mar 2013 13:15:17 -0400, Richard Hipp wrote: > Is there a predefined macro for AIX that we can use to make this setting > automatic? Something like "#ifdef __aix__"? This is all new territory for me. My aim is to add portability to some of my own projects, so I'll be looking. This pa

Re: [fossil-users] AIX 7.1

2013-03-25 Thread Richard Hipp
On Mon, Mar 25, 2013 at 1:01 PM, C. Thomas Stover wrote: > On Mon, 25 Mar 2013 12:40:39 -0400, Richard Hipp wrote: > > > On Mon, Mar 25, 2013 at 12:30 PM, C. Thomas Stover > > > >> On AIX 7.1, I get the following SQLite error on a open (jfs2 file > >> system): > >> > >> /usr/local/bin/fossil: SQLI

Re: [fossil-users] AIX 7.1

2013-03-25 Thread C. Thomas Stover
On Mon, 25 Mar 2013 12:40:39 -0400, Richard Hipp wrote: > On Mon, Mar 25, 2013 at 12:30 PM, C. Thomas Stover > >> On AIX 7.1, I get the following SQLite error on a open (jfs2 file >> system): >> >> /usr/local/bin/fossil: SQLITE_IOERR: os_unix.c:28318: (9) fsync(/home/ >> username/directory/projec

Re: [fossil-users] AIX 7.1

2013-03-25 Thread Richard Hipp
On Mon, Mar 25, 2013 at 12:30 PM, C. Thomas Stover wrote: > On AIX 7.1, I get the following SQLite error on a open (jfs2 file system): > > /usr/local/bin/fossil: SQLITE_IOERR: os_unix.c:28318: (9) fsync(/home/ > username/directory/project.fossil-mj40184C909) - Bad file number > /usr/local/bin/foss

[fossil-users] AIX 7.1

2013-03-25 Thread C. Thomas Stover
On AIX 7.1, I get the following SQLite error on a open (jfs2 file system): /usr/local/bin/fossil: SQLITE_IOERR: os_unix.c:28318: (9) fsync(/home/ username/directory/project.fossil-mj40184C909) - Bad file number /usr/local/bin/fossil: disk I/O error: {COMMIT} My first thought was to try with an ex