diff options
| author | Paul Eggert | 2020-03-28 13:58:44 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-03-28 14:08:11 -0700 |
| commit | 4f41188a6e1eb0ce832bd74907642f30ada344d9 (patch) | |
| tree | e7416c28af32c57cd06614ea995e10c334ea0aa1 /lib | |
| parent | a775dca449ca8da2e2619ea608a3849f70fa951e (diff) | |
| download | emacs-4f41188a6e1eb0ce832bd74907642f30ada344d9.tar.gz emacs-4f41188a6e1eb0ce832bd74907642f30ada344d9.zip | |
Stop using newly-deprecated dosname Gnulib module
Code is supposed to use the filename module now.
* admin/merge-gnulib (GNULIB_MODULES): Replace dosname with filename.
* lib/dosname.h: Remove this forwarding stub.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lib-src/emacsclient.c, src/fileio.c:
Include filename.h instead of dosname.h.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/dosname.h | 18 | ||||
| -rw-r--r-- | lib/gnulib.mk.in | 11 |
2 files changed, 1 insertions, 28 deletions
diff --git a/lib/dosname.h b/lib/dosname.h deleted file mode 100644 index 490e0c5a7dd..00000000000 --- a/lib/dosname.h +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | /* File names on MS-DOS/Windows systems. | ||
| 2 | |||
| 3 | Copyright (C) 2000-2001, 2004-2006, 2009-2020 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 <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #include "filename.h" | ||
diff --git a/lib/gnulib.mk.in b/lib/gnulib.mk.in index 256bda7752e..0c7c2fb2b66 100644 --- a/lib/gnulib.mk.in +++ b/lib/gnulib.mk.in | |||
| @@ -86,7 +86,6 @@ | |||
| 86 | # crypto/sha512-buffer \ | 86 | # crypto/sha512-buffer \ |
| 87 | # d-type \ | 87 | # d-type \ |
| 88 | # diffseq \ | 88 | # diffseq \ |
| 89 | # dosname \ | ||
| 90 | # double-slash-root \ | 89 | # double-slash-root \ |
| 91 | # dtoastr \ | 90 | # dtoastr \ |
| 92 | # dtotimespec \ | 91 | # dtotimespec \ |
| @@ -100,6 +99,7 @@ | |||
| 100 | # fcntl-h \ | 99 | # fcntl-h \ |
| 101 | # fdopendir \ | 100 | # fdopendir \ |
| 102 | # filemode \ | 101 | # filemode \ |
| 102 | # filename \ | ||
| 103 | # filevercmp \ | 103 | # filevercmp \ |
| 104 | # flexmember \ | 104 | # flexmember \ |
| 105 | # fpieee \ | 105 | # fpieee \ |
| @@ -1452,15 +1452,6 @@ EXTRA_libgnu_a_SOURCES += dirfd.c | |||
| 1452 | endif | 1452 | endif |
| 1453 | ## end gnulib module dirfd | 1453 | ## end gnulib module dirfd |
| 1454 | 1454 | ||
| 1455 | ## begin gnulib module dosname | ||
| 1456 | ifeq (,$(OMIT_GNULIB_MODULE_dosname)) | ||
| 1457 | |||
| 1458 | |||
| 1459 | EXTRA_DIST += dosname.h | ||
| 1460 | |||
| 1461 | endif | ||
| 1462 | ## end gnulib module dosname | ||
| 1463 | |||
| 1464 | ## begin gnulib module dtoastr | 1455 | ## begin gnulib module dtoastr |
| 1465 | ifeq (,$(OMIT_GNULIB_MODULE_dtoastr)) | 1456 | ifeq (,$(OMIT_GNULIB_MODULE_dtoastr)) |
| 1466 | 1457 | ||