David Lawrence
77685300d9
cast isc_time_seconds to long when assigning to a timeval.tv_sec, and explain
...
why this is an ok thing to do. shuts up the irix compiler.
2000-05-24 02:36:49 +00:00
David Lawrence
bc12a0c0d0
Ensure proper range of isc_time_seconds() assigning to timeval.tv_sec,
...
and cast isc_time_nanoseconds to shut up the IRIX compiler.
2000-05-18 17:12:14 +00:00
Brian Wellington
a823dfa663
sys/time.h needed for struct timeval
2000-05-16 21:05:03 +00:00
Mark Andrews
5273184ae1
Add isc_file_settime() set access and modification times.
2000-05-16 02:13:08 +00:00
David Lawrence
d8e34837cd
isc_file_{stdiofunc} -> isc_stdio_*
2000-05-11 16:14:05 +00:00
David Lawrence
0c73b546ec
Moved posix_result from file.c to errno2result.[ch], for use by multiple
...
source files. We may want to generalize this as part of the libisc API,
but with a better name.
2000-05-11 15:09:30 +00:00
Andreas Gustafsson
996f4a8bc3
164. [cleanup] Added functions isc_file_fopen(), isc_file_fclose(),
...
isc_file_fseek(), isc_file_fread(), isc_file_fwrite(),
isc_file_fflush(), isc_file_ffsync(), isc_file_remove()
to encapsulate nonportable usage of errno and fflush().
2000-05-09 23:19:32 +00:00
David Lawrence
0c5a46afed
comment about why unistd.h is required
2000-05-08 21:10:35 +00:00
Michael Graff
ab7c671292
add <stdlib.h> for mkstemp on NetBSD
2000-05-08 20:05:27 +00:00
David Lawrence
1a69a1a78c
Megacommit of dozens of files.
...
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
2000-05-08 14:38:29 +00:00
David Lawrence
6b7257f756
include config.h
2000-04-28 02:08:20 +00:00
Bob Halley
364a82f7c2
include isc/util.h
2000-04-28 01:12:23 +00:00
David Lawrence
a890fbefa3
C++ reserves the word "template"; use "templet" as the parameter to
...
isc_file_openunique
2000-04-26 00:45:24 +00:00
David Lawrence
2c34cafc1c
include <isc/time.h>
2000-04-25 22:04:26 +00:00
David Lawrence
8b7304a34c
73. [func] New "file" API in libisc, including new function
...
isc_file_getmodtime, isc_mktemplate renamed to
isc_file_mktemplate and isc_ufile renamed to
isc_file_openunique. By no means an exhaustive API,
it is just what's needed for now.
2000-04-24 21:36:10 +00:00