search for: setbuf

Displaying 20 results from an estimated 20 matches for "setbuf".

Did you mean: setvbuf
2015 Aug 11
3
libfuzzer questions
First off, thanks -- this is a pretty great library and it feels like I'm learning a lot. I'm getting some more experience with libfuzzer and finding that I have a couple of questions: - How does libfuzzer decide to write a new test file? What distinguishes this one from all the other cases for which new test inputs were not written? Must be something about the path taken through the
2015 Aug 11
3
libfuzzer questions
...unsigned long) () from /home/brian/tmp/testing/testing_install//lib/libc++.so.1 #12 0x00007f76e14dfd05 in operator new[](unsigned long) () from /home/brian/tmp/testing/testing_install//lib/libc++.so.1 #13 0x000000000054bd70 in std::__1::basic_filebuf<char, std::__1::char_traits<char> >::setbuf (this=0x7fffd956b268, __s=0x0, __n=4096) #14 0x00000000005562be in std::__1::basic_filebuf<char, std::__1::char_traits<char> >::basic_filebuf (this=0x7fffd956b268) #15 0x00000000005409e5 in basic_ofstream (this=0x7fffd956b260, __s=..., __mode=16) at /home/brian/tmp/testing/testing_insta...
2006 May 10
1
Floating Point Exception
I have a Fedora Core server running: Fedora Core release 4 (Stentz) kernel version: 2.6.15-1.1833_FC4smp ( I have also tried kernel version: 2.6.16-1.2108_FC4smp) I compiled the ocfs2 and ocfs2-tools using the following steps: # MODULES: tar zxvpf ocfs2-1.2.1.tar.gz cd ocfs2-1.2.1 ./configure make make install # TOOLS: tar zxf ocfs2-tools-1.2.1.tar.gz cd ocfs2-tools-1.2.1 ./configure
2010 Nov 20
1
[PATCH 1/2] cat cleanup ugly ifdefery
...oid)setlocale(LC_ALL, ""); -#endif - while ((ch = getopt(argc, argv, "beflnstuv")) != -1) switch (ch) { case 'b': @@ -117,9 +99,7 @@ int main(int argc, char *argv[]) tflag = vflag = 1; /* -t implies -v */ break; case 'u': -#ifndef __KLIBC__ - setbuf(stdout, NULL); -#endif + /* unimplemented */ break; case 'v': vflag = 1; -- 1.7.2.3
2014 Oct 31
0
[PATCH 2/3] fish: basic tests for readline escaping
...cape", .fn = test_multiword_unescape, .expect = 1}, + { .name = "test nonprinting unescape", .fn = test_nonprinting_unescape, .expect = 1}, +}; + +size_t nr_tests = sizeof(tests) / sizeof(*tests); + +int +main (int argc, char *argv[]) +{ + int nr_failed = 0; // failed test count + setbuf(stdout, NULL); + + for (int i = 0; i < nr_tests; i++) { + fprintf(stdout, "%s: ", tests[i].name); + int r = tests[i].fn() == tests[i].expect; + fprintf(stdout, "%s\n", r ? "PASS" : "FAIL"); + nr_failed += !r; + } + + if (nr_failed > 0) {...
2013 May 01
1
[PATCH] tests/c-api: Allow the C API tests to run in parallel.
I'm not going to put this upstream because there's no benefit. However it is useful to record the patch on the mailing list. Rich.
2020 Sep 11
0
Wine release 5.17
...the new format is incompatible with the connection media type in AMDirectDrawStream::SetFormat. amstream: Use current format to create surface in AMDirectDrawStream::CreateSample. Arkadiusz Hiler (7): msvcirt: Implement most of ifstream. msvcirt: Correct the behavior of filebuf::setbuf(). msvcirt: Implement ifstream::setbuf(). msvcirt: Be more obvious in out-of-memory situations. msvcirt: Implement _mtlock() and _mtunlock(). msvcirt: Include iostream in strstream's and stdiostream's rtti hierarchy. msvcirt: Implement a part of fstream. Biswa...
2014 Oct 31
6
[PATCH 0/3] WIP readline escaping functions
From: Maros Zatko <hacxman@gmail.com> Auxiliary functions for readline to support space character escaping in filenames in future. Escaping function is taken from fish.c (used to be parse_quoted_string) plus its un-escaping counterpart. There are a few tests for both. Maros Zatko (3): fish: rl.{c,h} - escaping functions for readline fish: basic tests for readline escaping autotools:
2015 Dec 18
1
Assistance much appreciated
...onst char *restrict, const char *restrict); - extern FILE * freopen64(const char *restrict, const char *restrict, FILE *restrict); + extern FILE * fopen(const char *restrict, const char *restrict); + extern FILE * freopen(const char *restrict, const char *restrict, FILE *restrict); extern void setbuf(FILE *restrict, char *restrict); extern int setvbuf(FILE *restrict, char *restrict, int, size_t); extern int fprintf(FILE *restrict, const char *restrict, ...); @@ -2816,9 +2809,9 @@ extern char *gets(char *); extern int puts(const char *); extern int ungetc(int, FILE *); - extern in...
2015 Dec 17
3
Assistance much appreciated
On 2015-12-17 19:30, peter dalgaard wrote: > Presumably the file in question is one of > > Peter-Dalgaards-MacBook-Air:BUILD pd$ grep -r "^Package: tools" * > library/tools/DESCRIPTION:Package: tools > src/library/tools/DESCRIPTION:Package: tools > > so the first thing I'd do is to have a good look at those files and see if they got somehow corrupted. > >
2015 Aug 21
0
Wine release 1.7.50
...etFontFileInfo may fail with error ERROR_NOACCESS. Indrek Altpere (1): mshtml: Handle nsIDOMWindow_GetFrames returning NULL. Iv?n Matellanes (7): msvcirt: Allocate a buffer if necessary when a file is opened. msvcirt: Implement filebuf::setmode. msvcirt: Implement filebuf::setbuf. msvcirt: Implement filebuf::sync. msvcirt: Implement filebuf::overflow. msvcirt: Implement filebuf::underflow. msvcirt: Implement filebuf::seekoff. Jacek Caban (15): mshtml: Wine Gecko 2.40 release. widl: Allow [version] attribute to be used on structs in winrt...
1997 Apr 29
9
Yet Another DIP Exploit?
I seem to have stumbled across another vulnerability in DIP. It appears to allow any user to gain control of arbitrary devices in /dev. For instance, I have successfully stolen keystrokes from a root login as follows... (I could also dump characters to the root console) $ whoami cesaro $ cat < /dev/tty1 <------ root login here bash: /dev/tty1: Permission denied
2010 Oct 25
7
[PATCH 0/6] Ocfs2-tools: Add a new tool 'o2info'.
Now it's a good time to introduce the new tool 'o2info' since kernel part of OCFS2_IOC_INFO ioctl has been pulld upstream by linus. The following 6 patches have already got sunil's SOBs, and now they're trying to attract more reviewers before it goes to central repo with a modification of getting manual pages being introduced.
2015 Oct 02
0
Wine release 1.7.52
...10): msvcirt: Add stub of class strstreambuf. msvcirt: Implement strstreambuf constructors and destructor. msvcirt: Implement strstreambuf::freeze. msvcirt: Implement strstreambuf::str. msvcirt: Implement strstreambuf::doallocate. msvcirt: Implement strstreambuf::setbuf. msvcirt: Implement strstreambuf::sync. msvcirt: Implement strstreambuf::underflow. msvcirt: Implement strstreambuf::overflow. msvcirt: Implement strstreambuf::seekoff. Jacek Caban (5): oleaut32: Clean up IPSFactoryBuffer instance. usp10: Added test of ScriptStr...
2004 Aug 26
6
chan_capi module
...on of `FILE' /usr/include/stdio.h:243: error: `FILE' previously declared here /usr/include/stdio.h:249: error: syntax error before '*' token /usr/include/stdio.h:299: error: syntax error before '*' token /usr/include/stdio.h:299: error: storage class specified for parameter `setbuf'/usr/include/stdio.h:303: error: syntax error before '*' token /usr/include/stdio.h:304: error: storage class specified for parameter `setvbuf'/usr/include/stdio.h:323: error: syntax error before '*' token /usr/include/stdio.h:324: error: storage class specified for paramete...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com> This series fixes some bugs and switches the elflink branch to be entirely ELF modules. It applies on top of, http://syslinux.zytor.com/archives/2011-April/016369.html The deletions in the diff stat below are mainly from deleting com32/elflink/modules (finally!). Now there should be no duplicate code because we don't need COM32 and
2015 Dec 03
3
Function attributes for LibFunc and its impact on GlobalsAA
----- Original Message ----- > From: "James Molloy via llvm-dev" <llvm-dev at lists.llvm.org> > To: "Vaivaswatha Nagaraj" <vn at compilertree.com> > Cc: "LLVM Dev" <llvm-dev at lists.llvm.org> > Sent: Thursday, December 3, 2015 4:41:46 AM > Subject: Re: [llvm-dev] Function attributes for LibFunc and its impact on GlobalsAA > >
2011 Jun 09
1
NFS problem
Hi, I got the same problem as Juergen, My volume is a simple replicated volume with 2 host and GlusterFS 3.2.0 Volume Name: poolsave Type: Replicate Status: Started Number of Bricks: 2 Transport-type: tcp Bricks: Brick1: ylal2950:/soft/gluster-data Brick2: ylal2960:/soft/gluster-data Options Reconfigured: diagnostics.brick-log-level: DEBUG network.ping-timeout: 20 performance.cache-size: 512MB
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not allocating RBP to any virtual register, the instances of RBP in function foo are in the machine code when my register allocator starts.) Function foo calls function bar. Register RBP is not saved across the call, though it is live after the call. Function bar includes a virtual register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...__restrict __filename, __const char *__restrict __modes); extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream); extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)); extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__)); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,...