Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
839441e2
Commit
839441e2
authored
18 years ago
by
Dan Fandrich
Browse files
Options
Downloads
Patches
Plain Diff
Minor portability fixes to get things running on UNICOS 9.0 on a Cray Y-MP
parent
ba9ea943
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/INSTALL
+1
-0
1 addition, 0 deletions
docs/INSTALL
lib/hostip.c
+6
-4
6 additions, 4 deletions
lib/hostip.c
lib/if2ip.c
+1
-1
1 addition, 1 deletion
lib/if2ip.c
src/main.c
+4
-1
4 additions, 1 deletion
src/main.c
with
12 additions
and
6 deletions
docs/INSTALL
+
1
−
0
View file @
839441e2
...
...
@@ -684,6 +684,7 @@ PORTS
- StrongARM/ARM7/ARM9 Linux 2.4, 2.6
- StrongARM NetBSD 1.4.1
- Ultrix 4.3a
- UNICOS 9.0
- i386 BeOS
- i386 DOS
- i386 eCos 1.3.1
...
...
This diff is collapsed.
Click to expand it.
lib/hostip.c
+
6
−
4
View file @
839441e2
...
...
@@ -409,10 +409,12 @@ int Curl_resolv(struct connectdata *conn,
#ifdef HAVE_SIGSETJMP
/* this allows us to time-out from the name resolver, as the timeout
will generate a signal and we will siglongjmp() from that here */
if
(
!
data
->
set
.
no_signal
&&
sigsetjmp
(
curl_jmpenv
,
1
))
{
/* this is coming from a siglongjmp() */
failf
(
data
,
"name lookup timed out"
);
return
CURLRESOLV_ERROR
;
if
(
!
data
->
set
.
no_signal
)
{
if
(
sigsetjmp
(
curl_jmpenv
,
1
))
{
/* this is coming from a siglongjmp() */
failf
(
data
,
"name lookup timed out"
);
return
CURLRESOLV_ERROR
;
}
}
#endif
...
...
This diff is collapsed.
Click to expand it.
lib/if2ip.c
+
1
−
1
View file @
839441e2
...
...
@@ -114,7 +114,7 @@ char *Curl_if2ip(const char *interface, char *buf, int buf_size)
struct
in_addr
in
;
struct
sockaddr_in
*
s
=
(
struct
sockaddr_in
*
)
&
req
.
ifr_dstaddr
;
memcpy
(
&
in
,
&
(
s
->
sin_addr
.
s_addr
)
,
sizeof
(
in
));
memcpy
(
&
in
,
&
s
->
sin_addr
,
sizeof
(
in
));
ip
=
(
char
*
)
Curl_inet_ntop
(
s
->
sin_family
,
&
in
,
buf
,
buf_size
);
}
sclose
(
dummy
);
...
...
This diff is collapsed.
Click to expand it.
src/main.c
+
4
−
1
View file @
839441e2
...
...
@@ -1180,9 +1180,12 @@ static int str2offset(curl_off_t *val, char *str)
* definitions for LLONG_{MIN,MAX} or LONG_LONG_{MIN,MAX}.
*/
#ifndef LLONG_MAX
#ifdef
_MSC_VER
#if
def
ined(
_MSC_VER
)
#define LLONG_MAX (curl_off_t)0x7FFFFFFFFFFFFFFFi64
#define LLONG_MIN (curl_off_t)0x8000000000000000i64
#elif defined(_CRAYC)
#define LLONG_MAX (curl_off_t)0x7FFFFFFFFFFFFFFF
#define LLONG_MIN (curl_off_t)0x8000000000000000
#else
#define LLONG_MAX (curl_off_t)0x7FFFFFFFFFFFFFFFLL
#define LLONG_MIN (curl_off_t)0x8000000000000000LL
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment