delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2005/01/07/12:07:34

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
From: <ams AT ludd DOT ltu DOT se>
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 <djgpp-workers AT delorie DOT com>
Date: Fri, 7 Jan 2005 18:07:00 +0100 (CET)
X-Mailer: ELM [version 2.4ME+ PL78 (25)]
MIME-Version: 1.0
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

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019