Login
Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

30 most recent check-ins

2022-11-24
13:51
add FCLI_RC_NO_CMD result code for fcli_dispatch_commands()

To help distinguish between invalid commands and propagated FSL_RC_NOT_FOUND errors returned from successfully dispatched commands.

ok stephan@ Leaf check-in: 46008704a6 user: mark tags: trunk

13:49
make fcli_cmd_aliascmp() return semantics match convention

Return 0 if a match is found as one would expect from a *_cmp() routine.

ok stephan@ check-in: 6e0d1fbc09 user: mark tags: trunk

2022-11-21
03:30
squelch gcc-11.2.0 uninitialised variable warning

If fsl_buffer_cstr2() errors out, nOrig isn't initialised.

ok stephan@ check-in: ef78842aea user: mark tags: trunk

2022-11-20
12:20
ensure dstsz-1 is greater than the current length of dst

Although somewhat contrived it's a potential problem nonetheless: if the caller passes a destination buffer that contains a string greater than the passed in size of the destination buffer (which is senseless at it means the buffer is already overflowed), we write the full length of src, which could overflow dst. This change makes our fsl_strlcat() implementation behave the same as OpenBSD's strlcat(3) in testing. check-in: f2676cbcc2 user: mark tags: trunk

2022-11-14
06:00
Convert an assertion in fsl_annotate() into a proper error check. Triggered by an unclean build misbehaving. check-in: 58e7f6d7bf user: stephan tags: trunk
2022-11-12
09:45
Update some old appendf.c return semantics to the newer semantics. check-in: 0a13ca28c8 user: stephan tags: trunk
2022-10-18
13:50
Merge in trunk. Leaf check-in: 24a840f9cf user: stephan tags: dev-blame-ignore
2022-09-26
16:46
Removed some stray debug output. check-in: 1da9baf2b7 user: stephan tags: trunk
2022-09-15
07:14
f-merge: perform autosync-pull before merging. check-in: 10bedd2e61 user: stephan tags: trunk
2022-09-04
11:50
Latest upstream fnc. check-in: 267e51c927 user: stephan tags: trunk
2022-08-22
13:56
Corrected fsl_repo_zip_sym_to_filename() to honor the +x bit on in-repo files. Tweaked an unrelated TODO comment. check-in: cf41980877 user: stephan tags: trunk
2022-08-12
15:44
Compile fix for compilers which default enums to unsigned (gcc 11.2, apparently). check-in: 26a60721cd user: stephan tags: trunk
2022-08-10
09:25
f-rename now defaults the -mv flag to true if the app is invoked as f-mv or f-move. check-in: 99eed85229 user: stephan tags: trunk
2022-08-08
05:31
Squelched an arguably valid variadic function warning from clang 14. check-in: 35723c0bd1 user: stephan tags: trunk
2022-07-31
22:52
More generic internal cleanups. Removed undocumented -VV -VVV flags from fcli. check-in: 0df1833ab6 user: stephan tags: trunk
22:16
Merged in buffer-errcode branch with the hope of simplifying certain fsl_buffer usages. check-in: a76f8946f6 user: stephan tags: trunk
22:15
Generic internal cleanups. Closed-Leaf check-in: 1dffe8bdb0 user: stephan tags: buffer-errcode
21:16
Removed some extraneous is-NULL checks. Minor internal cleanups in error reporting. check-in: 53f847261b user: stephan tags: buffer-errcode
21:03
Make more use of fsl_buffer::errCode semantics. Make sure the fsl_error APIs ignore those semanics where necessary. check-in: 5049f44945 user: stephan tags: buffer-errcode
20:29
Initial work on fsl_buffer::errCode, for propagating buffer-API error codes to simplify (primarily) series of append operations such that we do not have to check for an OOM error until the end of the series. Essentially works but more testing and making use of it in the core API is needed. check-in: b5a98f8a9e user: stephan tags: buffer-errcode
20:29
f-ci: when -b BRANCH is supplied, skip the would-fork check, else it can lead to a would-fork error when trying to check in to a new branch from anywhere other than the tip. check-in: 16eb245dd4 user: stephan tags: trunk
2022-07-20
10:18
f-rm: added --rm as an alias for --unlink, for symmetry with f-rename --mv. Corrected help text for fcli's --lib-version flag. check-in: fe30de82c8 user: stephan tags: trunk
2022-07-06
07:34
Minor doc tweaks in autosetup code. check-in: 5527e4ca39 user: stephan tags: trunk
2022-07-03
08:11
Fixed broken like-clause formatting introduced in [b33abe472b58] (percent sign needed to be doubled). Fixes remote-host check in fcli_sync(). Unrelated minor formatting tweaks. check-in: b6df9a0845 user: stephan tags: trunk
2022-07-02
07:47
fcli_sync() is now a no-op if the repo config contains no 'syncwith:...' entries (avoids an error when doing initial checkin on a new repo with f-ci). When f-ci is checking in to a repo which has no commits, it now defaults the branch to trunk if no branch name is provided. It proviously left off the branch tags altogether, leading to a branchless checkin (harmless but confusing). check-in: b33abe472b user: stephan tags: trunk
2022-06-27
08:59
Replaced the fallthrough __attribute__ with a more portable macro. Added an #ifdef check for __unused, as my compiler (clang 10) doesn't know it. check-in: ed4d246451 user: stephan tags: trunk
08:58
Fixed auto.def's reading of ./manifest (to fish out the timestamp) to skip over the optional B-card in the manifest. check-in: be3deb1f28 user: stephan tags: trunk
08:53
__attribute__ gets (both) its wings check-in: d9f04ab3d2 user: bch tags: trunk
07:18
Tag ("(void)var;", or "__unused") vars that are not used, tag switch/case fallthroughs w/ __attribute ((fallthrough)); check-in: 73ee02a8fe user: bch tags: trunk
07:12
Complete struct initialization. check-in: 5a46f26b1c user: bch tags: trunk