Displaying 20 results from an estimated 200 matches similar to: "fix for broken largefile seek() on 32-bit linux (PR#9883)"
2005 May 19
1
problems with truncate() with files > 2Gb under Windows (possibly (PR#7879)
This message relates to handling files > 2Gb under Windows. (I use 2Gb
as shorthand for 2^31-1 -- the largest integer representable in a signed
32 bit integer.)
First issue: truncate() is not able to successfully truncate files at a
position > 2Gb. This appears to be due to the use of the Windows
function chsize() in file_truncate() in main/connections.c (chsize()
takes a long int
2005 May 19
0
problems with truncate() with files > 2Gb under Windows (PR#7880)
__USE_LARGEFILE is a standard Unix way to allow > 2Gb files on 32-bit
OSes by using f{seek,tell}o Take a look at the definition of f_tell:
#if defined(HAVE_OFF_T) && defined(__USE_LARGEFILE)
#define f_seek fseeko
#define f_tell ftello
#else
#ifdef Win32
#define f_seek fseeko64
#define f_tell ftello64
#else
#define f_seek fseek
#define f_tell ftell
#endif
#endif
Windows support for
2005 May 28
1
(PR#7899) seek(con, 0, "end", rw="r") does not always work
Tony Plate wrote:
> ligges@statistik.uni-dortmund.de wrote:
>
>> tplate@blackmesacapital.com wrote:
>>
>>
>>> I've noticed that seek(con, 0, "end", rw="r") on a file connection
>>> does not always work correctly after a write (R 2.1.0 on Windows).
>>>
>>> [Is a call to fflush() needed inside file_seek() in
2005 Feb 08
0
Compiling R as a shared library
Hi,
I am trying to compile R as a shared library (need to run RMAGEML,
which depends on SJava) on 64bit SUSE Linux 9.1 . I am using the
source code for R 2.0.1 (Nov 15 04)
> ./configure R_PAPERSIZE=LETTER R_BROWSER=/opt/kde3/share/applications/kde/konqbrowser.desktop --enable-R-shlib
results in several errors (selected errors below), and make check also
yields errors (at bottom) The errors
2005 May 27
0
seek(con, 0, "end", rw="r") does not always work correctly (PR#7901)
ligges@statistik.uni-dortmund.de wrote:
> tplate@blackmesacapital.com wrote:
>
>
>>I've noticed that seek(con, 0, "end", rw="r") on a file connection does
>>not always work correctly after a write (R 2.1.0 on Windows).
>>
>>[Is a call to fflush() needed inside file_seek() in main/connections.c?]
>
>
>
> If you have an idea
2012 Sep 19
1
[PATCH 1/1] lua: Enabling io.read() in Lua.c32 with some restrictions
From: Hung-chi Lihn <hlihn at google.com>
The current Lua.c32 does not enable io.read() due to some missing library
functions. However, this strongly limits the Lua script from getting user
inputs and reading files (even in pxelinux via TFTP).
This patch enables io.read() in Lua.c32 with some restrictions:
1. the io.read("*line") is fully supported.
2. the
2005 Apr 19
0
R 2.0.1 install problem on Solaris 9
Sorry about the earlier confusion. I'll start fresh here.
I'm getting these error messages when I run "make".
begin installing recommended package foreign
make[2]: *** [foreign.ts] Error 1
make[2]: Leaving directory
`/opt/net/source/R-2.0.1/src/library/Recommended'
make[1]: *** [recommended-packages] Error 2
make[1]: Leaving directory
2013 Mar 10
0
flac 1.3.0pre2 pre-release
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09.03.2013 15:37, Erik de Castro Lopo wrote:
> Hi all,
>
> Second and hopefully final pre-release is here:
>
> http://downloads.xiph.org/releases/flac/beta/
>
src/libFLAC/metadata_iterators.c:442:4: warning: implicit declaration
of function 'ftello' [-Wimplicit-function-declaration]
Same with ftello, it's all over
2013 Mar 09
9
flac 1.3.0pre2 pre-release
Hi all,
Second and hopefully final pre-release is here:
http://downloads.xiph.org/releases/flac/beta/
I have personally tested this code on:
x86-linux
x86_64-linux
powerpc-linux
armhf-linux
i386-freebsd9.1
i386-openbsd5.2
I also cross-compiled from Linux to 32 bit Windows and the compile ran to
completion (the test suite requires a bunch of hacking before it can
2013 Mar 14
2
flac 1.3.0pre2 pre-release
Janne Hyv?rinen wrote:
> The patch was made from the published pre2 version. It missed the MinGW
> changes that were applied to git version.
Patch applied. Thanks.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
2012 Mar 31
2
Libvirt source code cannot built with libnettle.
Hello All,
I try to build dependency library name is gnutls which require by libvirt,
but show error us below.
$./configure
checking for shared library run path origin... done
checking whether to use nettle... yes
checking for libnettle... no
configure: error:
***
*** Libnettle 2.4 was not found.
I specify macros are
LD_LIBRARY_PATH=$LD_LIBRARY_PATH/path_of_nettle_2.4/lib and
2014 Jun 16
2
Include directories
Erik de Castro Lopo wrote:
> lvqcl wrote:
>
> > Some projects/makefiles add both 'include' and 'include/share'
> > to the list of additional include directories.
>
> I think that is suboptimal.
>
> > For example, src/share/utf8/utf8.c includes 'include/share/alloc.h'
> > as "share/alloc.h" but
2014 Jun 16
1
Include directories
On Mon, Jun 16, 2014 at 4:10 AM, lvqcl <lvqcl.mail at gmail.com> wrote:
> Erik de Castro Lopo wrote:
>
>> Ok, done for the autotool build system. Would appreciate it if someone
>> could look that the VS build files.
>
>
> I'll do it, but: I cannot build 32-bit flac with MinGW:
>
> <------------------------------------------------------------->
>
2006 Oct 31
0
6366222 zdb(1M) needs to use largefile primitives when reading label
Author: eschrock
Repository: /hg/zfs-crypto/gate
Revision: e5f70a6fc5010aa205f244a25a9cdb950e0dae89
Log message:
6366222 zdb(1M) needs to use largefile primitives when reading label
6366267 zfs broke non-BUILD64 compilation of libsec
Files:
update: usr/src/cmd/zdb/zdb.c
update: usr/src/lib/libsec/Makefile
2006 Oct 31
0
4775289 fsck reports wrong state in superblock if there once has existed a largefile
Author: jkennedy
Repository: /hg/zfs-crypto/gate
Revision: 931f9f0e5d2fb0b5da5bc6c0f77c10e668f842cf
Log message:
4775289 fsck reports wrong state in superblock if there once has existed a largefile
6302747 Performance regression when deleting large files from a logging ufs filesystem
6362734 df output corrupt after under heavy stress
Files:
update: usr/src/cmd/fs.d/ufs/fsck/utilities.c
update:
2009 Mar 19
1
largefile question
Hello,
currently we're using version 1.0.13 with 32bit file offsets.
Is it safe to switch to a new version with largefile support
enabled ?
We want to reuse existing index/cache or do we have to
expect errors with that ?
Regards.
Martin
---------------------------------------------------------------
Martin Preen, Universit?t Freiburg, Institut f?r Informatik
Georges-Koehler-Allee 52, Raum
2013 May 04
5
Bug fix and compatibility patches for 1.3.0pre4
Hi all,
I tried 1.3.0pre4 with ICL on Windows and found some issues. Not sure if
this is the right place to submit patches, but someone suggested this on
the apparently dead SourceForge patch tracker.
The first two are quite straight forward:
- The ICL patch fixes a typo in bitmath.h and adds
FLAC__bitwriter_write_zeroes to the external declarations in bitwriter.c.
- The Ogg patch replaces
2001 May 21
1
2.9p1 patches
1. Add support for files >2GB via Paul Eggert's AC_SYS_LARGEFILE
macro. This macro is now part of autoconf 2.50. Because of this,
"config.h" needs to be included before system headers to get
the appropriate defines for LFS support.
openbsd-compat/sigact.c
configure.in
acinclude.m4
2. AIX defines TILDE in <sys/ioctl.h>. Rename to TILDE_CHAR. Feel
2019 Oct 29
0
auth logging or auditing
Good morning!
I compiled samba 4.10.8 from source in a slackware 14.2 machine and imported a samba classic domain from an ldap backend. Everything works flawlessly except for a couple of user who are getting their accounts locked out periodically. I'm trying to debug this problem so I modified the smb.conf file of the DC so that it looks like this
# Global parameters
[global]
??????? dns
2001 Jun 27
0
(PR#996) Double inclusion of "int R_OutputCon" from
[Header changed to help the R-bugs system]
On Wed, 27 Jun 2001 thoffman@zappa.sax.de wrote:
> I got a double defined symbol when linking src/modules/internet.dll
> because
> internet.c and sockconn.c include Rconnections.h (... and do not even
> need
> R_OutputCon).
Um, that's definitely not in the code in the system you quote below.
> One should possibly remove such a