[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] Re: /usr/local/etc/coldsync/coldsync/?



>>>>> "Alex" == Alessandro Zummo <azummo-coldsync2@towertech.it> writes:

Jack> Is this a bug, or is the directory really supposed to have two
Jack> "coldsync"'s in it?

Alex> you shuld have /usr/local/etc/coldsync/coldsync.conf

Alex> anything else is a bug ;)

Jack> Then there is a bug in CVS.  Would you like me to track it down?  I
Jack> think it'll be pretty quick and easy.

Alex> yes, please.

Line 769 of configure.in:

AC_DEFINE_UNQUOTED(SYSCONFDIR,"`eval echo \"${sysconfdir}\"/coldsync`")

Lines 29-30 of src/coldsync.h:

#define DEFAULT_GLOBAL_CONFIG_OLD	SYSCONFDIR "/coldsync.conf"
#define DEFAULT_GLOBAL_CONFIG		SYSCONFDIR "/coldsync/coldsync.conf"

Lines 33-34 of src/palment.h:

#define _PATH_PALMS_OLD	SYSCONFDIR "/palms"
#define _PATH_PALMS	SYSCONFDIR "/coldsync/palms"

I'd suggest changing configure.in to not have coldsync at the end of
it for this version.  There's a lot of src/palment.h that refers to
/etc/palms, so that could be fixed for the next version.  Then all the
_OLD stuff can be removed from both header files and the configure.in
can go back to having coldsync at the end of it.

Jack.
-- 
Jack Twilley
jmt at twilley dot org
http colon slash slash www dot twilley dot org slash tilde jmt slash

Attachment: pgp00043.pgp
Description: PGP signature