<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/install.c, branch v6.2</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.2</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2006-09-16T20:03:56Z</updated>
<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>
<entry>
<title>(change_timestamps): First arg is source</title>
<updated>2005-09-23T20:39:04Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-09-23T20:39:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=63b77aac44f5ed542439f4d7c71fdd6625bcc0f6'/>
<id>urn:sha1:63b77aac44f5ed542439f4d7c71fdd6625bcc0f6</id>
<content type='text'>
struct stat, not file name.  All uses changed.
(install_file_in_file): Stat the source file if necessary.
Don't try to change time stamps if copy_file did it.
</content>
</entry>
<entry>
<title>Include stat-time.h, and use its functions instead of the obsolete</title>
<updated>2005-09-16T07:50:33Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-09-16T07:50:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=158d982669d3d05079da2b9cc8d8fcd8adf35a4b'/>
<id>urn:sha1:158d982669d3d05079da2b9cc8d8fcd8adf35a4b</id>
<content type='text'>
TIMESPEC_NS macro.
</content>
</entry>
<entry>
<title>Finally remove support for --version-control=S (-V).</title>
<updated>2005-06-16T09:15:23Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-06-16T09:15:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=74f54dae781a1c30b10452b05500a2a8cac6bd80'/>
<id>urn:sha1:74f54dae781a1c30b10452b05500a2a8cac6bd80</id>
<content type='text'>
It was deprecated nearly 6 years ago and has been warning
users to switch to --backup=S since fileutils-4.0j.
</content>
</entry>
</feed>
