aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2011-02-25 12:05:36 -0800
committerPaul Eggert2011-02-25 12:05:36 -0800
commit36f13e1667c66073ef18c4ee3394865c3b7c6cbb (patch)
treebe36845ff1a7ffadcfa590589d099fb681d019ba
parent4394ee04741d5fe2fd4cc7a7ee821e1f8a3f2d32 (diff)
downloademacs-36f13e1667c66073ef18c4ee3394865c3b7c6cbb.tar.gz
emacs-36f13e1667c66073ef18c4ee3394865c3b7c6cbb.zip
Simplify symlink portability workaround.
-rw-r--r--ChangeLog6
-rw-r--r--aclocal.m41
-rwxr-xr-xconfigure99
-rw-r--r--lib/Makefile.in20
-rw-r--r--lib/dosname.h53
-rw-r--r--lib/gnulib.mk7
-rw-r--r--lib/stat.c1
-rw-r--r--m4/dos.m471
-rw-r--r--m4/gl-comp.m44
-rw-r--r--m4/stat.m43
-rw-r--r--src/ChangeLog3
-rw-r--r--src/config.in19
12 files changed, 86 insertions, 201 deletions
diff --git a/ChangeLog b/ChangeLog
index d79576e3ecf..8f439f369d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
12011-02-25 Paul Eggert <eggert@cs.ucla.edu> 12011-02-25 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Simplify symlink portability workaround.
4 * m4/dos.m4: Remove.
5 * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, lib/stat.c:
6 * m4/gl-comp.m4, m4/stat.m4, src/config.in: Regenerate from gnulib.
7 * lib/dosname.h: New file, regenerated from gnulib.
8
3 * configure, lib/Makefile.in, lib/getopt_int.h, lib/gnulib.mk: 9 * configure, lib/Makefile.in, lib/getopt_int.h, lib/gnulib.mk:
4 * lib/stdlib.in.h, m4/stdlib_h.m4: Regenerate. 10 * lib/stdlib.in.h, m4/stdlib_h.m4: Regenerate.
5 11
diff --git a/aclocal.m4 b/aclocal.m4
index 7bc72240c80..1536f3b48b5 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -986,7 +986,6 @@ AC_SUBST([am__untar])
986 986
987m4_include([m4/00gnulib.m4]) 987m4_include([m4/00gnulib.m4])
988m4_include([m4/c-strtod.m4]) 988m4_include([m4/c-strtod.m4])
989m4_include([m4/dos.m4])
990m4_include([m4/extensions.m4]) 989m4_include([m4/extensions.m4])
991m4_include([m4/filemode.m4]) 990m4_include([m4/filemode.m4])
992m4_include([m4/getloadavg.m4]) 991m4_include([m4/getloadavg.m4])
diff --git a/configure b/configure
index 675cb56533d..658fac9a358 100755
--- a/configure
+++ b/configure
@@ -6128,6 +6128,7 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
6128 # Code from module arg-nonnull: 6128 # Code from module arg-nonnull:
6129 # Code from module c++defs: 6129 # Code from module c++defs:
6130 # Code from module crypto/md5: 6130 # Code from module crypto/md5:
6131 # Code from module dosname:
6131 # Code from module dtoastr: 6132 # Code from module dtoastr:
6132 # Code from module extensions: 6133 # Code from module extensions:
6133 6134
@@ -14687,102 +14688,6 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14687 14688
14688 14689
14689 14690
14690
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system is Windows or MSDOS" >&5
14692$as_echo_n "checking whether system is Windows or MSDOS... " >&6; }
14693if ${ac_cv_win_or_dos+:} false; then :
14694 $as_echo_n "(cached) " >&6
14695else
14696
14697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14698/* end confdefs.h. */
14699
14700int
14701main ()
14702{
14703
14704#if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __CYGWIN__
14705neither MSDOS nor Windows
14706#endif
14707 ;
14708 return 0;
14709}
14710_ACEOF
14711if ac_fn_c_try_compile "$LINENO"; then :
14712 ac_cv_win_or_dos=yes
14713else
14714 ac_cv_win_or_dos=no
14715fi
14716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14717
14718fi
14719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_win_or_dos" >&5
14720$as_echo "$ac_cv_win_or_dos" >&6; }
14721
14722 if test x"$ac_cv_win_or_dos" = xyes; then
14723 ac_fs_accepts_drive_letter_prefix=1
14724 ac_fs_backslash_is_file_name_separator=1
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether drive letter can start relative path" >&5
14726$as_echo_n "checking whether drive letter can start relative path... " >&6; }
14727if ${ac_cv_drive_letter_can_be_relative+:} false; then :
14728 $as_echo_n "(cached) " >&6
14729else
14730
14731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14732/* end confdefs.h. */
14733
14734int
14735main ()
14736{
14737
14738#if defined __CYGWIN__
14739drive letters are always absolute
14740#endif
14741 ;
14742 return 0;
14743}
14744_ACEOF
14745if ac_fn_c_try_compile "$LINENO"; then :
14746 ac_cv_drive_letter_can_be_relative=yes
14747else
14748 ac_cv_drive_letter_can_be_relative=no
14749fi
14750rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14751
14752fi
14753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_drive_letter_can_be_relative" >&5
14754$as_echo "$ac_cv_drive_letter_can_be_relative" >&6; }
14755 if test x"$ac_cv_drive_letter_can_be_relative" = xyes; then
14756 ac_fs_drive_letter_can_be_relative=1
14757 else
14758 ac_fs_drive_letter_can_be_relative=0
14759 fi
14760 else
14761 ac_fs_accepts_drive_letter_prefix=0
14762 ac_fs_backslash_is_file_name_separator=0
14763 ac_fs_drive_letter_can_be_relative=0
14764 fi
14765
14766
14767cat >>confdefs.h <<_ACEOF
14768#define FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX $ac_fs_accepts_drive_letter_prefix
14769_ACEOF
14770
14771
14772
14773
14774
14775cat >>confdefs.h <<_ACEOF
14776#define FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR $ac_fs_backslash_is_file_name_separator
14777_ACEOF
14778
14779
14780
14781cat >>confdefs.h <<_ACEOF
14782#define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE $ac_fs_drive_letter_can_be_relative
14783_ACEOF
14784
14785
14786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 14691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
14787$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 14692$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
14788if ${ac_cv_header_stdbool_h+:} false; then : 14693if ${ac_cv_header_stdbool_h+:} false; then :
@@ -15347,6 +15252,7 @@ fi
15347 15252
15348 : 15253 :
15349 15254
15255 # Code from module dosname:
15350 # Code from module dtoastr: 15256 # Code from module dtoastr:
15351 15257
15352 # Code from module extensions: 15258 # Code from module extensions:
@@ -16358,7 +16264,6 @@ $as_echo "#define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h
16358 16264
16359 16265
16360 16266
16361
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5 16267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5
16363$as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; } 16268$as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; }
16364if ${gl_cv_func_stat_dir_slash+:} false; then : 16269if ${gl_cv_func_stat_dir_slash+:} false; then :
diff --git a/lib/Makefile.in b/lib/Makefile.in
index e9b9f2eb86e..04ee541a09c 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -50,10 +50,10 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
50subdir = lib 50subdir = lib
51ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 51ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
52am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \ 52am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
53 $(top_srcdir)/m4/c-strtod.m4 $(top_srcdir)/m4/dos.m4 \ 53 $(top_srcdir)/m4/c-strtod.m4 $(top_srcdir)/m4/extensions.m4 \
54 $(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/filemode.m4 \ 54 $(top_srcdir)/m4/filemode.m4 $(top_srcdir)/m4/getloadavg.m4 \
55 $(top_srcdir)/m4/getloadavg.m4 $(top_srcdir)/m4/getopt.m4 \ 55 $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gl-comp.m4 \
56 $(top_srcdir)/m4/gl-comp.m4 $(top_srcdir)/m4/gnulib-common.m4 \ 56 $(top_srcdir)/m4/gnulib-common.m4 \
57 $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \ 57 $(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/longlong.m4 \
58 $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/md5.m4 \ 58 $(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/md5.m4 \
59 $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/multiarch.m4 \ 59 $(top_srcdir)/m4/mktime.m4 $(top_srcdir)/m4/multiarch.m4 \
@@ -604,12 +604,12 @@ BUILT_SOURCES = arg-nonnull.h c++defs.h $(GETOPT_H) $(STDBOOL_H) \
604 $(STDDEF_H) $(STDINT_H) stdlib.h sys/stat.h time.h unistd.h \ 604 $(STDDEF_H) $(STDINT_H) stdlib.h sys/stat.h time.h unistd.h \
605 warn-on-use.h 605 warn-on-use.h
606EXTRA_DIST = $(top_srcdir)/./arg-nonnull.h $(top_srcdir)/./c++defs.h \ 606EXTRA_DIST = $(top_srcdir)/./arg-nonnull.h $(top_srcdir)/./c++defs.h \
607 md5.c md5.h ftoastr.c ftoastr.h filemode.c filemode.h \ 607 md5.c md5.h dosname.h ftoastr.c ftoastr.h filemode.c \
608 getloadavg.c getopt.c getopt.in.h getopt1.c getopt_int.h \ 608 filemode.h getloadavg.c getopt.c getopt.in.h getopt1.c \
609 intprops.h lstat.c mktime-internal.h mktime.c readlink.c \ 609 getopt_int.h intprops.h lstat.c mktime-internal.h mktime.c \
610 stat.c stdbool.in.h stddef.in.h stdint.in.h stdlib.in.h \ 610 readlink.c stat.c stdbool.in.h stddef.in.h stdint.in.h \
611 strftime.c strftime.h symlink.c sys_stat.in.h time.in.h \ 611 stdlib.in.h strftime.c strftime.h symlink.c sys_stat.in.h \
612 time_r.c unistd.in.h $(top_srcdir)/./warn-on-use.h 612 time.in.h time_r.c unistd.in.h $(top_srcdir)/./warn-on-use.h
613MOSTLYCLEANDIRS = sys 613MOSTLYCLEANDIRS = sys
614MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \ 614MOSTLYCLEANFILES = core *.stackdump arg-nonnull.h arg-nonnull.h-t \
615 c++defs.h c++defs.h-t getopt.h getopt.h-t stdbool.h \ 615 c++defs.h c++defs.h-t getopt.h getopt.h-t stdbool.h \
diff --git a/lib/dosname.h b/lib/dosname.h
new file mode 100644
index 00000000000..acdd03b156e
--- /dev/null
+++ b/lib/dosname.h
@@ -0,0 +1,53 @@
1/* File names on MS-DOS/Windows systems.
2
3 Copyright (C) 2000-2001, 2004-2006, 2009-2011 Free Software Foundation, Inc.
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18 From Paul Eggert and Jim Meyering. */
19
20#ifndef _DOSNAME_H
21#define _DOSNAME_H
22
23#if (defined _WIN32 || defined __WIN32__ || \
24 defined __MSDOS__ || defined __CYGWIN__ || \
25 defined __EMX__ || defined __DJGPP__)
26 /* This internal macro assumes ASCII, but all hosts that support drive
27 letters use ASCII. */
28# define _IS_DRIVE_LETTER(C) (((unsigned int) (C) | ('a' - 'A')) - 'a' \
29 <= 'z' - 'a')
30# define FILE_SYSTEM_PREFIX_LEN(Filename) \
31 (_IS_DRIVE_LETTER ((Filename)[0]) && (Filename)[1] == ':' ? 2 : 0)
32# ifndef __CYGWIN__
33# define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 1
34# endif
35# define ISSLASH(C) ((C) == '/' || (C) == '\\')
36#else
37# define FILE_SYSTEM_PREFIX_LEN(Filename) 0
38# define ISSLASH(C) ((C) == '/')
39#endif
40
41#ifndef FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE
42# define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 0
43#endif
44
45#if FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE
46# define IS_ABSOLUTE_FILE_NAME(F) ISSLASH ((F)[FILE_SYSTEM_PREFIX_LEN (F)])
47# else
48# define IS_ABSOLUTE_FILE_NAME(F) \
49 (ISSLASH ((F)[0]) || FILE_SYSTEM_PREFIX_LEN (F) != 0)
50#endif
51#define IS_RELATIVE_FILE_NAME(F) (! IS_ABSOLUTE_FILE_NAME (F))
52
53#endif /* DOSNAME_H_ */
diff --git a/lib/gnulib.mk b/lib/gnulib.mk
index 1d918ff5fae..b5fd4a358db 100644
--- a/lib/gnulib.mk
+++ b/lib/gnulib.mk
@@ -78,6 +78,13 @@ EXTRA_libgnu_a_SOURCES += md5.c
78 78
79## end gnulib module crypto/md5 79## end gnulib module crypto/md5
80 80
81## begin gnulib module dosname
82
83
84EXTRA_DIST += dosname.h
85
86## end gnulib module dosname
87
81## begin gnulib module dtoastr 88## begin gnulib module dtoastr
82 89
83libgnu_a_SOURCES += dtoastr.c 90libgnu_a_SOURCES += dtoastr.c
diff --git a/lib/stat.c b/lib/stat.c
index f16d9144afc..cbc9100fd4d 100644
--- a/lib/stat.c
+++ b/lib/stat.c
@@ -37,6 +37,7 @@ orig_stat (const char *filename, struct stat *buf)
37#include <limits.h> 37#include <limits.h>
38#include <stdbool.h> 38#include <stdbool.h>
39#include <string.h> 39#include <string.h>
40#include "dosname.h"
40 41
41/* Store information about NAME into ST. Work around bugs with 42/* Store information about NAME into ST. Work around bugs with
42 trailing slashes. Mingw has other bugs (such as st_ino always 43 trailing slashes. Mingw has other bugs (such as st_ino always
diff --git a/m4/dos.m4 b/m4/dos.m4
deleted file mode 100644
index ed9c4cee670..00000000000
--- a/m4/dos.m4
+++ /dev/null
@@ -1,71 +0,0 @@
1#serial 11 -*- autoconf -*-
2
3# Define some macros required for proper operation of code in lib/*.c
4# on MSDOS/Windows systems.
5
6# Copyright (C) 2000-2001, 2004-2006, 2009-2011 Free Software Foundation, Inc.
7# This file is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# From Jim Meyering.
12
13AC_DEFUN([gl_AC_DOS],
14 [
15 AC_CACHE_CHECK([whether system is Windows or MSDOS], [ac_cv_win_or_dos],
16 [
17 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[
18#if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __CYGWIN__
19neither MSDOS nor Windows
20#endif]])],
21 [ac_cv_win_or_dos=yes],
22 [ac_cv_win_or_dos=no])
23 ])
24
25 if test x"$ac_cv_win_or_dos" = xyes; then
26 ac_fs_accepts_drive_letter_prefix=1
27 ac_fs_backslash_is_file_name_separator=1
28 AC_CACHE_CHECK([whether drive letter can start relative path],
29 [ac_cv_drive_letter_can_be_relative],
30 [
31 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[
32#if defined __CYGWIN__
33drive letters are always absolute
34#endif]])],
35 [ac_cv_drive_letter_can_be_relative=yes],
36 [ac_cv_drive_letter_can_be_relative=no])
37 ])
38 if test x"$ac_cv_drive_letter_can_be_relative" = xyes; then
39 ac_fs_drive_letter_can_be_relative=1
40 else
41 ac_fs_drive_letter_can_be_relative=0
42 fi
43 else
44 ac_fs_accepts_drive_letter_prefix=0
45 ac_fs_backslash_is_file_name_separator=0
46 ac_fs_drive_letter_can_be_relative=0
47 fi
48
49 AC_DEFINE_UNQUOTED([FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX],
50 $ac_fs_accepts_drive_letter_prefix,
51 [Define on systems for which file names may have a so-called
52 `drive letter' prefix, define this to compute the length of that
53 prefix, including the colon.])
54
55 AH_VERBATIM(ISSLASH,
56 [#if FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR
57# define ISSLASH(C) ((C) == '/' || (C) == '\\')
58#else
59# define ISSLASH(C) ((C) == '/')
60#endif])
61
62 AC_DEFINE_UNQUOTED([FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR],
63 $ac_fs_backslash_is_file_name_separator,
64 [Define if the backslash character may also serve as a file name
65 component separator.])
66
67 AC_DEFINE_UNQUOTED([FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE],
68 $ac_fs_drive_letter_can_be_relative,
69 [Define if a drive letter prefix denotes a relative path if it is
70 not followed by a file name component separator.])
71 ])
diff --git a/m4/gl-comp.m4 b/m4/gl-comp.m4
index c495389af8f..8bf5a64a5f9 100644
--- a/m4/gl-comp.m4
+++ b/m4/gl-comp.m4
@@ -29,6 +29,7 @@ AC_DEFUN([gl_EARLY],
29 # Code from module arg-nonnull: 29 # Code from module arg-nonnull:
30 # Code from module c++defs: 30 # Code from module c++defs:
31 # Code from module crypto/md5: 31 # Code from module crypto/md5:
32 # Code from module dosname:
32 # Code from module dtoastr: 33 # Code from module dtoastr:
33 # Code from module extensions: 34 # Code from module extensions:
34 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) 35 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
@@ -78,6 +79,7 @@ AC_DEFUN([gl_INIT],
78 # Code from module c++defs: 79 # Code from module c++defs:
79 # Code from module crypto/md5: 80 # Code from module crypto/md5:
80 gl_MD5 81 gl_MD5
82 # Code from module dosname:
81 # Code from module dtoastr: 83 # Code from module dtoastr:
82 AC_REQUIRE([gl_C99_STRTOLD]) 84 AC_REQUIRE([gl_C99_STRTOLD])
83 # Code from module extensions: 85 # Code from module extensions:
@@ -279,6 +281,7 @@ AC_DEFUN([gl_FILE_LIST], [
279 build-aux/arg-nonnull.h 281 build-aux/arg-nonnull.h
280 build-aux/c++defs.h 282 build-aux/c++defs.h
281 build-aux/warn-on-use.h 283 build-aux/warn-on-use.h
284 lib/dosname.h
282 lib/dtoastr.c 285 lib/dtoastr.c
283 lib/filemode.c 286 lib/filemode.c
284 lib/filemode.h 287 lib/filemode.h
@@ -312,7 +315,6 @@ AC_DEFUN([gl_FILE_LIST], [
312 lib/unistd.in.h 315 lib/unistd.in.h
313 m4/00gnulib.m4 316 m4/00gnulib.m4
314 m4/c-strtod.m4 317 m4/c-strtod.m4
315 m4/dos.m4
316 m4/extensions.m4 318 m4/extensions.m4
317 m4/filemode.m4 319 m4/filemode.m4
318 m4/getloadavg.m4 320 m4/getloadavg.m4
diff --git a/m4/stat.m4 b/m4/stat.m4
index 4883fe25eea..27f82d5a91a 100644
--- a/m4/stat.m4
+++ b/m4/stat.m4
@@ -1,4 +1,4 @@
1# serial 6 1# serial 7
2 2
3# Copyright (C) 2009-2011 Free Software Foundation, Inc. 3# Copyright (C) 2009-2011 Free Software Foundation, Inc.
4# 4#
@@ -9,7 +9,6 @@
9AC_DEFUN([gl_FUNC_STAT], 9AC_DEFUN([gl_FUNC_STAT],
10[ 10[
11 AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles 11 AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
12 AC_REQUIRE([gl_AC_DOS])
13 AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) 12 AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
14 AC_CHECK_FUNCS_ONCE([lstat]) 13 AC_CHECK_FUNCS_ONCE([lstat])
15 dnl mingw is the only known platform where stat(".") and stat("./") differ 14 dnl mingw is the only known platform where stat(".") and stat("./") differ
diff --git a/src/ChangeLog b/src/ChangeLog
index 3719b61b413..0bfadcf1a91 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12011-02-25 Paul Eggert <eggert@cs.ucla.edu> 12011-02-25 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Simplify symlink portability workaround.
4 * config.in: Regenerate.
5
3 * dired.c (Ffile_attributes): Increase size of modes from 10 to 12 6 * dired.c (Ffile_attributes): Increase size of modes from 10 to 12
4 as per recent filemodestring API change. Reported by Jonas Öster in 7 as per recent filemodestring API change. Reported by Jonas Öster in
5 <http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg01069.html>. 8 <http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg01069.html>.
diff --git a/src/config.in b/src/config.in
index 2a2a71659f5..4e49b4df170 100644
--- a/src/config.in
+++ b/src/config.in
@@ -72,19 +72,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
72/* Enable expensive run-time checking of data types? */ 72/* Enable expensive run-time checking of data types? */
73#undef ENABLE_CHECKING 73#undef ENABLE_CHECKING
74 74
75/* Define on systems for which file names may have a so-called `drive letter'
76 prefix, define this to compute the length of that prefix, including the
77 colon. */
78#undef FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX
79
80/* Define if the backslash character may also serve as a file name component
81 separator. */
82#undef FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR
83
84/* Define if a drive letter prefix denotes a relative path if it is not
85 followed by a file name component separator. */
86#undef FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE
87
88/* Define this to check for errors in cons list. */ 75/* Define this to check for errors in cons list. */
89#undef GC_CHECK_CONS_LIST 76#undef GC_CHECK_CONS_LIST
90 77
@@ -907,12 +894,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
907/* Define to support using a Hesiod database to find the POP server. */ 894/* Define to support using a Hesiod database to find the POP server. */
908#undef HESIOD 895#undef HESIOD
909 896
910#if FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR
911# define ISSLASH(C) ((C) == '/' || (C) == '\\')
912#else
913# define ISSLASH(C) ((C) == '/')
914#endif
915
916/* Define to support Kerberos-authenticated POP mail retrieval. */ 897/* Define to support Kerberos-authenticated POP mail retrieval. */
917#undef KERBEROS 898#undef KERBEROS
918 899