diff options
author | Steve Bennett <steveb@workware.net.au> | 2010-01-24 12:11:20 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-10-15 11:02:44 +1000 |
commit | 9652302fec62f76bf894c6b9eb849bda6994c293 (patch) | |
tree | ca40df6d8ea59c853066b7c5361238d8fdc6be49 /jim-package.c | |
parent | a7335808c5725934d81dbe68247b62a6ab08bf2f (diff) | |
download | jimtcl-9652302fec62f76bf894c6b9eb849bda6994c293.zip jimtcl-9652302fec62f76bf894c6b9eb849bda6994c293.tar.gz jimtcl-9652302fec62f76bf894c6b9eb849bda6994c293.tar.bz2 |
Various general fixes and cleanups
Add lsearch -command, update case to use lsearch
Rename tcl6.tcl to tclcompat.tcl
Remove // style comments
Expand some tabs to spaces
Fix some compiler warnings
Remove some unused functions
Don't close fd=-1 in exec
Diffstat (limited to 'jim-package.c')
-rw-r--r-- | jim-package.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/jim-package.c b/jim-package.c index 264c95e..52818b8 100644 --- a/jim-package.c +++ b/jim-package.c @@ -160,13 +160,13 @@ int Jim_PackageRequire(Jim_Interp *interp, const char *name, int flags) * * package provide name ?version? * - * This procedure is invoked to declare that a particular version - * of a particular package is now present in an interpreter. There - * must not be any other version of this package already - * provided in the interpreter. + * This procedure is invoked to declare that a particular version + * of a particular package is now present in an interpreter. There + * must not be any other version of this package already + * provided in the interpreter. * * Results: - * Returns JIM_OK and sets the package version (or 1.0 if not specified). + * Returns JIM_OK and sets the package version (or 1.0 if not specified). * *---------------------------------------------------------------------- */ @@ -185,11 +185,11 @@ static int package_cmd_provide(Jim_Interp *interp, int argc, Jim_Obj *const *arg * * package require name ?version? * - * This procedure is load a given package. - * Note that the version is ignored. + * This procedure is load a given package. + * Note that the version is ignored. * * Results: - * Returns JIM_OK and sets the package version. + * Returns JIM_OK and sets the package version. * *---------------------------------------------------------------------- */ @@ -209,10 +209,10 @@ static int package_cmd_require(Jim_Interp *interp, int argc, Jim_Obj *const *arg * * package list * - * Returns a list of known packages + * Returns a list of known packages * * Results: - * Returns JIM_OK and sets a list of known packages. + * Returns JIM_OK and sets a list of known packages. * *---------------------------------------------------------------------- */ |