summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-09-16 07:31:34 +0000
committerJim Meyering <jim@meyering.net>2005-09-16 07:31:34 +0000
commit5d8614cf2fa21329221446d3f843ba50bc92ea17 (patch)
treeeef6e8fd38860e88d043537defa90938e625d0c2 /lib
parent0277ce3913951f49412ffabb09ed7ea1dc44a1a9 (diff)
downloadcoreutils-5d8614cf2fa21329221446d3f843ba50bc92ea17.tar.xz
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 2ed31513a..c292c1bac 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,18 @@
+2005-09-16 Jim Meyering <jim@meyering.net>
+
+ * strftime.c [FPRINTFTIME] (fprintftime): Provide a new interface:
+ size_t fprintftime (FILE *fp, char const *fmt, struct tm const *tm,
+ int utc, int nanoseconds);
+ Background:
+ date should not have to allocate a megabyte of virtual memory to
+ handle a format argument like +%1048575T. When implemented with
+ strftime, it must allocate such a buffer, use strftime to fill it
+ in, print it, then free it.
+
+ With fprintftime, it simply prints everything and exits.
+ With no need for memory allocation, that's one fewer way to fail.
+ * fprintftime.c, fprintftime.h: New files.
+
2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
* strftime.c (my_strftime): Rewrite the previous change slightly,