Commit 8c0905ac authored by Eli Zaretskii's avatar Eli Zaretskii

MS-Windows followup for 2013-02-11T23:37:18Z!eggert@cs.ucla.edu.

 lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/memrchr.$(O).
 ($(BLD)/memrchr.$(O)): New dependency.

 nt/inc/ms-w32.h: Add prototype for memrchr.
parent 71b84316
2013-02-12 Eli Zaretskii <eliz@gnu.org>
* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/memrchr.$(O).
($(BLD)/memrchr.$(O)): New dependency.
2013-02-11 Paul Eggert <eggert@cs.ucla.edu> 2013-02-11 Paul Eggert <eggert@cs.ucla.edu>
Tune by using memchr and memrchr. Tune by using memchr and memrchr.
......
...@@ -34,6 +34,7 @@ GNULIBOBJS = $(BLD)/c-ctype.$(O) \ ...@@ -34,6 +34,7 @@ GNULIBOBJS = $(BLD)/c-ctype.$(O) \
$(BLD)/getopt.$(O) \ $(BLD)/getopt.$(O) \
$(BLD)/getopt1.$(O) \ $(BLD)/getopt1.$(O) \
$(BLD)/gettime.$(O) \ $(BLD)/gettime.$(O) \
$(BLD)/memrchr.$(O) \
$(BLD)/strftime.$(O) \ $(BLD)/strftime.$(O) \
$(BLD)/time_r.$(O) \ $(BLD)/time_r.$(O) \
$(BLD)/timespec-add.$(O) \ $(BLD)/timespec-add.$(O) \
...@@ -201,6 +202,10 @@ $(BLD)/md5.$(O) : \ ...@@ -201,6 +202,10 @@ $(BLD)/md5.$(O) : \
$(CONFIG_H) \ $(CONFIG_H) \
$(MD5_H) $(MD5_H)
$(BLD)/memrchr.$(O) : \
$(GNU_LIB)/memrchr.c \
$(CONFIG_H)
$(BLD)/sha1.$(O) : \ $(BLD)/sha1.$(O) : \
$(GNU_LIB)/sha1.c \ $(GNU_LIB)/sha1.c \
$(NT_INC)/stdalign.h \ $(NT_INC)/stdalign.h \
......
2013-02-12 Eli Zaretskii <eliz@gnu.org>
* inc/ms-w32.h: Add prototype for memrchr.
2013-02-01 Paul Eggert <eggert@cs.ucla.edu> 2013-02-01 Paul Eggert <eggert@cs.ucla.edu>
Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539). Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539).
......
...@@ -394,6 +394,9 @@ extern int sys_putenv (char *); ...@@ -394,6 +394,9 @@ extern int sys_putenv (char *);
extern int getloadavg (double *, int); extern int getloadavg (double *, int);
extern int getpagesize (void); extern int getpagesize (void);
extern void * memrchr (void const *, int, size_t);
#if defined (__MINGW32__) #if defined (__MINGW32__)
/* Define to 1 if the system has the type `long long int'. */ /* Define to 1 if the system has the type `long long int'. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment