Jim Meyering
2fdcdc90f0
*** empty log message ***
2006-03-28 09:47:56 +00:00
Jim Meyering
1ae249fba2
(usage): Remove mention of --copyright/-C.
...
(main): Alias --copyright to --version plus a deprecation warning.
2006-03-28 09:47:28 +00:00
Jim Meyering
5378e090da
deprecate ptx's --copyright (-C) option
2006-03-28 09:46:38 +00:00
Jim Meyering
4e5755ff74
*** empty log message ***
2006-03-27 14:08:04 +00:00
Jim Meyering
ce88154fd8
(dirname invocation): Macro in previous patch was too broad.
2006-03-27 14:08:00 +00:00
Jim Meyering
120d34efe1
version: 5.94
2006-03-27 10:30:34 +00:00
Jim Meyering
c5e8364536
.
2006-03-27 07:35:23 +00:00
Jim Meyering
20e2d352c0
(uptime_LDADD): Add $(POW_LIB), for uptime's use of strtod.
...
Tiny patch from Nickolai Zeldovich.
2006-03-27 07:34:48 +00:00
Jim Meyering
1c952c4d7d
*** empty log message ***
2006-03-27 07:32:44 +00:00
Jim Meyering
a35fc49153
.
2006-03-26 12:33:28 +00:00
Jim Meyering
fa9be79b41
*** empty log message ***
2006-03-26 12:30:45 +00:00
Jim Meyering
3c7ab9f144
(gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
2006-03-26 12:30:37 +00:00
Jim Meyering
d5a462a196
(FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
...
(FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
2006-03-26 12:30:07 +00:00
Jim Meyering
665ede556d
new file from Eric Blake
2006-03-26 12:22:44 +00:00
Jim Meyering
864c4c28af
*** empty log message ***
2006-03-26 12:20:59 +00:00
Jim Meyering
8773d59d55
(base_name): New semantics - malloc the result.
...
Preserve // when it is special.
Preserve relative files that look like drive letters.
(base_len): Preserve // when it is special.
(last_component): New method, similar to old base_name semantics.
2006-03-26 12:20:46 +00:00
Jim Meyering
8132c6e76e
(dir_len): Determine when drive letters need a subsequent slash.
...
Preserve // when it is special.
(dir_name): Don't append dot when drive letter is absolute.
[TEST_DIRNAME]: Move into a full-blown gnulib test.
2006-03-26 12:20:24 +00:00
Jim Meyering
ba0f1e7d7f
(FILE_SYSTEM_PREFIX_LEN): Move here from dos.m4.
...
[FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]: Don't treat 1: as a drive prefix.
(IS_ABSOLUTE_FILE_NAME): Treat all drive letters as absolute on
platforms like cygwin with FILE_SYSTEM_DRIVE_PREFIX_IS_ABSOLUTE.
(last_component): New method.
2006-03-26 12:20:06 +00:00
Jim Meyering
7029f979e5
(strip_trailing_slashes): Use last_component, not base_name.
...
Strip redundant slashes from ///.
2006-03-26 12:18:51 +00:00
Jim Meyering
cb916337dc
(file_name_concat): s/base_name/last_component/
2006-03-26 12:16:11 +00:00
Jim Meyering
bfbe80d004
(check_extension, numbered_backup): s/base_name/last_component/
2006-03-26 12:15:59 +00:00
Jim Meyering
4ecf233b95
(same_name): s/base_name/last_component/
2006-03-26 12:14:16 +00:00
Jim Meyering
ee660c455a
(basename invocation, dirname invocation):
...
Improve documentation to match recent // patches.
2006-03-26 12:11:40 +00:00
Jim Meyering
bbee8a57b0
*** empty log message ***
2006-03-26 12:09:09 +00:00
Jim Meyering
0ad9592c12
*** empty log message ***
2006-03-26 12:08:27 +00:00
Jim Meyering
1225a53068
(log_su, run_shell): Use new last_component, in place of base_name.
2006-03-26 12:08:20 +00:00
Jim Meyering
b828255717
(next_file_name): Use new last_component, in place of base_name.
2006-03-26 12:08:10 +00:00
Jim Meyering
d4d9a40b82
(wipename): Use new last_component, in place of base_name.
2006-03-26 12:07:59 +00:00
Jim Meyering
0cabfe4b6d
(rm_1): Use new last_component, in place of base_name.
2006-03-26 12:07:47 +00:00
Jim Meyering
00f103b6d1
(target_directory_operand, movefile): Use new last_component, in place of base_name.
2006-03-26 12:07:34 +00:00
Jim Meyering
811ecf9284
(basename_is_dot_or_dotdot): Use new last_component, in place of base_name.
2006-03-26 12:07:20 +00:00
Jim Meyering
02b8c9a452
(target_directory_operand, main): Use new last_component, in place of base_name.
2006-03-26 12:07:04 +00:00
Jim Meyering
9c3afb4a64
(target_directory_operand, install_file_in_dir): Use new last_component, in place of base_name.
2006-03-26 12:06:45 +00:00
Jim Meyering
a1935760e5
(guess_shell_syntax): Use new last_component.
2006-03-26 12:06:05 +00:00
Jim Meyering
c3965052fe
(target_directory_operand): Use new last_component.
...
(ASSIGN_BASENAME_STRDUPA): Likewise. Reduce time spent
traversing the string.
2006-03-26 12:05:51 +00:00
Jim Meyering
a9e9c226da
(main): Don't strip suffix from file system roots.
2006-03-26 11:59:58 +00:00
Jim Meyering
ba3419a626
Improvements to dirname/basename handling on platforms like
...
cygwin with distinct // and with drive letters.
2006-03-26 11:59:31 +00:00
Jim Meyering
a538c18d7a
(AC_CONFIG_FILES): Remove tests/basename.
2006-03-26 11:58:57 +00:00
Jim Meyering
fdecd2cfcd
.
2006-03-26 11:56:09 +00:00
Jim Meyering
82142e155d
remove this entire directory
2006-03-26 11:55:38 +00:00
Jim Meyering
06ada66861
remove this entire directory
2006-03-26 11:54:50 +00:00
Jim Meyering
1f16c42214
(SUBDIRS): Remove basename.
2006-03-26 11:52:47 +00:00
Jim Meyering
8ebb9e3154
(TESTS): Sort. Add basename, dirname.
2006-03-26 11:48:19 +00:00
Jim Meyering
1a032f1114
new file -- from Eric Blake
2006-03-26 11:47:51 +00:00
Jim Meyering
c170f9ca79
Move to ../misc/basename
2006-03-26 11:47:24 +00:00
Jim Meyering
c794482058
Moved from ../basename/basic.
...
Add some tests, including fixed behavior for //.
2006-03-26 11:46:46 +00:00
Paul Eggert
14c720faab
(gl_REGEX): Fix a longstanding typo in the
...
implementation of Spencer ERE test #75 from grep 2.3. Problem
reported by Emanuele Giaquinta. Also, change sense of cached
variable, so that the message makes sense.
2006-03-25 09:49:24 +00:00
Paul Eggert
cd70d37ee3
(gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
...
REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
glibc names.
2006-03-25 09:10:28 +00:00
Jim Meyering
f6d592cbb2
version: 5.94
2006-03-25 08:43:48 +00:00
Paul Eggert
195689e7c7
(main): Ignore fd_reopen return value when ignoring input, since
...
we've closed input at that point so we are ignoring input.
2006-03-23 23:56:34 +00:00