Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
a3c134a7
Commit
a3c134a7
authored
Jan 12, 2010
by
Uwe Schulzweida
Browse files
cgribexlib update
parent
2022c119
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure
View file @
a3c134a7
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for cdi 1.4.
1.1
.
# Generated by GNU Autoconf 2.61 for cdi 1.4.
2
.
#
# Report bugs to <Uwe.Schulzweida@zmaw.de>.
#
...
...
@@ -574,8 +574,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME
=
'cdi'
PACKAGE_TARNAME
=
'cdi'
PACKAGE_VERSION
=
'1.4.
1.1
'
PACKAGE_STRING
=
'cdi 1.4.
1.1
'
PACKAGE_VERSION
=
'1.4.
2
'
PACKAGE_STRING
=
'cdi 1.4.
2
'
PACKAGE_BUGREPORT
=
'Uwe.Schulzweida@zmaw.de'
# Factoring default headers for most tests.
...
...
@@ -1258,7 +1258,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat
<<
_ACEOF
\`
configure' configures cdi 1.4.
1.1
to adapt to many kinds of systems.
\`
configure' configures cdi 1.4.
2
to adapt to many kinds of systems.
Usage:
$0
[OPTION]... [VAR=VALUE]...
...
...
@@ -1329,7 +1329,7 @@ fi
if
test
-n
"
$ac_init_help
"
;
then
case
$ac_init_help
in
short
|
recursive
)
echo
"Configuration of cdi 1.4.
1.1
:"
;;
short
|
recursive
)
echo
"Configuration of cdi 1.4.
2
:"
;;
esac
cat
<<
\
_ACEOF
...
...
@@ -1462,7 +1462,7 @@ fi
test
-n
"
$ac_init_help
"
&&
exit
$ac_status
if
$ac_init_version
;
then
cat
<<
\
_ACEOF
cdi configure 1.4.
1.1
cdi configure 1.4.
2
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
...
...
@@ -1476,7 +1476,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by cdi
$as_me
1.4.
1.1
, which was
It was created by cdi
$as_me
1.4.
2
, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0
$@
...
...
@@ -2303,7 +2303,7 @@ fi
# Define the identity of the package.
PACKAGE
=
'cdi'
VERSION
=
'1.4.
1.1
'
VERSION
=
'1.4.
2
'
cat
>>
confdefs.h
<<
_ACEOF
...
...
@@ -9031,7 +9031,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by cdi
$as_me
1.4.
1.1
, which was
This file was extended by cdi
$as_me
1.4.
2
, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES =
$CONFIG_FILES
...
...
@@ -9084,7 +9084,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat
>>
$CONFIG_STATUS
<<
_ACEOF
ac_cs_version="
\\
cdi config.status 1.4.
1.1
cdi config.status 1.4.
2
configured by
$0
, generated by GNU Autoconf 2.61,
with options
\\
"`echo "
$ac_configure_args
" | sed 's/^ //; s/[
\\
""
\`\$
]/
\\\\
&/g'`
\\
"
...
...
configure.ac
View file @
a3c134a7
# Process this file with autoconf to produce a configure script.
AC_INIT(cdi, 1.4.
1.1
, Uwe.Schulzweida@zmaw.de)
AC_INIT(cdi, 1.4.
2
, Uwe.Schulzweida@zmaw.de)
echo "configuring ${PACKAGE_NAME} ${PACKAGE_VERSION}"
...
...
src/cgribexlib.c
View file @
a3c134a7
...
...
@@ -7725,6 +7725,7 @@ int gribGinfo(long recpos, long recsize, unsigned char *gribbuffer,
int
gribversion
,
grib1offset
;
long
gribsize
=
0
;
int
dpos
,
bpos
=
0
;
int
bdslen
;
float
bsf
;
section
=
gribbuffer
;
...
...
@@ -7774,12 +7775,15 @@ int gribGinfo(long recpos, long recsize, unsigned char *gribbuffer,
}
bds
=
bufpointer
;
bufpointer
+=
BDS_Len
;
dpos
=
recpos
+
gribsize
+
11
;
gribsize
+=
BDS_Len
;
bdslen
=
BDS_Len
;
bdslen
=
correct_bdslen
(
bdslen
,
recsize
,
bds
-
gribbuffer
);
bufpointer
+=
bdslen
;
gribsize
+=
bdslen
;
gribsize
+=
4
;
if
(
gribsize
>
recsize
)
{
fprintf
(
stderr
,
"GRIB buffer size %ld too small! Min size = %ld
\n
"
,
recsize
,
gribsize
);
...
...
@@ -9135,7 +9139,7 @@ int gribUnzip(unsigned char *dbuf, long dbufsize, unsigned char *sbuf, long sbu
return
(
gribLen
);
}
static
const
char
grb_libvers
[]
=
"1.4.2"
" of ""Jan 12 2010"" ""
09:23:1
0"
;
static
const
char
grb_libvers
[]
=
"1.4.2"
" of ""Jan 12 2010"" ""
14:20:2
0"
;
const
char
*
cgribexLibraryVersion
(
void
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment