October 27, 2017 Learn » Re: Getting a safe path for a temporary file | |||
|---|---|---|---|
| |||
...up with something like char[] name = "/tmp/XXXXXX\0".dup; auto fd = mkstemp(name.ptr... | |||
October 28, 2017 Learn » Re: Getting a safe path for a temporary file | |||
|---|---|---|---|
| |||
...tmp/XXXXXX".toStringz;
gives
<src>(13): Error: cannot implicitly convert expression `toStringz("/tmp/XXXXXX")` of... | |||
October 24, 2017 Learn » Re: Getting a safe path for a temporary file | |||
|---|---|---|---|
| |||
...a static >> array: >> >> char[20] name = "/tmp/XXXXXX"; Literal strings have a '\0' attached, which... | |||
October 23, 2017 Learn » Re: Getting a safe path for a temporary file | |||
|---|---|---|---|
| |||
...static, and verily, substituting: char[] name = "/tmp/XXXXXX".dup; instead gives a proper output *some... | |||
October 22, 2017 Learn » Re: Getting a safe path for a temporary file | |||
|---|---|---|---|
| |||
...this;
}
TempFile tempFileOpen()
{
char[20] name = "/tmp/XXXXXX";
File handle;
import core.sys.posix.stdlib... | |||
July 16, 2017 Learn » Re: Avoid if statements for checking neighboring indexes in a 2D array | |||
|---|---|---|---|
| |||
...componentSize(a.expand)).sum;
}
void main (){
arr=["xxxxxx*",
"xxxx*xx",
"xx**xxx",
"xx**x**",
"xxxxxxx... | |||
June 11, 2017 General » Re: Makefile experts, unite! | |||
|---|---|---|---|
| |||
...T=`mktemp -d /tmp/.dmd-run-test.XXXXXX` &&
\
(
\
$(DMD) -od$$T $(DFLAGS) -main -unittest $(LIB... | |||
August 25, 2016 General » The unittests are failing (individually) | |||
|---|---|---|---|
| |||
...T=`mktemp -d /tmp/.dmd-run-test.XXXXXX` && \ ../dmd/src/dmd -od$T -conf= -I... | |||
May 18, 2016 General » Re: Always false float comparisons | |||
|---|---|---|---|
| |||
...double-double mantissa is lost: |---------extended1---xxxxxx| |---------extended2-----xxxxxx| | v |------double1------| |------double2--------| The middle part... | |||
October 19, 2015 Learn » kxml - parsing AWS API xml respond | |||
|---|---|---|---|
| |||
...ip-xxxxxxx.ec2.internal</privateDnsName>
<dnsName>ec2-xxxxxx.compute-1.amazonaws.com</dnsName>
<reason/>
<keyName... | |||
Copyright © 1999-2021 by the D Language Foundation