#
296373 |
|
04-Mar-2016 |
marius |
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.3. - Update default pkg(8) configuration to use the quarterly branch.
Approved by: re (implicit) |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
228990 |
|
30-Dec-2011 |
uqs |
Spelling fixes for usr.sbin/
|
#
222035 |
|
17-May-2011 |
flz |
Backout libinstall.a -> libpkg commit.
Discussed with: erwin, brooks, bapt
|
#
115325 |
|
26-May-2003 |
lioux |
pkg_create incorrectly does not add trailing '\n' when it receives either COMMENT or DESCR from the command line. When a port is installed, one gets both +COMMENT and +DESCR files with a trailing '\n' character. However, +COMMENT does not contain a trailing '\n' when it is installed from a package due to this behavior of pkg_create.
Therefore, make sure it behaves exactly the same regardless of where got its information; either command line or files. The modified functions are used by pkg_create.
PR: 52097 Reviewed by: bento, kris, portmgr, re, Michael Nottebrock <michaelnottebrock@gmx.net>, Martin Horcicka <horcicka@FreeBSD.cz> Approved by: re (scottl) MFC after: 1 week
|
#
93520 |
|
01-Apr-2002 |
obrien |
Fix SCM ID's.
|
#
84745 |
|
10-Oct-2001 |
sobomax |
WARNS=2 cleanup.
Tested on: i386, alpha MFC after: 2 weeks
|
#
81571 |
|
13-Aug-2001 |
obrien |
Reduce private "lesser known" function redirection to improve clarity.
Approved by: jkh
|
#
80472 |
|
28-Jul-2001 |
obrien |
The security officer requested this be backed out for discussion.
|
#
80463 |
|
28-Jul-2001 |
obrien |
Remove s_strl*(). I am not sure what was thought they accomplished.
When reading the code I had to stop, say "ok, what does *these* modifications of strl*() do? Pull out grep. Oh, not in add/, maybe above in ../lib/? Yep. So what do they do? Comments above them are misleading, guess I'll have to read the code. Oh, they just test strl* against the size and return the result of the test. Now I can continue to read the code I was.
The uses of s_strl*() then test that result and errx()'s. Lets think about the "optimized" code I am removing:
In general the compiler pushes the three args to strl* onto the stack and calls s_strl*. s_strl* has to indirectly access 3 args from the stack. Then push them on the stack a 2nd time for the real strl* call. s_strl* then pops the return from strl* off the stack; or moves it from the register it was returned in, to the register where tests can happen. s_strl* then pops the three arguments to strl*. Perform the test, push the result of the test, or move it from the result register to the return value register. The caller to s_strl* now has to either pop the return value of s_strl* or move it from the return value register to the test register. The caller then pops the three args to s_strl* off the stack (the same args that s_strl* itself had to pop off after the real call to strl*). The s_strl* caller then performs a simular test to what has already been done, and conditionally jumps. By doing things this way, we've given the compiler optimizer less to work with.
Also, please don't forget the that call to s_strl* has possibly jumped to code not in the cache due to being far away from the calling code, thus causing a pipeline stall.
So where is the "optimization" from s_strl*? It isn't code clarity. It isn't code execution speed. It isn't code size either.
|
#
76504 |
|
12-May-2001 |
kris |
Clean up some of the evil string handling in this code, replace warnx()+exit() with errx() and replace a big if..then..else construct to determine the package download directory with a lookup table.
Reviewed by: jkh MFC after: 2 weeks
|
#
74699 |
|
23-Mar-2001 |
sobomax |
- Add which(1)-like functionality into pkg_info; - fix a harmless bug in match_installed() function introduced in my last commit; - uniformely reorder includes across files.
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net> Not objected by: jkh, -ports
|
#
67429 |
|
22-Oct-2000 |
jkh |
Cause fatal error messages to be a little more helpful to the programmer concerning where they're taking place.
Switch from [r]index() to str[r]chr() functions, which are more ISO compliant.
Prompted by: Edward Welbourne <eddy@vortigen.demon.co.uk>
|
#
50479 |
|
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
30221 |
|
08-Oct-1997 |
charnier |
Use err(3). Cosmetics in usage string and man page.
|
#
11780 |
|
25-Oct-1995 |
jkh |
Bring forward my changes from 2.1
|
#
8087 |
|
26-Apr-1995 |
jkh |
Add code for dealing with URLs.
|
#
4546 |
|
17-Nov-1994 |
jkh |
Add a new basename_of() function.
|
#
328 |
|
26-Aug-1993 |
jkh |
This commit was generated by cvs2svn to compensate for changes in r327, which included commits to RCS files with non-trunk default branches.
|
#
327 |
|
26-Aug-1993 |
jkh |
The release version of my package install suite. Please see man pages for info.
|