tags 299207 + patch thanks Re: Matthew Palmer in <[EMAIL PROTECTED]> > Did you try commenting out this sanity check and seeing if ipac-ng ran > correctly?
Just tried it, it works. Tested on amd64 (fresh install) and i386 (upgrade and data still alive). diff -u ipac-ng-1.27/debian/changelog ipac-ng-1.27/debian/changelog --- ipac-ng-1.27/debian/changelog +++ ipac-ng-1.27/debian/changelog @@ -1,3 +1,11 @@ +ipac-ng (1.27-5.1) unstable; urgency=low + + * NMU. + * Remove broken "sanity check" in gdbm.c to make gdbm storage work + on 64bit architectures (Closes: #299207). + + -- Christoph Berg <[EMAIL PROTECTED]> Sun, 8 May 2005 13:19:46 +0200 + ipac-ng (1.27-5) unstable; urgency=low * compiled gdbm into ipac-ng but text is still default only in patch2: unchanged: --- ipac-ng-1.27.orig/storage/gdbm/gdbm.c +++ ipac-ng-1.27/storage/gdbm/gdbm.c @@ -467,19 +467,6 @@ if (init_done == 0) { - /* check record lengths. This is the only spot where these - * values are hard-coded. - */ - if (sizeof(gdbm_timestamp) != 5 - || sizeof(gdbm_data_value_header_t) != 16 - || sizeof(gdbm_data_value_record_t) != 20 - || sizeof(gdbm_lookup_t) != 8) - { - fprintf(stderr, "%s: bad record sizes in internal data " - "definition structures\n", me); - exit(1); - } - /* set the file names. */ i = strlen(datadir) + 1; filename_machine_db =(char *)xmalloc(i+sizeof(GDBM_MACHINE_DB)); Christoph -- [EMAIL PROTECTED] | http://www.df7cb.de/
signature.asc
Description: Digital signature