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
64597f75
...
64597f75f0ec8a80005f65983560be92c6090b06
authored
2006-01-20 11:20:48 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(util_chdir): New function.
1 parent
d0fc0da7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
imap4d/util.c
imap4d/util.c
View file @
64597f7
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2001, 2002, 2003, 2004,
2005 Free Software Foundation, Inc.
2005
, 2006
Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -1290,3 +1290,11 @@ util_run_events (int old_state, int new_state)
}
}
void
util_chdir
(
const
char
*
homedir
)
{
int
rc
=
chdir
(
homedir
);
if
(
rc
)
mu_error
(
"Cannot change to home directory `%s': %s"
,
homedir
,
mu_strerror
(
errno
));
}
...
...
Please
register
or
sign in
to post a comment