<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/su.c, branch v6.0</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.0</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2006-07-21T13:32:40Z</updated>
<entry>
<title>* src/su.c (usage): Correct typo in --help output: s/commmand/command/</title>
<updated>2006-07-21T13:32:40Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-07-21T13:32:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c6a13a33544a32c3d21afcd2faccb8c5e677a802'/>
<id>urn:sha1:c6a13a33544a32c3d21afcd2faccb8c5e677a802</id>
<content type='text'>
Reported by Tim Waugh.
Also remove the comment duplicating much of --help output.
</content>
</entry>
<entry>
<title>(log_su, run_shell): Use new last_component, in place of base_name.</title>
<updated>2006-03-26T12:08:20Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2006-03-26T12:08:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1225a5306820bd4f581474321647427268cdbbca'/>
<id>urn:sha1:1225a5306820bd4f581474321647427268cdbbca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unnecessary parens in `#if defined (SYMBOL)' expressions.</title>
<updated>2005-08-23T15:09:13Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-08-23T15:09:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=be16d0eac0baf2fa8f343bbb5a050cfeec3aba27'/>
<id>urn:sha1:be16d0eac0baf2fa8f343bbb5a050cfeec3aba27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update FSF postal mail address.</title>
<updated>2005-05-14T07:58:31Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-05-14T07:58:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=44d59bb168eaf820bdfd13ee9df442cde795f9c7'/>
<id>urn:sha1:44d59bb168eaf820bdfd13ee9df442cde795f9c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update FSF postal mail address.</title>
<updated>2005-05-14T06:57:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-05-14T06:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c0c815af8db441526ef112700b9185df6006c771'/>
<id>urn:sha1:c0c815af8db441526ef112700b9185df6006c771</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(run_shell): Pass a new n_additional_args arg, so that</title>
<updated>2004-08-03T22:23:25Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-08-03T22:23:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d2940e7cd484f1076752d2c17b80938200d4ffa1'/>
<id>urn:sha1:d2940e7cd484f1076752d2c17b80938200d4ffa1</id>
<content type='text'>
the callee doesn't have to count 'em.  All callers changed.
Don't allocate more space for the arg vector than we'll need.
Use memcpy to copy the args rather than rolling our own loop.
Use size_t for sizes.
(fast_startup, simulate_login, change_environment, log_su,
correct_password, restricted_shell, main): Use bool for booleans.
(longopts): Don't assume change_environment is an int.
Use NULL, not 0, for pointers.
(xsetenv): New function, replacing xputenv and concat.
All callers changed.
(elements): Remove; no longer needed.
(log_su, correct_passwd, main): Prefer !x to x==NULL.
(log_su): 2 -&gt; STDERR_FILENO.
(modify_environment, main): Don't assume that getenv's returned value
has an indefinite lifetime.
(modify_environment): Allocate a larger environ.
(main): Remove an impossible 'case 0'; if it happens now, it'll
get diagnosed.  Don't assume getpwnam results outlive endpwent.
Check for null or empty pw_name, pw_dir and for null pw_passwd.
</content>
</entry>
<entry>
<title>(correct_password, restricted_shell, main):</title>
<updated>2004-06-01T13:04:02Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2004-06-01T13:04:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ae752755d24ab10b8861dbf25a1d3d7c6b9499b6'/>
<id>urn:sha1:ae752755d24ab10b8861dbf25a1d3d7c6b9499b6</id>
<content type='text'>
Prefer the notation `STREQ (a, b)' over `strcmp (a, b) == 0'.
</content>
</entry>
<entry>
<title>(usage): Use EXIT_SUCCESS, not 0, for clarity.</title>
<updated>2004-01-22T21:00:25Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2004-01-22T21:00:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=bfa5295dc08722b03cd14c4eab46d205eb6aa438'/>
<id>urn:sha1:bfa5295dc08722b03cd14c4eab46d205eb6aa438</id>
<content type='text'>
(main): Initialize exit_failure to EXIT_FAIL.

(main): Use EXIT_ENOENT and EXIT_CANNOT_INVOKE
rather than roll-your-own symbols or integers.
</content>
</entry>
<entry>
<title>Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS change</title>
<updated>2003-10-18T10:05:47Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-10-18T10:05:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cf4fdf373fa202877d8141fcf7c1ef655a8e06d9'/>
<id>urn:sha1:cf4fdf373fa202877d8141fcf7c1ef655a8e06d9</id>
<content type='text'>
of 2003-09-19.  Now, AUTHORS is a comma-separated list of strings.
Update the call to parse_long_options so that `AUTHORS, NULL' are the
last parameters.

* src/true.c (main): Append NULL to version_etc argument list.
* src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise.
</content>
</entry>
<entry>
<title>(WRITTEN_BY): Rename from AUTHORS.</title>
<updated>2003-09-18T22:19:03Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2003-09-18T22:19:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=bafd927f03084ba6b12f7ff1b95352eb0e3a0a84'/>
<id>urn:sha1:bafd927f03084ba6b12f7ff1b95352eb0e3a0a84</id>
<content type='text'>
Begin each WRITTEN_BY string with `Written by ' and end it with `.'.
Mark each WRITTEN_BY string as translatable.
</content>
</entry>
</feed>
