Mail Archives: djgpp-workers/2005/01/07/12:07:34
According to cvs-ams AT delorie DOT com:
> Update by cvs id: ams
> Update of /cvs/djgpp/djgpp/include
>
> Modified Files:
> string.h
> Log Message:
> strtok_r() added.
>
> ===================================================================
> RCS file: /cvs/djgpp/djgpp/include/string.h,v
> retrieving revision 1.7
> retrieving revision 1.8
> diff -p -2 -r1.7 -r1.8
> *** djgpp/include/string.h 4 Feb 2003 20:24:20 -0000 1.7
> --- djgpp/include/string.h 7 Jan 2005 16:40:37 -0000 1.8
> *************** __DJ_size_t
> *** 27,50 ****
> void * memchr(const void *_s, int _c, size_t _n);
> int memcmp(const void *_s1, const void *_s2, size_t _n);
> ! void * memcpy(void *_dest, const void *_src, size_t _n);
> void * memmove(void *_s1, const void *_s2, size_t _n);
> void * memset(void *_s, int _c, size_t _n);
> ! char * strcat(char *_s1, const char *_s2);
...
> --- 27,50 ----
> void * memchr(const void *_s, int _c, size_t _n);
> int memcmp(const void *_s1, const void *_s2, size_t _n);
> ! void * memcpy(void * _dest, const void * _src, size_t _n);
> void * memmove(void *_s1, const void *_s2, size_t _n);
> void * memset(void *_s, int _c, size_t _n);
> ! char * strcat(char * _s1, const char * _s2);
Sorry about the extra changed lines. These shouldn't have been
changed, but were because I had to de-restrict the files before
commiting (as __restrict__ hasn't been added yet).
...
> *** 54,57 ****
> --- 54,59 ----
>
> #ifndef __STRICT_ANSI__
> +
> + char * strtok_r(char * _s1, const char * _s2, char ** _s3);
>
> #ifndef _POSIX_SOURCE
>
This should be the only real change.
Right,
MartinS
- Raw text -