Differences From Artifact [707e2e6927]:
- File src/file.c — part of check-in [95197cb01a] at 2012-09-29 22:12:10 on branch trunk — Add file. (user: js, size: 4052) [annotate] [blame] [check-ins using]
To Artifact [6d77e77ea7]:
- File
src/file.c
— part of check-in
[17c1d8f6b0]
at
2012-09-29 22:34:49
on branch trunk
— Add tcpsocket.
TODO:
* check for getaddrinfo() in configure
* fallback if getaddrinfo() is unavailable (user: js, size: 4039) [annotate] [blame] [check-ins using]
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | - | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ |
︙ | |||
125 126 127 128 129 130 131 | 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | - + | file_close(void *ptr) { CFWFile *file = ptr; close(file->fd); } |
︙ |