Hi Micha, besten Dank für das Patch, hab's eingecheckt.
Gleichzeitig hab ich mich nun endlich hingesetzt und eine Erklärung ins README hinzugefügt, welche der bankdata_yymmdd.txt Dateien denn nun entscheidend sind. Insbesondere ist die Datei "bankdata.txt" ja gar nicht mehr in Benutzung, außer man verlangt sie über --file=... auf der Kommandozeile. War dir das schon aufgefallen oder bedeutet das für dich eine Umstellung? Unten noch der neue Abschnitt aus dem README. Gruß Christian Since version 1.16, ktoblzcheck installs multiple bankdata files which are valid at different dates. Each of the bank code files from the Deutsche Bundesbank is valid for three (3) months. Ktoblzcheck ships with the bankdata file from several validity periods: One file is valid at the date of release; the second file is valid in the three months after that (i.e. it is newer); and the file from the previous period (i.e. the old one) is added as well. If even the newest file is outdated at the day of when libktoblzcheck is used, a warning line will be printed to stderr and the newest file will be used anyway. Note: The available files (marked by the first valid day as part of the filename) and their validity period are hard-coded into libktoblzcheck.so, src/lib/ktoblzcheck.cc to be more specific. Updating the files doesn't change that information. So even if you replace the file with the newest date with an updated file (which is now up to date again), the warning will still appear because the hard-coded validity dates inside libktoblzcheck haven't been updated as well. Note 2nd: The bank data file "bankdata.txt" with no date in the file name is not used anymore by default. It is a one-to-one copy of the file with the newest date, and it is provided solely for backward compatibility. Note 3rd: All of the above is ignored if a bankdata file is explicitly requested by the command line argument --file=... . In that case the specified file is used and no further date comparisons are made. Am Dienstag, 3. März 2009 17:01 schrieb Micha Lenk: > Hi Christian, hi Alexander, > > in der ktoblzcheck.pc, die mit der Bibliothek installiert wird, ist ein > Bug drin. Das bankdatadir (Ausgabe des Befehls "pkg-config > --variable=bankdatadir ktoblzcheck") entspricht nicht dem Verzeichnis, > in dem die bankdata.txt tatsächlich installiert wird. Zumindest ist das > so, wenn beim ./configure mit --with-bankdata-path= ein anderes > Verzeichnis angegeben wurde. Der angehängte Patch behebt dieses Problem. > > Außerdem wäre es schön (aber nicht zwingend erforderlich), über > pkg-config den absoluten Pfad der bankdata.txt herauskriegen zu können. > Dazu führt der angehängte Patch eine neue pkg-config-Variable > bankdatafile ein, die man mit dem Befehl "pkg-config > --variable=bankdatafile ktoblzcheck" abrufen kann. > > Ich fänd's prima, wenn der Patch ins SVN kommt. > > Schöne Grüße > Micha ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Aqbanking-devel mailing list Aqbanking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/aqbanking-devel