# # ChangeLog for trunk/src in kBuild # # Generated by Trac 1.4.3.2 # Mar 15, 2025 2:52:22 AM Mon, 12 May 2008 17:07:26 GMT bird [1617] * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/variable.c (modified) Don't append empty strings to variables. (foo +=) Mon, 12 May 2008 17:06:38 GMT bird [1616] * trunk/src/kmk/testcase-which.kmk (modified) Added a space between the which results. Mon, 12 May 2008 17:05:52 GMT bird [1615] * trunk/src/kmk/function.c (modified) Added a space between the which results. Fri, 09 May 2008 01:23:23 GMT bird [1611] * trunk/src/kmk/kbuild.c (modified) Fixed a cleanup problem where yasm and vcc* and stuch would leave ... Thu, 08 May 2008 03:36:35 GMT bird [1610] * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/variable.c (modified) * trunk/src/kmk/variable.h (modified) Fixed prepend w/ expansion (would append instead of prepend). ... Thu, 08 May 2008 03:06:38 GMT bird [1609] * trunk/src/kmk/expand.c (modified) grr**2 Thu, 08 May 2008 03:00:39 GMT bird [1608] * trunk/src/kmk/expand.c (modified) grr. Thu, 08 May 2008 02:58:55 GMT bird [1607] * trunk/src/kmk/expand.c (modified) Another try - forgot about xrealloc. Thu, 08 May 2008 02:44:58 GMT bird [1606] * trunk/src/kmk/expand.c (modified) Fixed bug in append_expand_string_to_variable() where variables ... Mon, 05 May 2008 22:22:55 GMT bird [1604] * trunk/src/ash/Makefile.kmk (modified) * trunk/src/kash/Makefile.kmk (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/kmkbuiltin/mv.c (modified) * trunk/src/sed/Makefile.kmk (modified) * trunk/src/sed/lib/getopt.c (modified) DragonFly BSD config. Kudos to Francis G. Mon, 05 May 2008 22:15:37 GMT bird [1601] * trunk/src/lib/k/kDefs.h (modified) Added K_OS_DRAGONFLY w/ detection. Thu, 01 May 2008 21:52:59 GMT bird [1598] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/kmkbuiltin/kbuild_protection.c (added) * trunk/src/kmk/kmkbuiltin/kbuild_protection.h (added) * trunk/src/kmk/kmkbuiltin/rm.c (modified) split out the path protection code from rm. Thu, 01 May 2008 21:52:38 GMT bird [1597] * trunk/src/kmk/kmkbuiltin/cp.c (modified) protection work in progress. Thu, 01 May 2008 21:37:25 GMT bird [1596] * trunk/src/kmk/kmkbuiltin/cat.c (modified) indent. Thu, 01 May 2008 21:37:09 GMT bird [1595] * trunk/src/kmk/kmkbuiltin/mkdir.c (modified) indent. Thu, 01 May 2008 21:36:59 GMT bird [1594] * trunk/src/kmk/kmkbuiltin/test.c (modified) xmalloc should work fine. Thu, 01 May 2008 21:36:42 GMT bird [1593] * trunk/src/kmk/kmkbuiltin/darwin.c (modified) prop and header. Fri, 25 Apr 2008 19:33:22 GMT bird [1585] * trunk/src/ash/cd.c (modified) Don't use /bin/pwd to implement getcwd. Fri, 25 Apr 2008 03:40:40 GMT bird [1582] * trunk/src/kmk/kmkbuiltin/fts.c (modified) Fixed crash in open(NULL,,) on solaris because of bad dirfd macro. Fri, 25 Apr 2008 00:47:29 GMT bird [1578] * trunk/src/kmk/kmkbuiltin/rm.c (modified) Compile fix and workaround for broken _getdcwd (see libc ticket #194). Fri, 25 Apr 2008 00:29:25 GMT bird [1577] * trunk/src/kmk/kmkbuiltin/redirect.c (modified) It's lu not ul you feed printf to print a ULONG. Fri, 25 Apr 2008 00:26:53 GMT bird [1576] * trunk/src/kmk/kmkbuiltin/redirect.c (modified) build fix. Thu, 24 Apr 2008 14:13:43 GMT bird [1567] * trunk/src/kmk/kmkbuiltin/rm.c (modified) strncmp can be a freeking macro of course, so STR_SIZE_PAIR won't ... Wed, 23 Apr 2008 01:46:04 GMT bird [1558] * trunk/src/kmk/kmkbuiltin/fts.c (modified) drop the cyclic check on windows if ino and dev is 0. fixed a slash ... Wed, 23 Apr 2008 01:45:10 GMT bird [1557] * trunk/src/kmk/w32/compat/dirent.c (modified) fixed opendir with trailing slash (stat failed). Wed, 23 Apr 2008 01:23:21 GMT bird [1556] * trunk/src/kmk/kmkbuiltin/mkdir.c (modified) Fixed UNC build. (mkdir -p //server/share/something failed because of ... Wed, 23 Apr 2008 01:08:50 GMT bird [1555] * trunk/src/kmk/kmkbuiltin/rm.c (modified) bugfixes for windows/os2. Wed, 23 Apr 2008 01:00:28 GMT bird [1554] * trunk/src/kmk/variable.c (modified) Added KBUILD_KMK_REVISION and appended '-r' to ... Wed, 23 Apr 2008 00:49:42 GMT bird [1553] * trunk/src/kmk/kmkbuiltin/rm.c (modified) MSC build fixes. Wed, 23 Apr 2008 00:40:56 GMT bird [1552] * trunk/src/kmk/kmkbuiltin/rm.c (modified) minor cleanup. Wed, 23 Apr 2008 00:40:15 GMT bird [1551] * trunk/src/kmk/kmkbuiltin/rm.c (modified) Full protection, depth argument and environment overrides. Tue, 22 Apr 2008 23:40:38 GMT bird [1550] * trunk/src/kmk/kmkbuiltin/rm.c (modified) Enabled rm -R. Mon, 21 Apr 2008 16:10:42 GMT bird [1539] * trunk/src/kmk/kmkbuiltin/install.c (modified) fixed strip() not returning a value (one more case). Mon, 21 Apr 2008 16:10:11 GMT bird [1538] * trunk/src/kmk/kmkbuiltin/install.c (modified) fixed strip() not returning a value. Sun, 20 Apr 2008 22:46:03 GMT bird [1536] * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/variable.c (modified) Use the value_length if possible (saves strlen). Assert its ... Sun, 20 Apr 2008 22:19:40 GMT bird [1535] * trunk/src/kmk/main.c (modified) * trunk/src/kmk/make.h (modified) * trunk/src/kmk/misc.c (modified) Made the allocated and allocated-sum optional as they made xmalloc ... Sun, 13 Apr 2008 02:20:41 GMT bird [1527] * trunk/src/kmk/kmkbuiltin/redirect.c (modified) Intercept BEGINLIBPATH, ENDLIBPATH and LIBPATHSTRICT on OS/2. Print ... Sun, 13 Apr 2008 02:18:58 GMT bird [1526] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/kmkbuiltin/kbuild_version.c (modified) * trunk/src/kmk/main.c (modified) Print the revision in the version info. Fri, 11 Apr 2008 00:02:30 GMT bird [1519] * trunk/src/kmk/function.c (modified) Prevent crashin $(command ) if the target has no commands (file->cmds ... Thu, 10 Apr 2008 23:40:13 GMT bird [1518] * trunk/src/kmk/main.c (modified) MSC doesn't grok #ifdefs inside macros invocations. Wed, 09 Apr 2008 12:34:55 GMT bird [1516] * trunk/src/kmk/kmkbuiltin/mkdir.c (modified) Solaris mount points *may* return ENOSYS if prodded with mkdir() (nfs ... Wed, 09 Apr 2008 12:22:41 GMT bird [1514] * trunk/src/kmk/kmkbuiltin/kDepIDB.c (modified) Bad idea to use read(fileno()) on a stream after searching it because ... Wed, 09 Apr 2008 00:40:05 GMT bird [1509] * trunk/Makefile.kmk (modified) * trunk/src/Makefile.kmk (modified) * trunk/src/ash/Makefile.kmk (modified) * trunk/src/fastdep/Makefile.kmk (modified) * trunk/src/kDepPre/Makefile.kmk (modified) * trunk/src/kObjCache/Makefile.kmk (modified) * trunk/src/kash/Makefile.kmk (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/w32/Makefile.kmk (modified) * trunk/src/lib/Makefile.kmk (modified) * trunk/src/sed/Makefile.kmk (modified) * trunk/tests/Makefile.kmk (modified) * trunk/tests/inherit-bld/Makefile.kmk (modified) * trunk/tests/inherit-target/Makefile.kmk (modified) Environment / global variable renaming. Copyright header/year update. Tue, 08 Apr 2008 23:16:53 GMT bird [1503] * trunk/Config.kmk (modified) * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/kbuild.c (modified) * trunk/src/kmk/kbuild.h (modified) * trunk/src/kmk/main.c (modified) * trunk/src/kmk/read.c (modified) * trunk/src/kmk/variable.c (modified) * trunk/src/kmk/variable.h (modified) Environment / globals cleanup. The new policy is to use KBUILD_ and ... Mon, 07 Apr 2008 23:11:25 GMT bird [1500] * trunk/src/sed/Makefile.kmk (modified) compile lib/regex.c as early as possible. Mon, 07 Apr 2008 23:02:57 GMT bird [1499] * trunk/src/kmk/read.c (modified) buffer the entire makefile / 256KB. saves a little bit of time on the ... Thu, 03 Apr 2008 22:04:54 GMT bird [1484] * trunk/src/kmk/kbuild.c (modified) Fixed memchr crash in kbuild_get_object_base. A recent regression ... Tue, 01 Apr 2008 00:21:57 GMT bird [1478] * trunk/src/kmk/function.c (modified) fixed a silly bug in func_commands that would cause it to go beyond ... Tue, 01 Apr 2008 00:05:01 GMT bird [1477] * trunk/src/kmk/read.c (modified) Check for '\0' in defines, just to keep the value_length sane. Mon, 31 Mar 2008 17:00:39 GMT bird [1469] * trunk/src/kmk/misc.c (modified) _msize doesn't like NULL pointers. Mon, 31 Mar 2008 09:52:41 GMT bird [1461] * trunk/src/kmk/main.c (modified) copyright year. Sun, 30 Mar 2008 23:15:52 GMT bird [1459] * trunk/src/kmk/function.c (modified) Made $(abspathex path,cwd) work like $(abspath path) if cwd is empty. ... Sun, 30 Mar 2008 22:16:15 GMT bird [1458] * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/function.c (modified) Use the variable file location in evalval and evalcall. Sun, 30 Mar 2008 14:08:18 GMT bird [1455] * trunk/src/kmk/kmkbuiltin/test.c (modified) Fixed electric heap build problem. Sun, 30 Mar 2008 14:07:52 GMT bird [1454] * trunk/src/kmk/Makefile.kmk (modified) gcc and electric heap. Sun, 30 Mar 2008 14:06:49 GMT bird [1453] * trunk/src/kmk/electric.c (modified) ported to unix. Sun, 30 Mar 2008 14:06:32 GMT bird [1452] * trunk/src/kmk/function.c (modified) Fixed bug in $(commands ) that caused occational heap corruption. Sun, 30 Mar 2008 11:27:33 GMT bird [1451] * trunk/src/kmk/variable.c (modified) Made it build without VARIABLE_HASH defined. Sun, 30 Mar 2008 11:14:36 GMT bird [1450] * trunk/src/kmk/dir.c (modified) cosmetics. Sun, 30 Mar 2008 11:08:23 GMT bird [1449] * trunk/src/kmk/variable.c (modified) Fixed massive collision issue with variable_hash_1i. Sun, 30 Mar 2008 08:35:15 GMT bird [1448] * trunk/src/kmk/dir.c (modified) Tuning. Sun, 30 Mar 2008 08:17:25 GMT bird [1447] * trunk/src/kmk/strcache.c (modified) tuning. Sun, 30 Mar 2008 07:56:34 GMT bird [1446] * trunk/src/kmk/function.c (modified) Using the variable buffer for temp storage is (probably) fast, ... Sun, 30 Mar 2008 07:47:08 GMT bird [1445] * trunk/src/kmk/function.c (modified) Fixed evalval and evalcall - eval_buffer will change the input, so a ... Sun, 30 Mar 2008 07:46:11 GMT bird [1444] * trunk/src/kmk/variable.c (modified) Increased SMALL_SCOPE_VARIABLE_BUCKETS to avoid massive collitions ... Sun, 30 Mar 2008 07:13:35 GMT bird [1443] * trunk/src/kmk/function.c (modified) fixed another bug. Sun, 30 Mar 2008 06:45:10 GMT bird [1442] * trunk/src/kmk/function.c (modified) * trunk/src/kmk/kmkbuiltin/append.c (modified) fixes. Sun, 30 Mar 2008 04:13:55 GMT bird [1440] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/commands.c (modified) * trunk/src/kmk/commands.h (modified) * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/function.c (modified) * trunk/src/kmk/job.c (modified) * trunk/src/kmk/kmkbuiltin/append.c (modified) * trunk/src/kmk/variable.c (modified) * trunk/src/kmk/variable.h (modified) Added comp-cmds-ex, commands, commands-sc and commands-usr. Added a ... Sat, 29 Mar 2008 02:55:14 GMT bird [1439] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/function.c (modified) * trunk/src/kmk/variable.c (modified) CONFIG_WITH_EVALPLUS: evalctx, evalval, evalvalctx, evalcall and ... Sat, 29 Mar 2008 01:49:27 GMT bird [1438] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/function.c (modified) * trunk/src/kmk/hash.c (modified) * trunk/src/kmk/make.h (modified) * trunk/src/kmk/misc.c (modified) * trunk/src/kmk/variable.c (modified) Added $(make-stats ) that provides access to memory and hash stats ... Sat, 29 Mar 2008 01:00:55 GMT bird [1437] * trunk/src/kmk/variable.h (modified) local variables requires more space for storing the origin value in ... Tue, 25 Mar 2008 02:18:55 GMT bird [1436] * trunk/src/ash/arith.y (modified) Made it build with bison too. Mon, 24 Mar 2008 02:59:43 GMT bird [1433] * trunk/src/ash/Makefile.kmk (modified) Fixed the multiple output rules that screwed up the parallel builds ... Mon, 24 Mar 2008 02:58:10 GMT bird [1432] * trunk/src/ash/Makefile.kmk (modified) CLEAN was using DEPS, changed to INTERMEDIATES. Mon, 24 Mar 2008 02:53:41 GMT bird [1431] * trunk/src/ash/Makefile.kmk (modified) silly debug stuff. Mon, 24 Mar 2008 02:53:11 GMT bird [1430] * trunk/src/ash/Makefile.kmk (modified) Use INTERMEDIATES instead of DEPS/ORDERDEPS since the latter no ... Wed, 19 Mar 2008 18:06:36 GMT bird [1423] * trunk/src/kmk/w32/subproc/sub_proc.c (modified) Fixed bug in the CreateProcess failure handling, should now fail ... Wed, 19 Mar 2008 18:03:39 GMT bird [1422] * trunk/src/kmk/Makefile.kmk (modified) More on the ticket #30 testcase. Wed, 19 Mar 2008 17:41:07 GMT bird [1419] * trunk/src/kmk/Makefile.kmk (modified) added a testcase for ticket #30. Mon, 17 Mar 2008 22:31:35 GMT bird [1409] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/function.c (modified) * trunk/src/kmk/testcase-local.kmk (added) Made a variation of the $(eval) function call evalctx that pushes and ... Mon, 17 Mar 2008 22:21:36 GMT bird [1408] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/function.c (modified) * trunk/src/kmk/read.c (modified) * trunk/src/kmk/variable.c (modified) * trunk/src/kmk/variable.h (modified) Implemented local variable definitions - CONFIG_WITH_LOCAL_VARIABLES. Sun, 16 Mar 2008 21:32:19 GMT bird [1397] * trunk/src/kmk/kbuild.c (modified) Seems '_.' is a bad idea, use 'dt'. Sun, 16 Mar 2008 18:19:12 GMT bird [1396] * trunk/src/kmk/kbuild.c (modified) Don't allow '..' elements in the objbase, convert them to '_.'. Fri, 07 Mar 2008 02:05:46 GMT bird [1393] * trunk/src/kmk/kmkbuiltin/md5sum.c (modified) Added an --output/-o option for use with -p. Thu, 31 Jan 2008 14:28:26 GMT bird [1387] * trunk/src/kmk/function.c (modified) Fixed typo in $(libpath). Thu, 31 Jan 2008 14:27:28 GMT bird [1386] * trunk/src/kmk/testcase-libpath.kmk (copied) added testcase for the $(libpath ) function (OS/2). Mon, 21 Jan 2008 01:43:22 GMT bird [1383] * trunk/src/kmk/function.c (modified) Added $(libpath var,val) for accessing the OS/2 library paths. Mon, 07 Jan 2008 03:10:11 GMT bird [1379] * trunk/src/lib/k/kDefs.h (modified) PARISC and S390 architecture defines with dection. Detect arm, mips ... Sat, 15 Dec 2007 17:46:55 GMT bird [1377] * trunk/src/kmk/main.c (modified) Added some KMK_OPTS_* variables to allow makefiles to deal with -j N ... Fri, 14 Dec 2007 04:21:18 GMT bird [1376] * trunk/src/kmk/job.c (modified) Bail out on = and : too (see ash/expand.c). Fri, 14 Dec 2007 03:17:54 GMT bird [1374] * trunk/src/kmk/job.c (modified) Second try on the fix. Fri, 14 Dec 2007 02:58:17 GMT bird [1373] * trunk/src/kmk/job.c (modified) Don't get excited about the ~ in 8.3 file names, avoid lot's of slow ... Fri, 14 Dec 2007 02:56:42 GMT bird [1372] * trunk/src/kmk/job.c (modified) Fixed endless recursion caused by a missed sh_char_sh reference that ... Fri, 07 Dec 2007 19:36:06 GMT bird [1368] * trunk/src/lib/nt_fullpath.c (modified) don't be optimistic in the cache lookup code, the next component ... Mon, 03 Dec 2007 01:44:35 GMT bird [1356] * trunk/src/kmk/kmkbuiltin/cp_utils.c (modified) Fixed busted --changed implementation. It leaked a handle if the ... Sun, 02 Dec 2007 22:20:18 GMT bird [1341] * trunk/src/lib/k/kDefs.h (modified) Detect Solaris. Sun, 02 Dec 2007 22:07:40 GMT bird [1340] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/kmkbuiltin/kbuild_version.c (moved) Made bootstrap work. (kmk_redirect + version.c clash) Sun, 02 Dec 2007 21:14:35 GMT bird [1335] * trunk/src/kmk/Makefile.kmk (modified) Fix strlcpy warnings on darwin. Sun, 02 Dec 2007 21:07:24 GMT bird [1334] * trunk/src/kmk/variable.c (modified) fixed warnings. Sun, 02 Dec 2007 21:02:02 GMT bird [1333] * trunk/src/kmk/glob/glob.c (modified) More annoying warnings.