Displaying 10 results from an estimated 10 matches for "sourceline".
2008 Apr 25
2
Bug in R 2.7 for over long lines (crasher+proposed fix!) (PR#11281)
...t the code again there seems to be another bug above this for
the MAXLINESIZE test too:
if (*p =3D=3D '\n' || p =3D=3D end - 1) {
nc =3D p - p0;
if (*p !=3D '\n')
nc++;
if (nc <=3D MAXLINESIZE) {
strncpy((char *)SourceLine, (char *)p0, nc);
bug2 --> SourceLine[nc] =3D '\0';
SET_STRING_ELT(source, lines++,
mkChar2((char *)SourceLine));
} else { /* over-long line */
char *LongLine =3D (char *) malloc(nc+1);
if(!LongLine)...
2008 Apr 25
1
Bug in R 2.7 for over long lines
While trying to fix swig & R2.7 I actually discovered that there is a
bug in R 2.7 causing a crash (so R & swig might actually work):
the bug is in ./src/main/gram.c line 3038:
} else { /* over-long line */
fixthis --> char *LongLine = (char *) malloc(nc);
if(!LongLine)
error(_("unable to allocate space for source line %d"),
2006 Sep 20
2
Defining function in template files?
...b")
}
}
class apt-stable {
package { "apt" : ensure => present }
apt-sources-list {
the_stability => 1,
the_freeness => 3
}
}
#--------------------------
And this sources.list.erb template file:
#---------- sources.list.erb ----------------
<%=
def sourcelines(stability=1,freeness=1,url="http://mirror.phy.bnl.gov/debian/")
dists = ["sarge","etch","sid","experimental"]
frees = ["main","contrib","non-free"]
ret = ""
for d in 0...stability
ret = ret + &quo...
2008 May 10
0
Bug in R 2.7 for over long lines (crasher+proposed fix!) (PR#11438)
...LINESIZE test too:
> >
> > if (*p =3D=3D '\n' || p =3D=3D end - 1) {
> > nc =3D p - p0;
> > if (*p !=3D '\n')
> > nc++;
> > if (nc <=3D MAXLINESIZE) {
> > strncpy((char *)SourceLine, (char *)p0, nc);
> > bug2 --> SourceLine[nc] =3D '\0';
> > SET_STRING_ELT(source, lines++,
> > mkChar2((char *)SourceLine));
> > } else { /* over-long line */
> > char *LongLine =3D (char *) mall...
2008 Apr 26
0
Bug in R 2.7 for over long lines (crasher+proposed fix!) (PR#11284)
...this for
> the MAXLINESIZE test too:
>
> if (*p =3D3D=3D3D '\n' || p =3D3D=3D3D end - 1) {
> nc =3D3D p - p0;
> if (*p !=3D3D '\n')
> nc++;
> if (nc <=3D3D MAXLINESIZE) {
> strncpy((char *)SourceLine, (char *)p0, nc);
> bug2 --> SourceLine[nc] =3D3D '\0';
> SET_STRING_ELT(source, lines++,
> mkChar2((char *)SourceLine));
> } else { /* over-long line */
> char *LongLine =3D3D (char *) malloc(nc+1);
>...
2008 May 10
1
(PR#11281) Bug in R 2.7 for over long lines (crasher+proposed
...t;>>
>>> if (*p =3D=3D '\n' || p =3D=3D end - 1) {
>>> nc =3D p - p0;
>>> if (*p !=3D '\n')
>>> nc++;
>>> if (nc <=3D MAXLINESIZE) {
>>> strncpy((char *)SourceLine, (char *)p0, nc);
>>> bug2 --> SourceLine[nc] =3D '\0';
>>> SET_STRING_ELT(source, lines++,
>>> mkChar2((char *)SourceLine));
>>> } else { /* over-long line */
>>> char *LongLine =3...
1999 Nov 23
1
compile error for mkString on alpha (PR#332)
...#if 0
------------^
cc: Warning: ../../../R/src/main/gram.y, line 1628: # not in column 1 is
ignored, skipping to end of line. (ignoretokens)
#endif
------------^
cc: Warning: ../../../R/src/main/gram.y, line 644: In this statement, the
referenced type of the pointer value "SourceLine" is "unsigned char", which is
not compatible
with "const signed char". (ptrmismatch)
STRING(source)[lines++] = mkChar(SourceLine);
------------------------------------------------------^
cc: Warning: ../../../R/src/main/gram.y, line 1144: In this state...
2009 Jul 21
3
[LLVMdev] boost shared pointer & llvm
hi,
when using the execution engine (no matter, if JIT or Interpreter) i get the
following assertion as soon as i use boost::shared_ptr:
/build/buildd/llvm-2.5/lib/Target/X86/X86CodeEmitter.cpp:522:
void<unnamed>::Emitter::emitInstruction(const llvm::MachineInstr&, const
llvm::TargetInstrDesc*): Assertion `0 && "JIT does not support inline asm!\n"'
failed.
2013 Oct 07
17
Sync data between various PuppetDB instances
Dear all,
We have a few reasons to have various PuppetDBs (and Masters, one per
cluster) in our datacenter and, eventually, there may be a need to share
*only* a few exported resources between clusters, like a few ssh-keys or
nagios tests.
Is there a mechanism to pull and push some exported resources from one
PuppetDB to another? I guess this could be done with the API, but has
anybody tried it,
2013 Jan 14
18
Puppetdb will setting gc-interval to 0 disable it
I have multiple puppetdb severs pointed at the same database.
Would setting gc-interval to 0 disable it on the extra puppetdb nodes?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/4DEyx0IXbLsJ.
To post to this group, send email to