yaz-moved-to-github.git
11 years agoZOOM reject queries that cannot be char converted
Adam Dickmeiss [Tue, 20 Oct 2009 09:14:54 +0000 (11:14 +0200)]
ZOOM reject queries that cannot be char converted

For queries that cannot be converted to the specified rpnCharset,
ZOOM now returns a diagnostic on the client-side ('invalid query' /
10010).  This fixes bug #2113.

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 15 Oct 2009 11:07:36 +0000 (13:07 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoFix do_nothing_useful example
Adam Dickmeiss [Thu, 15 Oct 2009 11:07:17 +0000 (13:07 +0200)]
Fix do_nothing_useful example

11 years agoFix odr_bool definition
Adam Dickmeiss [Thu, 15 Oct 2009 11:06:55 +0000 (13:06 +0200)]
Fix odr_bool definition

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 8 Oct 2009 21:01:38 +0000 (23:01 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoFix SEGV for quit command in cmdfile
Adam Dickmeiss [Thu, 8 Oct 2009 20:57:43 +0000 (22:57 +0200)]
Fix SEGV for quit command in cmdfile

If cmdfile is passed to yaz-client (option -f) and that cmdfile
included a 'quit' command that would result in a memory violation.

11 years agoMARC21 to Endnote: omit text garbage.
Adam Dickmeiss [Thu, 8 Oct 2009 11:53:23 +0000 (13:53 +0200)]
MARC21 to Endnote: omit text garbage.

Match on text nodes to omit text garbage.. Makes this stylesheet
work on OPACXML (with MARC21 embedded) as well.

11 years agoMore field mappings.
Adam Dickmeiss [Thu, 1 Oct 2009 14:29:16 +0000 (16:29 +0200)]
More field mappings.

Only consider surname authors. Map secondary title, call number, pages,
volume, abstract.

11 years agoUse printfield everywhere
Adam Dickmeiss [Thu, 1 Oct 2009 13:34:05 +0000 (15:34 +0200)]
Use printfield everywhere

11 years agoStart work on MARC21 to Endnote import
Adam Dickmeiss [Thu, 1 Oct 2009 12:45:49 +0000 (14:45 +0200)]
Start work on MARC21 to Endnote import

11 years agoVersion 3.0.49. Update news. v3.0.49
Adam Dickmeiss [Thu, 1 Oct 2009 08:20:51 +0000 (10:20 +0200)]
Version 3.0.49. Update news.

11 years agoOptimize trie look for char conv.
Adam Dickmeiss [Tue, 29 Sep 2009 13:08:49 +0000 (15:08 +0200)]
Optimize trie look for char conv.

The lookup function now saves one function call for every character -
to improve performance for conversion from/to MARC8.

11 years agoOptimize wrbuf_iconv_write.
Adam Dickmeiss [Tue, 29 Sep 2009 13:07:00 +0000 (15:07 +0200)]
Optimize wrbuf_iconv_write.

Use bigger temporary conversion buffer for wrbut_iconv_write.. This
increases performance a bit.

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Tue, 29 Sep 2009 11:01:29 +0000 (13:01 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoAllow Slow database wait to be set.
Adam Dickmeiss [Tue, 29 Sep 2009 11:00:17 +0000 (13:00 +0200)]
Allow Slow database wait to be set.

The dummy Database Slow may be followed by an integer.. This integer
specifies the time for an operation to execute - in seconds.

11 years agoAllow slow database wait to be set.
Adam Dickmeiss [Tue, 29 Sep 2009 11:00:17 +0000 (13:00 +0200)]
Allow slow database wait to be set.

The dummy Database Slow may be followed by an integer.. This integer
specifies the time for an operation to execute - in seconds.

11 years agoZOOM_record_get returns 0 for bad MARC.
Adam Dickmeiss [Tue, 29 Sep 2009 10:58:40 +0000 (12:58 +0200)]
ZOOM_record_get returns 0 for bad MARC.

ZOOM_record_get returns 0 pointer if a MARC record can not be decoded -
unless type desired is "raw". This will prevent type "xml" from
returning ISO2709 .. Which obviously can not be XML parsed.

11 years agoDummy database Slow waits 3 seconds.
Adam Dickmeiss [Sun, 27 Sep 2009 19:21:06 +0000 (21:21 +0200)]
Dummy database Slow waits 3 seconds.

11 years agoLeak fixes for xmlquery stuff
Adam Dickmeiss [Thu, 24 Sep 2009 11:40:31 +0000 (13:40 +0200)]
Leak fixes for xmlquery stuff

11 years agoMake som internal functions static.
Adam Dickmeiss [Thu, 24 Sep 2009 11:14:24 +0000 (13:14 +0200)]
Make som internal functions static.

Make a number of functions defined in xmlquery.c static. These have
never been declared in a public header file (yaz/xmlquery.h) and was
made public by mistake.

11 years agoFix leak for odr_print of ZOOM connection.
Adam Dickmeiss [Wed, 23 Sep 2009 15:56:53 +0000 (17:56 +0200)]
Fix leak for odr_print of ZOOM connection.

Calls to ZOOM_connection_connect would odr_print memory each time
if option apdulog=1.

11 years agoUpdated m4 + doc/common.
Adam Dickmeiss [Wed, 23 Sep 2009 15:51:41 +0000 (17:51 +0200)]
Updated m4 + doc/common.

11 years agoResolve
Mike Taylor [Fri, 18 Sep 2009 16:47:45 +0000 (17:47 +0100)]
Resolve

11 years agoGFS logs HTTP requests
Adam Dickmeiss [Fri, 18 Sep 2009 10:33:54 +0000 (12:33 +0200)]
GFS logs HTTP requests

11 years agoLog session timeout. Reenable ASSOC_UP.
Adam Dickmeiss [Fri, 18 Sep 2009 09:06:20 +0000 (11:06 +0200)]
Log session timeout. Reenable ASSOC_UP.

The association_state ASSOC_UP was last used in YAZ 2.0.30. It
was probably removed by mistake. We enable it - but for Z39.50
sessions only, so that when a timeout occurs we can send a Z39.50
close PDU again. The session timeout is now also logged at "session"
log level.

11 years agoSkip zero-length subfields for ISO2709.
Adam Dickmeiss [Thu, 17 Sep 2009 11:27:05 +0000 (13:27 +0200)]
Skip zero-length subfields for ISO2709.

Skip zero-length subfields when decoding ISO2709. This rare case happens
if a record has two FS characters in a sequence. Without this patch
there would be a reference beyond char array in using_code_len fragments
in marcdisp.c.

11 years agoFix install doc rule for Automake 1.11
Adam Dickmeiss [Wed, 16 Sep 2009 11:58:26 +0000 (13:58 +0200)]
Fix install doc rule for Automake 1.11

11 years agoLink add libyaz.la to yaz-ztest (fix #3036).
Adam Dickmeiss [Tue, 15 Sep 2009 08:18:06 +0000 (10:18 +0200)]
Link add libyaz.la to yaz-ztest (fix #3036).

11 years agoFix yaz-marcdump -n (bug #3028).
Adam Dickmeiss [Thu, 10 Sep 2009 07:13:18 +0000 (09:13 +0200)]
Fix yaz-marcdump -n (bug #3028).

11 years agoMARC checkout output: No ()s in comments
Adam Dickmeiss [Thu, 10 Sep 2009 07:13:06 +0000 (09:13 +0200)]
MARC checkout output: No ()s in comments

11 years agoAdd debian make rule
Adam Dickmeiss [Wed, 2 Sep 2009 15:36:14 +0000 (17:36 +0200)]
Add debian make rule

11 years agoFix quoting for upload.sh
Adam Dickmeiss [Fri, 28 Aug 2009 12:46:21 +0000 (14:46 +0200)]
Fix quoting for upload.sh

11 years agoUpload doc+dox script
Adam Dickmeiss [Fri, 28 Aug 2009 10:44:15 +0000 (12:44 +0200)]
Upload doc+dox script

11 years agoVersion 3.0.48 v3.0.48
Adam Dickmeiss [Fri, 28 Aug 2009 09:01:41 +0000 (11:01 +0200)]
Version 3.0.48

11 years agoOmit tkl rules for documentation
Adam Dickmeiss [Fri, 28 Aug 2009 08:56:42 +0000 (10:56 +0200)]
Omit tkl rules for documentation

11 years agozoomsh's shows 1 record by default
Adam Dickmeiss [Fri, 28 Aug 2009 08:53:35 +0000 (10:53 +0200)]
zoomsh's shows 1 record by default

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Fri, 28 Aug 2009 08:39:43 +0000 (10:39 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoMention new type for show command
Adam Dickmeiss [Fri, 28 Aug 2009 08:35:44 +0000 (10:35 +0200)]
Mention new type for show command

11 years agoExtend zoomsh's show command WRT type
Adam Dickmeiss [Thu, 27 Aug 2009 20:05:29 +0000 (22:05 +0200)]
Extend zoomsh's show command WRT type

zoomsh's show command takes a new 3rd optional parameter which is the
type as passed to ZOOM_record_get. Default is "render".

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Mike Taylor [Thu, 20 Aug 2009 08:16:05 +0000 (09:16 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoNew tests cases for CQL to RPN conv
Adam Dickmeiss [Wed, 19 Aug 2009 19:00:27 +0000 (21:00 +0200)]
New tests cases for CQL to RPN conv

11 years agoRPN to CQL: no use attr is treated as serverChoice
Adam Dickmeiss [Wed, 19 Aug 2009 18:56:58 +0000 (20:56 +0200)]
RPN to CQL: no use attr is treated as serverChoice

11 years agoRPN to CQL conv may use USE string attributes (bug #2978).
Adam Dickmeiss [Fri, 14 Aug 2009 13:35:57 +0000 (15:35 +0200)]
RPN to CQL conv may use USE string attributes (bug #2978).

In conversion from RPN to CQL (function cql_transform_rpn2cql_).. USE
string attributes are used as a fallback if there is no match in the
CQL transform (properties) lookup. Also change behavior so that
unsupported use attribute if there is no match .. Ie if there is a
numeric use attribute in a query and that is not matched anywhere.

11 years agoAllow empty CQL transform in cql2pqf (and reverse)
Adam Dickmeiss [Fri, 14 Aug 2009 13:31:21 +0000 (15:31 +0200)]
Allow empty CQL transform in cql2pqf (and reverse)

If value dash (-) is tiven as properties name, the cql2pqf program
will use no properties file.. Ie just cql_transform_create rather than
cql_transform_open_fname. This allows us to test RPN to CQL conversion
with no properties file (-r).

11 years agoAdd link to MARCXML and MarcXhange Web content
Adam Dickmeiss [Fri, 31 Jul 2009 13:07:20 +0000 (15:07 +0200)]
Add link to MARCXML and MarcXhange Web content

11 years agoMention ISO25577
Adam Dickmeiss [Fri, 31 Jul 2009 13:07:12 +0000 (15:07 +0200)]
Mention ISO25577

11 years agoMarcXchange NS is now info:lc/xmlns/marcxchange-v1
Adam Dickmeiss [Fri, 31 Jul 2009 12:59:30 +0000 (14:59 +0200)]
MarcXchange NS is now info:lc/xmlns/marcxchange-v1

11 years agoExtend z_External to handle all extended services
Adam Dickmeiss [Wed, 29 Jul 2009 07:38:26 +0000 (09:38 +0200)]
Extend z_External to handle all extended services

Extend z_External to handle all extended services persistentQuery,
periodicQuerySchedule, exportSpecification, exportInvocation. Patch
by Rustam T. Usmanov.

11 years agoRolling
Mike Taylor [Tue, 28 Jul 2009 09:28:09 +0000 (10:28 +0100)]
Rolling

11 years agoBetter message when receiving an unrecognised userInformationField.
Mike Taylor [Tue, 28 Jul 2009 09:27:39 +0000 (10:27 +0100)]
Better message when receiving an unrecognised userInformationField.

11 years agoRemove obsolete Doxygen setting
Adam Dickmeiss [Mon, 13 Jul 2009 08:58:20 +0000 (10:58 +0200)]
Remove obsolete Doxygen setting

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Thu, 9 Jul 2009 14:31:51 +0000 (16:31 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoUpdate to new ID URLs
Adam Dickmeiss [Thu, 9 Jul 2009 14:31:33 +0000 (16:31 +0200)]
Update to new ID URLs

11 years agoDescribe option -V of yaz-config
Adam Dickmeiss [Wed, 8 Jul 2009 20:28:42 +0000 (22:28 +0200)]
Describe option -V of yaz-config

11 years agoVersion 3.0.47 v3.0.47
Adam Dickmeiss [Wed, 8 Jul 2009 12:06:08 +0000 (14:06 +0200)]
Version 3.0.47

11 years agoAllow yaz_xml2query to throw a certain diagnostic
Adam Dickmeiss [Fri, 3 Jul 2009 14:20:26 +0000 (16:20 +0200)]
Allow yaz_xml2query to throw a certain diagnostic

Function yaz_xml2query allows a diagnostic element in the PQF XML
representation .. diagnostic@code and diagnostic@addinfo is diagnostic
code and additional info respectively.

11 years agoMerge branch 'master' into longint
Adam Dickmeiss [Thu, 18 Jun 2009 13:47:48 +0000 (15:47 +0200)]
Merge branch 'master' into longint

11 years agoIntroduce type for BER BOOLEAN/INTEGER .
Adam Dickmeiss [Thu, 18 Jun 2009 12:09:21 +0000 (14:09 +0200)]
Introduce type for BER BOOLEAN/INTEGER .

The BER BOOLEAN is now the integral type Odr_bool which still happens
to be an 'int'. The BER INTEGER which used to be a plain 'int' is now
typedef'd to Odr_int. This is still an integral 'int', but it may be
changed to 64-bit via a one-liner in nmem.h (NMEM_64=1). The documentation,
ASN-1 compiler as well as programs has been updated to use the new types.

11 years agoCQL sortby parsing, no semantics yet
Adam Dickmeiss [Tue, 16 Jun 2009 10:53:17 +0000 (12:53 +0200)]
CQL sortby parsing, no semantics yet

11 years agoAdd type casts for tests for C++ compile
Adam Dickmeiss [Tue, 16 Jun 2009 09:01:24 +0000 (11:01 +0200)]
Add type casts for tests for C++ compile

11 years agoAdd type casts to make YAZ C++ compile
Adam Dickmeiss [Tue, 16 Jun 2009 08:59:41 +0000 (10:59 +0200)]
Add type casts to make YAZ C++ compile

11 years ago64-bit BER integers. Fixes bug #114.
Adam Dickmeiss [Tue, 16 Jun 2009 08:43:48 +0000 (10:43 +0200)]
64-bit BER integers. Fixes bug #114.

Introduce a new type, odr_int_t, which is equivalent to 'long lont int'
This type is pretty much available everywhere..  was introduced in C99.
This change makes YAZ non-backwards compatible .. both source-wise
and binary wise. However, it is expected to be fairly trivial to update
applications.

11 years agoAvoid #if inside macro expansion
Adam Dickmeiss [Tue, 9 Jun 2009 20:12:55 +0000 (22:12 +0200)]
Avoid #if inside macro expansion

11 years agoCCL: test case for bug #2895
Adam Dickmeiss [Tue, 9 Jun 2009 08:25:03 +0000 (10:25 +0200)]
CCL: test case for bug #2895

11 years agoRename frontend.xml to server.xml
Adam Dickmeiss [Tue, 9 Jun 2009 07:12:23 +0000 (09:12 +0200)]
Rename frontend.xml to server.xml

11 years agoIgnore program tstxmalloc
Adam Dickmeiss [Tue, 9 Jun 2009 07:12:09 +0000 (09:12 +0200)]
Ignore program tstxmalloc

11 years agoFix unix socket example and reformat
Adam Dickmeiss [Tue, 9 Jun 2009 07:07:16 +0000 (09:07 +0200)]
Fix unix socket example and reformat

11 years agoVersion 3.0.46 v3.0.46
Adam Dickmeiss [Mon, 8 Jun 2009 13:49:18 +0000 (15:49 +0200)]
Version 3.0.46

11 years agoVersion 3.0.46
Adam Dickmeiss [Mon, 8 Jun 2009 13:48:31 +0000 (15:48 +0200)]
Version 3.0.46

11 years agoSummarize news
Adam Dickmeiss [Mon, 8 Jun 2009 13:45:26 +0000 (15:45 +0200)]
Summarize news

11 years agoZOOM_record_get only returns OPAC record if present
Adam Dickmeiss [Mon, 8 Jun 2009 13:37:22 +0000 (15:37 +0200)]
ZOOM_record_get only returns OPAC record if present

11 years agoRefactor wrbuf tmps for ZOOM_record_get
Adam Dickmeiss [Mon, 8 Jun 2009 12:45:13 +0000 (14:45 +0200)]
Refactor wrbuf tmps for ZOOM_record_get

11 years agoRemove unused local member wrbuf_opac
Adam Dickmeiss [Mon, 8 Jun 2009 12:41:40 +0000 (14:41 +0200)]
Remove unused local member wrbuf_opac

11 years agoRefactor ZOOM record render code and fix #2892.
Adam Dickmeiss [Mon, 8 Jun 2009 12:35:10 +0000 (14:35 +0200)]
Refactor ZOOM record render code and fix #2892.

Refactor code for ZOOM_record_get. The "xml" render for OPAC records
now renders the full OPAC. Previously only the MARCXML bibliographic part
was rendered (the bibliographic record). Pazpar2 relies on this
functionality and this should fix bug #2892.

11 years agopost/postrun calls ldconfig
Adam Dickmeiss [Wed, 20 May 2009 09:08:16 +0000 (11:08 +0200)]
post/postrun calls ldconfig

11 years agoFix RPM build for RHEL 5.3 v3.0.45.rhel53
Adam Dickmeiss [Wed, 20 May 2009 08:09:52 +0000 (10:09 +0200)]
Fix RPM build for RHEL 5.3

RHEL 5.3 does not have package tcp_wrappers-devel . Only tcp_wrappers
which includes both run-time and lib/headers. Fedora core 9 differs
from RHEL 5.3 in that respect.

11 years agoyaz-config -V shows version + SHA1 (Bug #2829)
Adam Dickmeiss [Wed, 13 May 2009 07:21:41 +0000 (09:21 +0200)]
yaz-config -V shows version + SHA1 (Bug #2829)

11 years agoPrefer IPV6 addresses over IPV4 - should refix bug #2350.
Adam Dickmeiss [Thu, 7 May 2009 18:55:04 +0000 (20:55 +0200)]
Prefer IPV6 addresses over IPV4 - should refix bug #2350.

11 years agoSmall fix for encoding of advancegreek
Adam Dickmeiss [Tue, 5 May 2009 11:29:32 +0000 (13:29 +0200)]
Small fix for encoding of advancegreek

11 years agobuildconf.sh uses only Libtool flags when present
Adam Dickmeiss [Fri, 1 May 2009 09:00:54 +0000 (11:00 +0200)]
buildconf.sh uses only Libtool flags when present

11 years agoAvoid double display of SRU/SRW records (bug #2798).
Adam Dickmeiss [Fri, 1 May 2009 07:48:52 +0000 (09:48 +0200)]
Avoid double display of SRU/SRW records (bug #2798).

11 years agoDoxygen comments for xmalloc utils. Reformat
Adam Dickmeiss [Thu, 30 Apr 2009 08:02:39 +0000 (10:02 +0200)]
Doxygen comments for xmalloc utils. Reformat

11 years agoAdded xstrndup (similar to strndup)
Adam Dickmeiss [Thu, 30 Apr 2009 07:04:34 +0000 (09:04 +0200)]
Added xstrndup (similar to strndup)

11 years agoOption auto_reconnect=on really reconnects.
Adam Dickmeiss [Wed, 29 Apr 2009 09:44:06 +0000 (11:44 +0200)]
Option auto_reconnect=on really reconnects.

11 years agoFix bug #2770 - avoid length limit for auth parameters.
Adam Dickmeiss [Wed, 29 Apr 2009 08:43:34 +0000 (10:43 +0200)]
Fix bug #2770 - avoid length limit for auth parameters.

11 years agoAvoid GCC warning about conversion from integer to ptr.
Adam Dickmeiss [Tue, 14 Apr 2009 09:44:03 +0000 (11:44 +0200)]
Avoid GCC warning about conversion from integer to ptr.

Add intermediate cast to size_t from int to avoid GCC warning:
cast to pointer from integer of different size .

11 years agoAvoid null ptr ref for for yaz_poll errors.
Adam Dickmeiss [Mon, 6 Apr 2009 21:30:44 +0000 (23:30 +0200)]
Avoid null ptr ref for for yaz_poll errors.

When yaz_poll returns error (-1) and errno is not EINTR the code
previously assumed seshigh IOCHAN (client_link) and called cs_close..
In the mother process, however, the IOCHAN data is not this type.
Code now prints a warning and resumes processing and does not use
iochan_getdata.

11 years agoAvoid redundant dependency v3.0.45
Adam Dickmeiss [Tue, 31 Mar 2009 19:44:42 +0000 (21:44 +0200)]
Avoid redundant dependency

11 years agoVersion 3.0.45
Adam Dickmeiss [Tue, 31 Mar 2009 19:19:13 +0000 (21:19 +0200)]
Version 3.0.45

11 years agoUpdate news
Adam Dickmeiss [Mon, 30 Mar 2009 14:23:56 +0000 (16:23 +0200)]
Update news

11 years agoReindent
Adam Dickmeiss [Sun, 29 Mar 2009 19:02:07 +0000 (21:02 +0200)]
Reindent

11 years agoReindent
Adam Dickmeiss [Sun, 29 Mar 2009 19:01:55 +0000 (21:01 +0200)]
Reindent

11 years agoFix doc WRT ZOOM opts start, doc (bug #2198)
Adam Dickmeiss [Sun, 29 Mar 2009 18:53:05 +0000 (20:53 +0200)]
Fix doc WRT ZOOM opts start, doc (bug #2198)

11 years agoFix trace prints for buffer ptrs
Adam Dickmeiss [Sat, 28 Mar 2009 07:00:09 +0000 (08:00 +0100)]
Fix trace prints for buffer ptrs

11 years agoFix bug #2709: TCP connect returns Invalid argument.
Adam Dickmeiss [Sat, 28 Mar 2009 06:51:24 +0000 (07:51 +0100)]
Fix bug #2709: TCP connect returns Invalid argument.

The getaddrinfo result (struct addrinfo) is now properly
updated in the sp->ai member .. Hence socket and connect uses same
address.  The poking for IPV6 address types, bug #2350, is now useless.

11 years agoAdd yaz_clone_z_RecordComposition.
Adam Dickmeiss [Thu, 26 Mar 2009 13:25:12 +0000 (14:25 +0100)]
Add yaz_clone_z_RecordComposition.

11 years agoBump version to 3.0.45 due to new functions.
Adam Dickmeiss [Thu, 26 Mar 2009 10:29:36 +0000 (11:29 +0100)]
Bump version to 3.0.45 due to new functions.

11 years agoRework copy/clone of ASN.1 type utilities.
Adam Dickmeiss [Thu, 26 Mar 2009 10:27:24 +0000 (11:27 +0100)]
Rework copy/clone of ASN.1 type utilities.

The copy/clone of a type, such as Z_RPNQuery, is implemented as a macro.
The following funcions are defined at this stage:
yaz_clone_z_{Query,RPNQuery,NamePlusRecord}.

11 years agoFix compilation for mingw.
Adam Dickmeiss [Wed, 11 Mar 2009 21:22:35 +0000 (22:22 +0100)]
Fix compilation for mingw.

Two sources files failed to compile on GCC mingw (Minimalist GNU for
Windows). For oid_db.c the problem was that GCC reported 'initializer
element is not constant'. And the fix is to use initialize (use) at
run-time. For timing.c the problem that HAVE_SYS_TIME_H and WIN32 was
both defined - and the code was not prepared for that.

11 years agoInclude yaz/errno.h in source that uses YAZ' errno utils.
Adam Dickmeiss [Tue, 10 Mar 2009 13:47:06 +0000 (14:47 +0100)]
Include yaz/errno.h in source that uses YAZ' errno utils.