Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aaoSystem
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
Service Desk
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
rds
aaoSystem
Commits
54a88501
Commit
54a88501
authored
15 years ago
by
Tony Farrell
Committed by
afarrell
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix linux build errors
Fix linux build errors.
parent
a4ccf473
No related branches found
Branches containing commit
Tags
1.31
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
acmmSystemTee.c
+5
-3
5 additions, 3 deletions
acmmSystemTee.c
with
5 additions
and
3 deletions
acmmSystemTee.c
+
5
−
3
View file @
54a88501
...
...
@@ -60,8 +60,10 @@ static const char *rcsId="@(#) $Id$";
static
void
*
use_rcsId
=
(
0
?
(
void
*
)(
&
use_rcsId
)
:
(
void
*
)
&
rcsId
);
#define __EXTENSIONS__ 1
#define _GNU_SOURCE
#include
<sys/types.h>
#include
<sys/stat.h>
#include
<sys/param.h>
#include
<fcntl.h>
#include
<sys/time.h>
#include
<stdio.h>
...
...
@@ -69,7 +71,7 @@ static void *use_rcsId = (0 ? (void *)(&use_rcsId) : (void *) &rcsId);
#include
<string.h>
#include
<unistd.h>
#include
<stdlib.h>
#include
<s
ys/syslimits
.h>
#include
<s
ignal
.h>
#define CHECK_TIME 30
/* Seconds after which we write a message to log */
#define TIMEOUT 3600
/* AFter this many seconds, abort */
...
...
@@ -322,8 +324,8 @@ static void cleanup(
const
char
*
const
fifo2
)
{
char
*
libDir
=
0
;
char
cmdName
[
PATH
_MAX
];
char
fullCmd
[
PATH
_
MAX
+
PATH
_
MAX
+
PATH
_MAX
+
3
];
char
cmdName
[
MAX
PATH
LEN
];
char
fullCmd
[
MAX
PATH
LEN
+
MAXPATH
LEN
+
MAXPATH
LEN
+
3
];
int
result
;
if
((
libDir
=
getenv
(
ACMM_LIBDIR
))
==
0
)
...
...
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