summaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
authornakayama <nakayama@NetBSD.org>2014-12-25 14:02:03 +0000
committernakayama <nakayama@NetBSD.org>2014-12-25 14:02:03 +0000
commitdcfe48c1909211e35b28bc61824dfd9ef5f3a34a (patch)
treed1aa7214ad0240898d1715fce93e273c4ef632b0 /lib/libc/include
parent1d31a635e1f8248dcdfdbd75c546554420d04d5d (diff)
Put "memory" to asm inline for reading privilege registers on sun4v
to avoid issuing rdpr %ver before checking cputyp as a result of code moving by compiler optimization.
Diffstat (limited to 'lib/libc/include')
0 files changed, 0 insertions, 0 deletions
ogsubject'>Fix 'pkg_add -R' handling - not registering really means not touchinghubertf the pkgdb too - useful for pkg_add as non-root! 2005-01-06Always echo the command about to be executed to standard output, notagc just when the verbose flag is specified - we are, after all, normally executing these commands as root. Bump version to 20050106 2004-12-29Introduce a new abstraction in the C code, called MaxPathSize. Allagc previous occurrences of MAXPATHLEN and FILENAME_MAX have been changed to use MaxPathSize instead. If MAXPATHLEN is not defined, then assume a default value of 1024 (this is primarily for use on the Hurd). The reason for this is that some older platforms define FILENAME_MAX to be 14, although MAXPATHLEN is 1024. On BSD-derived systems, FILENAME_MAX And MAXPATHLEN are both 1024. Bump pkg_install version to 20041226. These modifications have been tested so far on a NetBSD-current bulk build. 2003-09-23Add some free()s in error cases.wiz 2003-09-02Merge src/usr.sbin/pkg_install on the pkgviews branch into the HEAD byjlam running: cd src/usr.sbin/pkg_install cvs update -Pd -A cvs update -Pd -j pkgviews-base -j pkgviews 2003-07-14use bounded string op as much as possibleitojun 2003-02-02Allow '%D' to be used when no last_file available. Fixes binary packageabs installation of gnome-dirs. 2003-01-05Add an enumerated type which is used in pkgdb_open() to specifyagc read-only or read-write mode. Modify the return value of pkgdb_open() to have a more logical boolean value. 2003-01-05Use EXIT_FAILURE, rather than hardcoding a value of '1' in err(3) andagc errx(3). Plug a memory leak by modifying the signature of _pkgdb_getPKGDB_FILE() to take a buffer and its size, and fill in that buffer and return it. 2002-11-29replace use of alloca() with the more portable malloc()/free().grant 2002-11-28Add 'p' option to TARX_CMD's argument for preserving file mode.taca This fixes the problem that pkg_add(1) drops setuid/setgid bit. This problem occurs on pax(1) based tar environment. pkgtools/pkg_install should be fixed, too. 2002-10-17- eliminate the hard-coding of pathnames in the default install.christos - all command executions now use the path [execvp/execlp/system]. - normalize the macro names as <COMMAND>_CMD. - in some OS's full pathnames for commands can still be provided, but this is not the default. This was needed to fix -DTAR_FULLPATHNAME="/usr/bin/tar" 2001-09-26use full pathname of tar consistentlchubertf Patch provided in PR 14072 by Stoned Elipot <seb@script.jussieu.fr> 2000-07-24Fix a buffer overrun bug. The TOOBIG macro had some hard coded constantsdmcmahill which needed to be set at compile time but weren't (to handle the case where TAR_CMD was set to something other than "tar", eg "gtar". In addition to the constants being wrong, the wrong directory name was being examined for its string length. Add a few comments to hopefully avoid having this problem come back. 2000-06-16extract_plist() should inform caller when it aborts extractsjg 1999-08-24Bring closer to /usr/share/misc/style with the aid of indent(1).hubertf 1999-08-19Clean up minor nits in C code.agc 1999-05-30Remove support for absolutes pathnames completely. This can't work withtron binary packages like we support them now. 1999-05-29Don't prepend directories if the plist files are absolute.christos 1999-03-12Fix string handling bugs introduced by last patch.tron 1999-03-09Define TAR_CMD and TAR_FULLPATHNAME, and use them in preference toagc hardcoded strings "tar" and "/usr/bin/tar". This allows the package tools to use GNU tar with a different name (it's often installed as gtar), and from a directory other than /usr/bin. 1999-03-02Cosmetic but annoying - no need to append a newline character in warnx()agc string - it's done by warnx() itself. 1999-02-01Allow @exec to be the first (non-comment) thing in a PLIST filehubertf IF there is no %d/%D/%f/%F in it. 1999-01-19Add code for pkgdb.hubertf 1998-10-09More cleanup - various bits of KNF.agc Use another table when parsing PLIST files - makes this much more extensible. 1998-10-09Some minor KNF.agc Lots more to be done. 1998-10-08Eliminate all use of sprintf(3), and replace it with snprintf(3).agc Bounds check the @exec and @unexec commands when they are constructed.