diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/etags.c | 8 |
2 files changed, 7 insertions, 6 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 7aa13a45cba..6d50f4fa4fc 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-02-22 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Assume S_ISLNK etc. work, since gnulib supports this. | ||
| 4 | * etags.c (S_ISREG): Remove. | ||
| 5 | |||
| 1 | 2011-02-21 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2011-02-21 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | New file "lib/min-max.h". | 8 | New file "lib/min-max.h". |
diff --git a/lib-src/etags.c b/lib-src/etags.c index 9471c0fe29f..9ca10776259 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -190,10 +190,6 @@ char pot_etags_version[] = "@(#) pot revision number is 17.38.1.4"; | |||
| 190 | # define assert(x) ((void) 0) | 190 | # define assert(x) ((void) 0) |
| 191 | #endif | 191 | #endif |
| 192 | 192 | ||
| 193 | #if !defined (S_ISREG) && defined (S_IFREG) | ||
| 194 | # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) | ||
| 195 | #endif | ||
| 196 | |||
| 197 | #ifdef NO_LONG_OPTIONS /* define this if you don't have GNU getopt */ | 193 | #ifdef NO_LONG_OPTIONS /* define this if you don't have GNU getopt */ |
| 198 | # define NO_LONG_OPTIONS TRUE | 194 | # define NO_LONG_OPTIONS TRUE |
| 199 | # define getopt_long(argc,argv,optstr,lopts,lind) getopt (argc, argv, optstr) | 195 | # define getopt_long(argc,argv,optstr,lopts,lind) getopt (argc, argv, optstr) |
| @@ -5327,7 +5323,7 @@ prolog_skip_comment (linebuffer *plb, FILE *inf) | |||
| 5327 | */ | 5323 | */ |
| 5328 | static int | 5324 | static int |
| 5329 | prolog_pr (char *s, char *last) | 5325 | prolog_pr (char *s, char *last) |
| 5330 | 5326 | ||
| 5331 | /* Name of last clause. */ | 5327 | /* Name of last clause. */ |
| 5332 | { | 5328 | { |
| 5333 | int pos; | 5329 | int pos; |
| @@ -5484,7 +5480,7 @@ Erlang_functions (FILE *inf) | |||
| 5484 | */ | 5480 | */ |
| 5485 | static int | 5481 | static int |
| 5486 | erlang_func (char *s, char *last) | 5482 | erlang_func (char *s, char *last) |
| 5487 | 5483 | ||
| 5488 | /* Name of last clause. */ | 5484 | /* Name of last clause. */ |
| 5489 | { | 5485 | { |
| 5490 | int pos; | 5486 | int pos; |