- 17 Apr, 2001 1 commit
-
-
- 16 Apr, 2001 14 commits
-
-
for -lpthread since in libc the thread functions are defined but all return ENOSYS, you need to explicitely link with -lphtread. the ctype functions is*() arguments should be explicitely cast since Solaris use them as indexes. __REENTRANT as to be define if compile with support for threads. Never realize this but setenv() is a BSD/GNU thing, so took a variant from libiberty to cope.
Alain Magloire authored -
attempt to assign to it. To be able to redirect at will stdout we need to assign it. In GNU lib C, it was not error since stdout stderr, and stdin are variables, but to be portable we can not assume this. The way out is to always use fprintf () and have a global varialbe "ofile" pointing to stdout. * mail/*: All the files under mail been change to use fprintf() and ofile as the default stdout. Copyright updated.
Alain Magloire authored -
files to build a standalone libargp.a * argp: New directory. argp-ba.c, argp-eexst.c, argp-fmtstream.c, argp-fmtstream.h argp-fs-xinl.c, argp-help.c, argp-namefrob.h, argp-parse.c argp-pv.c, argp-pvh.c, argp-xinl.c, argp.h, pin.c. * mail/mail.c: Comment out the code that use readline specifics WITH_READLINE. * mail/mail.h: Likewised. * mail/util.c: Likewised. And still mail will not compile for QNX ... #&*#$^&#^)(
Alain Magloire authored -
-
-
-
-
-
-
-
-
-
-
-
- 15 Apr, 2001 2 commits
-
-
-
* examples/{Makefile,Addrs,addr.c,Addrs.good}: address test f/w. * include/mailutils/address.h,mailbox/{address.c,parse822.c}: now stuff a group name into an _address, and added a function to do a quick check if it is a group. * mailbox/parse822.c: fixed bug where ",sam@foo.bar" wasn't valid.
Alain Magloire authored
-
- 14 Apr, 2001 9 commits
-
-
-
-
-
* mailbox/folder_imap.c: When calling imap_writeline () the cookie for the tag should be unsigned %d --> %u. (imap_send) : The number of bytes in memmove was wrong. * mailbox/mbx_imap.c: Some duplicate degug calls MAILBOX_DEBUG0() removed. (attribute_string): IMAP does not have a \\Read flag it should be the same as \\Seen so attribute_read() == attribute_seen(). (flag_string): New function. (imap_attr_set_flags): Use flag_string(), instead. * mailbox/include/imap0.h: CLEAR_STATE() should also deselect the current mailbox. * mailbox/mbx_pop.c (pop_write): The number of bytes in the memmove was wrong. * imap4d/imap4d.h: Add HAVE_SECURITY_PAM_APPL_H. * imap4d/login.c: PAM_ERROR wrongly define. * imap4d/expunge.c: Initialise variable sp. * imap4d/logout.c: Initialise variable sp. * imap4d/noop.c: Initialise variable sp. * configure.in: AC_REP_FUNC(vasprintf). * include/mailutils/Makefile.am: Add property.h, parse822.h. * lib/vasprintf.c: Taken from libit. (AM_INIT_AUTOMAKE): Change version to 0.0.9
Alain Magloire authored -
-
-
-
- 13 Apr, 2001 4 commits
-
-
-
made during the tidying over the last month were: - use C comments only. - don't use C++ reserved words. - fix is_digit() to be like the other is functions - Changed return codes to: . no mem (ENOMEM) . function wasn't called correctly, usually a missing argument (EINVAL) . invalid syntax found during parsing (ENOENT) . success == 0 - const-corrected the APIs - removed unnecessary (in C) casts. - mailbox_t* removed in favor of address_t. - fix handful of memory leaks detected by Alain.
Alain Magloire authored -
-
-
- 12 Apr, 2001 1 commit
-
-
- 10 Apr, 2001 9 commits
-
-