mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 13:20:32 -04:00
automake 1.10 -> 1.10.1 gettext 0.16.1 -> 0.17 libtool 1.5.24 -> 1.5.26 m4 1.4.9 -> 1.4.11 Please see ports/UPDATING entry 20080605 for further information. PR: 123450 Tested by: Full -exp package building run Thanks to: linimon, pav Approved by: portmgr
11 lines
474 B
C
11 lines
474 B
C
--- src/output.c.orig 2007-07-05 03:56:06.000000000 +0000
|
|
+++ src/output.c 2007-12-12 03:48:25.000000000 +0000
|
|
@@ -254,2 +254,8 @@
|
|
"Warning: cannot protect diversion across forks"));
|
|
+ /* POSIX states that it is undefined whether an append stream starts
|
|
+ * at offset 0 or at the end. We want the beginning.
|
|
+ */
|
|
+ else if (fseeko (file, 0, SEEK_SET) != 0)
|
|
+ M4ERROR ((EXIT_FAILURE, errno,
|
|
+ "cannot seek to beginning of diversion"));
|
|
return file;
|