Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
63229086
...
632290866303df1e4391125994eb64e45585f48f
authored
2017-01-14 13:19:57 +0200
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix typos.
1 parent
51c5ad1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
doc/texinfo/programs.texi
doc/texinfo/programs.texi
View file @
6322908
...
...
@@ -3573,9 +3573,9 @@ invocation in @option{--attach-fd} options.
The
descriptors
will
be
held
in
@samp
{
@@fds
}
array
.
This
will
prevent
them
from
being
wiped
out
by
the
garbage
collector
.
Furthermore
,
care
should
be
taken
to
ensure
that
the
@code
{
O_CLOE
C
EC
}
flag
be
not
set
should
be
taken
to
ensure
that
the
@code
{
O_CLOE
X
EC
}
flag
be
not
set
for
these
descriptors
.
This
sample
script
takes
a
simplistic
approach
:
it
instructs
Perl
to
not
close
first
255
descriptors
when
executing
it
instructs
Perl
not
to
close
first
255
descriptors
when
executing
another
programs
:
@example
...
...
@@ -3608,12 +3608,12 @@ Now, the @command{mail} command is instructed to create next
attachment
from
that
file
descriptor
:
@example
my
$
mpname
=
$
+
@{
mpoint
@
}
;
$
mpname
=~
tr
@{
/
@
}@{
%
@
}
;
push
@@cmd
,
my
$
mpname
=
$
+
@{
mpoint
@
}
;
$
mpname
=~
tr
@{
/
@
}@{
%
@
}
;
push
@@cmd
,
"--content-name=Set[ug]id files on $+@{mpoint@} (type $+@{fstype@})"
,
"--content-filename=$mpname.list"
,
'
--
attach
-
fd
=
'
.
fileno
(
$
fd
)
;
"--content-filename=$mpname.list"
,
'
--
attach
-
fd
=
'
.
fileno
(
$
fd
)
;
@
}
@
}
close
$
in
;
...
...
Please
register
or
sign in
to post a comment