Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/close-keep-errno.c @ 6429:65c69a53a7be HEAD
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Sep 2007 14:34:22 +0300 |
parents | 323c09be5f00 |
children | 7ed926ed7aa4 |
line wrap: on
line source
/* Copyright (c) 2006-2007 Dovecot authors, see the included COPYING file */ #include "lib.h" #include "close-keep-errno.h" #include <unistd.h> void close_keep_errno(int fd) { int old_errno = errno; (void)close(fd); errno = old_errno; }