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
Artur Ryt
KWSys
Commits
4801f618
Commit
4801f618
authored
16 years ago
by
Mathieu Malaterre
Browse files
Options
Downloads
Patches
Plain Diff
ENH: trying to reproduce issue on sunos
parent
2c69bf69
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
kwsysDateStamp.cmake
+2
-2
2 additions, 2 deletions
kwsysDateStamp.cmake
testIOS.cxx
+10
-0
10 additions, 0 deletions
testIOS.cxx
with
12 additions
and
2 deletions
kwsysDateStamp.cmake
+
2
−
2
View file @
4801f618
...
...
@@ -4,7 +4,7 @@
SET
(
KWSYS_DATE_STAMP_YEAR 2009
)
# KWSys version date month component. Format is MM.
SET
(
KWSYS_DATE_STAMP_MONTH 0
3
)
SET
(
KWSYS_DATE_STAMP_MONTH 0
4
)
# KWSys version date day component. Format is DD.
SET
(
KWSYS_DATE_STAMP_DAY
3
0
)
SET
(
KWSYS_DATE_STAMP_DAY 0
2
)
This diff is collapsed.
Click to expand it.
testIOS.cxx
+
10
−
0
View file @
4801f618
...
...
@@ -34,6 +34,16 @@ int testIOS(int, char*[])
kwsys_ios
::
cerr
<<
"failed to write hello to ostr2"
<<
kwsys_ios
::
endl
;
return
1
;
}
static
const
unsigned
char
array
[]
=
{
0xff
,
0x4f
,
0xff
,
0x51
,
0x00
,
0x29
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x30
,
0x00
,
0x00
,
0x00
,
0x3e
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x30
,
0x00
,
0x00
,
0x00
,
0x3e
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x01
,
0x07
,
0x01
,
0x01
,
0xff
,
0x52
,
0x00
,
0x0c
,
0x00
,
0x00
,
0x00
,
0x01
,
0x00
,
0x05
,
0x04
,
0x04
,
0x00
,
0x01
,
0xff
,
0x5c
,
0x00
,
0x13
,
0x40
,
0x40
,
0x48
,
0x48
,
0x50
,
0x48
,
0x48
,
0x50
,
0x48
,
0x48
,
0x50
,
0x48
,
0x48
,
0x50
,
0x48
,
0x48
,
0x50
,
0xff
,
0x64
,
0x00
,
0x2c
,
0x00
,
0x00
,
0x43
,
0x72
,
0x65
,
0x61
,
0x74
,
0x65
,
0x64
,
0x20
,
0x62
,
0x79
,
0x20
,
0x49
,
0x54
,
0x4b
,
0x2f
,
0x47
,
0x44
,
0x43
,
0x4d
,
0x2f
,
0x4f
,
0x70
,
0x65
,
0x6e
,
0x4a
,
0x50
,
0x45
,
0x47
,
0x20
,
0x76
,
0x65
,
0x72
,
0x73
,
0x69
,
0x6f
,
0x6e
,
0x20
,
0x31
,
0x2e
,
0x30
,
0xff
,
0x90
,
0x00
,
0x0a
,
0x00
,
0x00
,
0x00
,
0x00
,
0x06
,
0x2c
,
0x00
,
0x01
,
0xff
,
0x93
,
0xcf
,
0xb0
,
0x18
,
0x08
,
0x7f
,
0xc6
,
0x99
,
0xbf
,
0xff
,
0xc0
,
0xf8
,
0xc1
,
0xc1
,
0xf3
,
0x05
,
0x81
,
0xf2
,
0x83
,
0x0a
,
0xa5
,
0xff
,
0x10
,
0x90
,
0xbf
,
0x2f
,
0xff
,
0x04
,
0xa8
,
0x7f
,
0xc0
,
0xf8
,
0xc4
,
0xc1
,
0xf3
,
0x09
,
0x81
,
0xf3
,
0x0c
,
0x19
,
0x34
};
const
unsigned
int
narray
=
sizeof
(
array
);
// 180
kwsys_ios
::
stringstream
strstr
;
strstr
.
write
(
(
char
*
)
array
,
narray
);
if
(
strstr
.
str
().
size
()
!=
narray
)
{
kwsys_ios
::
cerr
<<
"failed to write array to strstr"
<<
kwsys_ios
::
endl
;
return
1
;
}
kwsys_ios
::
istringstream
istr
(
" 10 20 str "
);
kwsys_stl
::
string
s
;
int
x
;
...
...
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