X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f From: Message-Id: <200501071707.j07H70Yc016654@speedy.ludd.ltu.se> Subject: Re: djgpp: djgpp/include/string.h In-Reply-To: <200501071640.j07GefTK021306@delorie.com> "from cvs-ams@delorie.com at Jan 7, 2005 11:40:41 am" To: DJGPP-WORKERS Date: Fri, 7 Jan 2005 18:07:00 +0100 (CET) X-Mailer: ELM [version 2.4ME+ PL78 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-ltu-MailScanner-Information: Please contact the ISP for more information X-ltu-MailScanner: Found to be clean X-MailScanner-From: ams AT ludd DOT ltu DOT se Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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