Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
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
Kirill Smelkov
mariadb
Commits
1791e108
Commit
1791e108
authored
Jan 24, 2005
by
ram@gw.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stick FN_REFLEN to PATH_MAX.
parent
0bf3ae74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
include/my_global.h
include/my_global.h
+4
-0
No files found.
include/my_global.h
View file @
1791e108
...
...
@@ -530,7 +530,11 @@ typedef SOCKET_SIZE_TYPE size_socket;
#define FN_LEN 256
/* Max file name len */
#define FN_HEADLEN 253
/* Max length of filepart of file name */
#define FN_EXTLEN 20
/* Max length of extension (part of FN_LEN) */
#ifdef PATH_MAX
#define FN_REFLEN PATH_MAX
/* Max length of full path-name */
#else
#define FN_REFLEN 512
/* Max length of full path-name */
#endif
#define FN_EXTCHAR '.'
#define FN_HOMELIB '~'
/* ~/ is used as abbrev for home dir */
#define FN_CURLIB '.'
/* ./ is used as abbrev for current dir */
...
...
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