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
d2ff2875
...
d2ff2875f9bc99ee5d5dbef210788bb7650a8fb0
authored
2000-10-24 04:47:44 +0000
by
Alain Magloire
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update Makefile.
1 parent
c62b189d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
42 deletions
mailbox/Makefile.am
mailbox/_cpystr.c
mailbox/include/Makefile.am
mailbox/Makefile.am
View file @
d2ff287
...
...
@@ -9,15 +9,46 @@ SUBDIRS = include
lib_LTLIBRARIES
=
libmailbox.la
EXTRA_DIST
=
mbx_
uni
xscan.c
EXTRA_DIST
=
mbx_
mbo
xscan.c
libmailbox_la_SOURCES
=
\
_cpystr.c attachment.c attribute.c auth.c body.c file_stream.c
\
header.c stream.c locker.c mailbox.c mailer.c mapfile_stream.c
\
mbx_default.c mbx_imap.c mbx_mbox.c mbx_mdir.c mbx_mh.c mbx_mmdf.c
\
mbx_pop.c mbx_unix.c message.c mime.c registrar.c tcp.c trans_stream.c
\
url.c url_file.c url_imap.c url_mail.c url_mbox.c url_mdir.c
\
url_mh.c url_mmdf.c url_pop.c url_unix.c
attachment.c
\
attribute.c
\
auth.c
\
bio.c
\
body.c
\
debug.c
\
file_stream.c
\
header.c
\
iterator.c
\
list.c
\
locker.c
\
mailbox.c
\
mailer.c
\
mapfile_stream.c
\
mbx_default.c
\
mbx_file.c
\
mbx_mbox.c
\
mbx_pop.c
\
message.c
\
mime.c
\
misc.c
observer.c
\
registrar.c
\
sendmail.c
\
smtp.c
\
stream.c
\
tcp.c
\
trans_stream.c
\
transcode.c
\
url.c
\
url_file.c
\
url_mbox.c
\
url_path.c
\
url_pop.c
\
url_sendmail.c
\
url_smtp.c
libmailbox_la_LDFLAGS
=
-version-info 0:0:0
...
...
mailbox/_cpystr.c
deleted
100644 → 0
View file @
c62b189
/* GNU mailutils - a suite of utilities for electronic mail
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Library Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <cpystr.h>
#include <string.h>
size_t
_cpystr
(
char
*
dst
,
const
char
*
src
,
size_t
size
)
{
size_t
len
=
src
?
strlen
(
src
)
:
0
;
if
(
dst
==
NULL
||
size
==
0
)
return
len
;
if
(
len
>=
size
)
len
=
size
-
1
;
memcpy
(
dst
,
src
,
len
);
dst
[
len
]
=
'\0'
;
return
len
;
}
mailbox/include/Makefile.am
View file @
d2ff287
noinst_HEADERS
=
\
attribute0.h auth0.h body0.h cpystr.h header0.h mailbox0.h mailer0.h
\
mbx_imap.h mbx_mbox.h mbx_mdir.h mbx_mmdf.h mbx_pop.h mbx_unix.h
\
message0.h mime0.h registrar0.h stream0.h tcp0.h url0.h
attribute0.h
\
auth0.h
\
bio.h
\
body0.h
\
debug0.h
\
header0.h
\
iterator0.h
\
list0.h
\
mailbox0.h
\
mailer0.h
\
message0.h
\
mime0.h
\
misc.h
\
observer0.h
\
registrar0.h
\
stream0.h
\
tcp0.h
\
url0.h
...
...
Please
register
or
sign in
to post a comment