Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
2f04ba94
Commit
2f04ba94
authored
Apr 26, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://jfs.bkbits.net/linux-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
53ef168a
2c58a71f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
fs/jfs/jfs_unicode.c
fs/jfs/jfs_unicode.c
+2
-3
No files found.
fs/jfs/jfs_unicode.c
View file @
2f04ba94
...
@@ -78,7 +78,7 @@ int jfs_strfromUCS_le(char *to, const wchar_t * from, /* LITTLE ENDIAN */
...
@@ -78,7 +78,7 @@ int jfs_strfromUCS_le(char *to, const wchar_t * from, /* LITTLE ENDIAN */
* FUNCTION: Convert character string to unicode string
* FUNCTION: Convert character string to unicode string
*
*
*/
*/
static
int
jfs_strtoUCS
(
wchar_t
*
to
,
const
char
*
from
,
int
len
,
static
int
jfs_strtoUCS
(
wchar_t
*
to
,
const
unsigned
char
*
from
,
int
len
,
struct
nls_table
*
codepage
)
struct
nls_table
*
codepage
)
{
{
int
charlen
;
int
charlen
;
...
@@ -92,8 +92,7 @@ static int jfs_strtoUCS(wchar_t * to, const char *from, int len,
...
@@ -92,8 +92,7 @@ static int jfs_strtoUCS(wchar_t * to, const char *from, int len,
jfs_err
(
"jfs_strtoUCS: char2uni returned %d."
,
jfs_err
(
"jfs_strtoUCS: char2uni returned %d."
,
charlen
);
charlen
);
jfs_err
(
"charset = %s, char = 0x%x"
,
jfs_err
(
"charset = %s, char = 0x%x"
,
codepage
->
charset
,
codepage
->
charset
,
*
from
);
(
unsigned
char
)
*
from
);
return
charlen
;
return
charlen
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment