diff options
author | unknown <SergeyV@selena.> | 2005-09-16 01:56:16 +0400 |
---|---|---|
committer | unknown <SergeyV@selena.> | 2005-09-16 01:56:16 +0400 |
commit | 627bf43d9ff9c4b1b5cde1463cf5d03cf5e92c3d (patch) | |
tree | 0dd45aa9200f62048bab12884a63a483e4f9ef52 /include/my_sys.h | |
parent | d026dd0e4532b51d49cd14cbcba4cb693155f0d0 (diff) | |
download | mariadb-git-627bf43d9ff9c4b1b5cde1463cf5d03cf5e92c3d.tar.gz |
Fixes bug #12929. Uses my_cgets instead of _cgets function, thus eliminating
a restriction to 255 chars for editable buffer.
VC++Files/mysys/mysys.dsp:
Added my_conio.c
VC++Files/mysys/mysys_ia64.dsp:
Added my_conio.c
include/my_sys.h:
Added declarations for my_conio.c functions
mysys/my_conio.c:
Added _cgets() replacement that is not limited to 255 chars retrieval
from win32 console.
Diffstat (limited to 'include/my_sys.h')
-rw-r--r-- | include/my_sys.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index 8752aa30772..ab0efe247ef 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -804,6 +804,9 @@ int my_security_attr_create(SECURITY_ATTRIBUTES **psa, const char **perror, void my_security_attr_free(SECURITY_ATTRIBUTES *sa); +/* implemented in my_conio.c */ +char* my_cgets(char *string, unsigned long clen, unsigned long* plen); + #endif #ifdef __NETWARE__ void netware_reg_user(const char *ip, const char *user, |