Commit Graph

97 Commits

Author SHA1 Message Date
gmcgarry d776319a17 Correctly elide dlog() on PCC. It's still very wrong for other non-__GNUC__
compilers.
2008-08-29 00:34:04 +00:00
lukem d974160208 Add missing prototypes.
(I don't know why am-utils doesn't use header files for public prototypes)
2008-05-22 14:22:28 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
christos 99a3390caf Coverity CID/4421: Add extra check for NULL before deref. 2007-04-04 21:40:48 +00:00
christos a5346961e8 use memcpy instead of strlcpy because we want to truncate the string. 2007-03-27 01:29:44 +00:00
christos 825f80c59c Fix use after free. 2006-04-05 14:59:29 +00:00
christos ded5be2fff Coverity CID 2746: Remove useless test. 2006-03-22 04:11:15 +00:00
christos 7f112146cb Coverity CID 866: Fix possible NULL deref. 2006-03-18 21:15:50 +00:00
christos 58deb05d13 Coverity CID 865: Fix possible NULL deref 2006-03-18 21:14:09 +00:00
christos 760ba920f3 Coverity CID 867: Fix possible NULL deref. 2006-03-18 21:11:43 +00:00
christos b2229dcdbc Coverity CID 955: Fix possible NULL deref. 2006-03-18 21:10:12 +00:00
christos 33c12e6be9 Coverity CID 956: Possible NULL pointer deref. 2006-03-18 21:07:47 +00:00
christos 0a7d87f083 Coverity CID 957: Prevent NULL pointer deref. 2006-03-18 21:05:10 +00:00
christos d9e5b13b10 Coverity CID 2033: Fix memory leak. 2006-03-18 20:48:42 +00:00
christos 6b81e42601 Coverity CID 2358: Although mp2 cannot be NULL here, checking it below for
NULL is confusing. Check in both places.
2006-03-18 20:46:23 +00:00
christos 973debfe6f Coverity CID 2359: Possible NULL deref. 2006-03-18 20:43:48 +00:00
christos f3d47984b8 Coverity CID 2389: Remove extraneous check 2006-03-18 20:40:53 +00:00
christos 7908a85339 Coverity CID 2390: Wrong test; p cannot be NULL. 2006-03-18 20:38:01 +00:00
christos 06bdf1a1e0 Coverity CID 2485: Possible uninitialized variable use. 2006-03-18 20:33:34 +00:00
dsl 55d48ecf23 Remove the unnecessary 'if (found)' to stop Coverty bleating (CID 864).. 2006-03-18 18:05:13 +00:00
christos a58881f52e resolve conflicts 2006-02-05 16:28:55 +00:00
christos 25010febb3 Import am-utils; changes in ChangeLog.
Summary:
  - bound string operations
  - better detection of filesystem names
  - pawd call now gets the resolved directory in the rpc

All our local changes have been submitted and incorporated.
2006-02-05 16:12:04 +00:00
rpaulo c07a3667e1 unregister_amq(): fix wrong if-clause (missing '!'). Noticed by
Christos Zoulas.
2005-09-23 22:27:14 +00:00
christos 1fa8cb34f1 revert dplog changes. 2005-09-21 16:28:03 +00:00
rpaulo bff4a0b82d mapc_showtypes() takes two arguments.
Fix a typo in the merge: s/sprintf/snprintf/.
2005-09-20 18:29:52 +00:00
rpaulo c37aa2f852 Move the prototype for dplog() outside of the #ifdef DEBUG and avoid a
warning.
2005-09-20 18:07:04 +00:00
rpaulo 32f8c84662 Merge am-utils 6.1.2.1. 2005-09-20 17:57:44 +00:00
rpaulo 80fbfa7fec Import of am-utils 6.1.2.1. 2005-09-20 17:12:54 +00:00
kleink 57830ae5af Fix printf format/argument mismatch.
XXX The surrounding conditional is bogus.
2005-04-24 13:34:18 +00:00
christos 9761c1c701 Don't take into account zero length mountpoints. 2005-04-23 22:18:17 +00:00
christos 38860b269e Fix compilation issues. 2005-04-23 18:51:18 +00:00
christos 8afc62ec7e cleanup junk and add our conversion script. 2005-04-23 18:41:04 +00:00
christos 70a4c9e35e Resolve conflicts. 2005-04-23 18:38:17 +00:00
christos b689db021c from ftp.am-utils.org 2005-04-23 18:07:47 +00:00
christos 05c61e7894 PR/21147: Christian Biere: ctype function misuse. 2005-04-17 17:42:48 +00:00
jmc 496146dda9 Work around the fact opaque_t gets defined by sys/properties.h and could be
pulled in via MD includes from sys/param.h.
2004-11-28 11:15:26 +00:00
wiz b81f308085 Fix typo in formatting. 2004-11-27 23:23:26 +00:00
christos ccc24aa67e fix merge botches. 2004-11-27 01:39:50 +00:00
christos 763bdaa346 Resolve conflicts. 2004-11-27 01:24:35 +00:00
christos f8d5cae651 from 20040916 from ftp.am-utils.org 2004-11-27 01:00:29 +00:00
christos 6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
fvdl 8d36718b5c Don't compare an int to NULL. 2003-10-21 02:39:44 +00:00
markd 0179239c99 xlatecookie option wasn't working as MNTTAB_OPT_XLATECOOKIE wasn't defined.
patch will be in am-utils 6.1

OK'd by christos
2003-07-29 12:11:29 +00:00
markd 57da74fd34 Its not possible to have a key such as ".access" in a hesiod map as that would
imply a null node in the DNS tree so a lookup for such a key must clearly fail
and with the current info_hesiod.c it does (after calling hes{,iod}_resolve)
but returns an error that confuses some programs - eg. apache - so shortcut
the process and just return ENOENT for any key starting with "."

Patch will be in am-utils 6.1.

OK'd by christos
2003-07-29 12:08:59 +00:00
itojun 1b6fd89dfb use bounded string ops as much as possible. 2003-07-15 09:01:15 +00:00
itojun 232b5bf80e use bounded string op as much as possible 2003-07-14 17:25:41 +00:00
itojun 8747acfc51 strlcpy 2003-07-14 17:22:10 +00:00
itojun b40f711799 use strlcpy 2003-07-14 17:20:13 +00:00
wiz b2c4fe3bde Mention info page for am-utils. Closes PR 20167 by Ben Collver. 2003-04-17 21:05:38 +00:00
christos 0585b39b51 PR/3495: Koji Imada: amd timeout for ffs. 2003-04-12 21:57:16 +00:00