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
2c58138c
...
2c58138c223be155f51f6771dc4d2be951146df8
authored
2002-08-29 14:43:49 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(sieve-expand-filename): Do not attempt to expand meta-characters understood by …
…mailbox_create_default.
1 parent
15d71b00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
12 deletions
guimb/scm/sieve-core.scm
guimb/scm/sieve-core.scm
View file @
2c58138
...
...
@@ -64,18 +64,7 @@
(
define
(
sieve-expand-filename
filename
)
(
case
(
string-ref
filename
0
)
((
#
\
~
)
(
let
((
pw
(
mu-getpwuid
(
geteuid
))))
(
if
(
and
(
vector?
pw
)
(
let
((
dir
(
vector-ref
pw
5
)))
(
and
(
access?
dir
W_OK
)
(
eq?
(
vector-ref
(
stat
(
vector-ref
pw
5
))
13
)
'directory
))))
(
string-append
(
vector-ref
pw
5
)
(
substring
filename
1
(
string-length
filename
)))
#f
)))
((
#\/
)
((
#\/
#
%
#
~
#
+
#
=
)
filename
)
(
else
(
let
((
pw
(
getpwuid
(
geteuid
))))
...
...
Please
register
or
sign in
to post a comment