Ticket #13552: patch-libguile-fports.c

File patch-libguile-fports.c, 437 bytes (added by mdickens@…, 17 years ago)

Patch for libguile/fports.c that should work with 10.5 as well as 10.4

Line 
1--- libguile/fports.c~  2007-05-09 16:22:03.000000000 -0400
2+++ libguile/fports.c   2007-12-17 20:09:21.000000000 -0500
3@@ -674,7 +674,7 @@
4 static off_t
5 fport_seek (SCM port, off_t offset, int whence)
6 {
7-  off64_t rv = fport_seek_or_seek64 (port, (off64_t) offset, whence);
8+  off_t_or_off64_t rv = fport_seek_or_seek64 (port, (off_t_or_off64_t) offset, whence);
9   if (rv > OFF_T_MAX || rv < OFF_T_MIN)
10     {
11       errno = EOVERFLOW;