Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
KWSys
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rolf Eike Beer
KWSys
Commits
592073fd
Commit
592073fd
authored
15 years ago
by
Bill Hoffman
Browse files
Options
Downloads
Patches
Plain Diff
ENH: first pass at VS 10, can bootstrap CMake, but many tests still fail
parent
14c14f3d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ProcessWin32.c
+5
-5
5 additions, 5 deletions
ProcessWin32.c
kwsysDateStamp.cmake
+1
-1
1 addition, 1 deletion
kwsysDateStamp.cmake
with
6 additions
and
6 deletions
ProcessWin32.c
+
5
−
5
View file @
592073fd
...
...
@@ -806,7 +806,7 @@ int kwsysProcess_SetPipeFile(kwsysProcess* cp, int pipe, const char* file)
}
if
(
file
)
{
*
pfile
=
malloc
(
strlen
(
file
)
+
1
);
*
pfile
=
(
char
*
)
malloc
(
strlen
(
file
)
+
1
);
if
(
!*
pfile
)
{
return
0
;
...
...
@@ -1666,7 +1666,7 @@ int kwsysProcessInitialize(kwsysProcess* cp)
cp
->
RealWorkingDirectoryLength
=
GetCurrentDirectory
(
0
,
0
);
if
(
cp
->
RealWorkingDirectoryLength
>
0
)
{
cp
->
RealWorkingDirectory
=
malloc
(
cp
->
RealWorkingDirectoryLength
);
cp
->
RealWorkingDirectory
=
(
char
*
)
malloc
(
cp
->
RealWorkingDirectoryLength
);
if
(
!
cp
->
RealWorkingDirectory
)
{
return
0
;
...
...
@@ -1834,7 +1834,7 @@ int kwsysProcessCreate(kwsysProcess* cp, int index,
/* The forwarding executable is given a handle to the error pipe
and resume and kill events. */
realCommand
=
malloc
(
strlen
(
cp
->
Win9x
)
+
strlen
(
cp
->
Commands
[
index
])
+
100
);
realCommand
=
(
char
*
)
malloc
(
strlen
(
cp
->
Win9x
)
+
strlen
(
cp
->
Commands
[
index
])
+
100
);
if
(
!
realCommand
)
{
return
0
;
...
...
@@ -2672,7 +2672,7 @@ static int kwsysProcess_List__New_NT4(kwsysProcess_List* self)
loaded in this program. This does not actually increment the
reference count to the module so we do not need to close the
handle. */
H
AND
LE
hNT
=
GetModuleHandle
(
"ntdll.dll"
);
H
MODU
LE
hNT
=
GetModuleHandle
(
"ntdll.dll"
);
if
(
hNT
)
{
/* Get pointers to the needed API functions. */
...
...
@@ -2776,7 +2776,7 @@ static int kwsysProcess_List__New_Snapshot(kwsysProcess_List* self)
loaded in this program. This does not actually increment the
reference count to the module so we do not need to close the
handle. */
H
AND
LE
hKernel
=
GetModuleHandle
(
"kernel32.dll"
);
H
MODU
LE
hKernel
=
GetModuleHandle
(
"kernel32.dll"
);
if
(
hKernel
)
{
self
->
P_CreateToolhelp32Snapshot
=
...
...
This diff is collapsed.
Click to expand it.
kwsysDateStamp.cmake
+
1
−
1
View file @
592073fd
...
...
@@ -7,4 +7,4 @@ SET(KWSYS_DATE_STAMP_YEAR 2009)
SET
(
KWSYS_DATE_STAMP_MONTH 06
)
# KWSys version date day component. Format is DD.
SET
(
KWSYS_DATE_STAMP_DAY 2
2
)
SET
(
KWSYS_DATE_STAMP_DAY 2
5
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment