Skip to content

Commit 76afdc1

Browse files
author
Mihaela Blendea
committed
Merge remote-tracking branch 'refs/remotes/Microsoft/master'
2 parents 473a7ca + ca20da3 commit 76afdc1

File tree

4 files changed

+38
-1
lines changed

4 files changed

+38
-1
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio 15
3+
VisualStudioVersion = 15.0.26403.7
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataGenerator", "DataGenerator\DataGenerator.csproj", "{D871B062-06A7-49E3-8BCD-8465B772FC52}"
6+
EndProject
7+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinFormsClient", "WinFormsClient\WinFormsClient.csproj", "{6C0E1820-A10B-47DA-B806-939CBCD0DD39}"
8+
EndProject
9+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{2D761B8A-EE55-4825-B19D-F3B04860D9D7}"
10+
ProjectSection(SolutionItems) = preProject
11+
App.config = App.config
12+
sample-sql-queries.sql = sample-sql-queries.sql
13+
setup_reset.sql = setup_reset.sql
14+
EndProjectSection
15+
EndProject
16+
Global
17+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
18+
Debug|Any CPU = Debug|Any CPU
19+
Release|Any CPU = Release|Any CPU
20+
EndGlobalSection
21+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
22+
{D871B062-06A7-49E3-8BCD-8465B772FC52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23+
{D871B062-06A7-49E3-8BCD-8465B772FC52}.Debug|Any CPU.Build.0 = Debug|Any CPU
24+
{D871B062-06A7-49E3-8BCD-8465B772FC52}.Release|Any CPU.ActiveCfg = Release|Any CPU
25+
{D871B062-06A7-49E3-8BCD-8465B772FC52}.Release|Any CPU.Build.0 = Release|Any CPU
26+
{6C0E1820-A10B-47DA-B806-939CBCD0DD39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{6C0E1820-A10B-47DA-B806-939CBCD0DD39}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{6C0E1820-A10B-47DA-B806-939CBCD0DD39}.Release|Any CPU.ActiveCfg = Release|Any CPU
29+
{6C0E1820-A10B-47DA-B806-939CBCD0DD39}.Release|Any CPU.Build.0 = Release|Any CPU
30+
EndGlobalSection
31+
GlobalSection(SolutionProperties) = preSolution
32+
HideSolutionNode = FALSE
33+
EndGlobalSection
34+
EndGlobal
1.17 MB
Binary file not shown.
2.13 MB
Binary file not shown.

samples/features/sqlvdi-linux/vdipipesample.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
#include <string>
4646
#include <unistd.h>
4747
#include <uuid/uuid.h>
48+
#include <sys/types.h>
49+
#include <sys/stat.h>
4850

4951
#include "vdi.h" // interface declaration
5052
#include "vdierror.h" // error constants
@@ -131,7 +133,8 @@ int main(int argc, char* argv[])
131133
"Demonstrate a Backup or Restore using the Virtual Device Interface\n");
132134
return 1;
133135
}
134-
136+
137+
umask(0);
135138
vds = new ClientVirtualDeviceSet();
136139

137140
// Setup the VDI configuration we want to use.

0 commit comments

Comments
 (0)