<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/install.c, branch v6.7</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.7</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2006-12-04T09:06:11Z</updated>
<entry>
<title>install.c: Preserve time stamps before changing owner or file mode bits,</title>
<updated>2006-12-04T09:06:11Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-12-04T09:06:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8406e92795b8cfce52651ec663aece6b451740aa'/>
<id>urn:sha1:8406e92795b8cfce52651ec663aece6b451740aa</id>
<content type='text'>
for consistency with other coreutils programs.
</content>
</entry>
<entry>
<title>* src/install.c (make_ancestor): New arg COMPONENT.</title>
<updated>2006-10-07T07:08:29Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-10-07T07:08:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=dc52b433efc3bba39fb801b05e8d0530c680ad0e'/>
<id>urn:sha1:dc52b433efc3bba39fb801b05e8d0530c680ad0e</id>
<content type='text'>
* src/mkdir.c (make_ancestor): Likewise.
* tests/install/basic-1: Check for install -Dv bug.
</content>
</entry>
<entry>
<title>Fix bug reported today by Mike Frysinger: mkdir -pv is logging the</title>
<updated>2006-10-06T20:44:31Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-10-06T20:44:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4767fc607e5fd38b2a9c8db2d876125aaa10e578'/>
<id>urn:sha1:4767fc607e5fd38b2a9c8db2d876125aaa10e578</id>
<content type='text'>
wrong file name in some cases.
* src/install.c (struct install_options): New type.
(install_file_in_file_parents, main):
Use it instead of struct cp_options.
(process_dir): Remember the full name.
(announce_mkdir, make_ancestor): Use the full name in announcements.
* src/mkdir.c (struct mkdir_options): Add full_name member.
(make_ancestor): Use the full name in announcements.
(process_dir): Remember the full name.
* tests/mkdir/Makefile.am (TESTS): Add p-v.
* tests/mkdir/p-v: New file, to test this bug.
</content>
</entry>
<entry>
<title>* NEWS: Document that mkdir -p and install -d now fork on occasion.</title>
<updated>2006-09-16T20:03:56Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-09-16T20:03:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b67faf329cebf0805b2b73cc775ccfc7a05390de'/>
<id>urn:sha1:b67faf329cebf0805b2b73cc775ccfc7a05390de</id>
<content type='text'>
* bootstrap.conf (gnulib_modules): Add savewd.
* src/install.c: Include savewd.h.
(process_dir): New function.
(main, install_file_in_file_parents): Use it, along with the new
savewd module, to avoid some race conditions.
* src/mkdir.c: Include savewd.h.
(struct mkdir_options): New members make_ancestor_function, mode,
mode_bits.
(make_ancestor): Return 1 if the resulting directory is not readable.
(process_dir): New function.
(main): Use it, along with new savewd module, to avoid some
race conditions.  Fill in new slots of struct mkdir_options, so
that callees get the values.
* tests/install/basic-1: Test for coreutils 5.97 bug that was
fixed in coreutils 6.0, and which should still be fixed with
this change.
* tests/mkdir/p-3: Likewise.
</content>
</entry>
<entry>
<title>Don't include dirname.h, since system.h does it now.</title>
<updated>2006-09-03T02:53:16Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-09-03T02:53:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d8049d74780e587525622f69219243097a13861b'/>
<id>urn:sha1:d8049d74780e587525622f69219243097a13861b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Include mkancesdirs.h.</title>
<updated>2006-07-17T03:09:49Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-07-17T03:09:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=83978a56548b99af768a6a9068f006bd00ab8ae7'/>
<id>urn:sha1:83978a56548b99af768a6a9068f006bd00ab8ae7</id>
<content type='text'>
(announce_mkdir, make_ancestor): New functions.
(DEFAULT_MODE): New macro, specifying initial value of 'mode'.
(mode): Use it.
(dir_mode, dir_mode_bits): New vars.
(main): Set dir modes separately from nondir, so that the X
op of -m works correctly.
(main): Remove cwd_errno cruft, since make_dir_parents no longer
affects cwd.  Adjust to new make_dir_parents API.
(install_file_in_file_parents): 2nd arg is now char *, not char
const *.  Use mkancesdirs instead of rolling our own code.
(change_attributes): Don't worry about AFS, since that kludge
should not be needed any more.
</content>
</entry>
<entry>
<title>(target_directory_operand, install_file_in_dir): Use new last_component, in place of base_name.</title>
<updated>2006-03-26T12:06:45Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-03-26T12:06:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=9c3afb4a64da15ccbd24ad76bb29469428eb37d2'/>
<id>urn:sha1:9c3afb4a64da15ccbd24ad76bb29469428eb37d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(usage): Use two spaces (not one) to separate the</title>
<updated>2006-02-18T07:23:05Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-02-18T07:23:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e7771c1161564b9e03c879f7dabea4b9e820e53b'/>
<id>urn:sha1:e7771c1161564b9e03c879f7dabea4b9e820e53b</id>
<content type='text'>
--first-only option string from its description, so help2man formats
the derived man page properly.
</content>
</entry>
<entry>
<title>(cp_option_init): Don't set umask_kill member.</title>
<updated>2005-12-17T10:46:23Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-12-17T10:46:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=7b08fdb1eb01a9f789423b722bf9752027eab802'/>
<id>urn:sha1:7b08fdb1eb01a9f789423b722bf9752027eab802</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(install_file_in_file): Be more conservative about the previous patch:</title>
<updated>2005-09-23T20:50:49Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-09-23T20:50:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8e4680db2fd9a0ad8efaabea3d41f34b00eddf4f'/>
<id>urn:sha1:8e4680db2fd9a0ad8efaabea3d41f34b00eddf4f</id>
<content type='text'>
set time stamps on all non-regular files.
</content>
</entry>
</feed>
