1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-01 11:26:53 +03:00

tidy-up: avoid word 'just'

Cherry-picked from #1017
This commit is contained in:
Viktor Szakats
2023-04-30 11:27:48 +00:00
parent 081c04571b
commit 31851511bf
4 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
echo "***" >&2 echo "***" >&2
echo "*** Do not use buildconf. Instead, just use: autoreconf -fi" >&2 echo "*** Do not use buildconf. Instead, use: autoreconf -fi" >&2
echo "*** Doing it for you now, but buildconf may disappear in the future." >&2 echo "*** Doing it for you now, but buildconf may disappear in the future." >&2
echo "***" >&2 echo "***" >&2

View File

@ -89,8 +89,8 @@ The previous examples used CMake to start the build using:
cmake --build . cmake --build .
Alternatively, once CMake has configured your project, you can just Alternatively, once CMake has configured your project, you can use
use your own build tool, e.g GNU make, Visual Studio, etc., from that your own build tool, e.g GNU make, Visual Studio, etc., from that
point onwards. point onwards.
Tests Tests
@ -130,16 +130,16 @@ How can I use libssh2 in my project if it also uses CMake?
---------------------------------------------------------- ----------------------------------------------------------
If your own project also uses CMake, you do not need to worry about If your own project also uses CMake, you do not need to worry about
setting it up with libssh2's location. Just add just the following setting it up with libssh2's location. Add the following lines and
lines and CMake will find libssh2 on your system, set up the necessary CMake will find libssh2 on your system, set up the necessary paths and
paths and link the library with your binary. link the library with your binary.
find_package(Libssh2 REQUIRED CONFIG) find_package(Libssh2 REQUIRED CONFIG)
target_link_libraries(my_project_target Libssh2::libssh2) target_link_libraries(my_project_target Libssh2::libssh2)
Of course, you still have to make libssh2 available on your system Of course, you still have to make libssh2 available on your system
first. You can install it in the traditional way shown above, but you first. You can install it in the traditional way shown above, but you
do not have to. Instead you can just build it, which will export its do not have to. Instead you can build it, which will export its
location to the user package registry [3] where `find_package` will location to the user package registry [3] where `find_package` will
find it. find it.

View File

@ -14,7 +14,7 @@ libssh2_channel_set_blocking(LIBSSH2_CHANNEL *channel, int blocking);
\fIblocking\fP - Set to a non-zero value to make the channel block, or zero to \fIblocking\fP - Set to a non-zero value to make the channel block, or zero to
make it non-blocking. make it non-blocking.
Currently this is just a short cut call to Currently this is a short cut call to
.BR libssh2_session_set_blocking(3) .BR libssh2_session_set_blocking(3)
and therefore will affect the session and all channels. and therefore will affect the session and all channels.
.SH RETURN VALUE .SH RETURN VALUE

View File

@ -11,7 +11,7 @@ libssh2_free(LIBSSH2_SESSION *session, void *ptr);
.SH DESCRIPTION .SH DESCRIPTION
Deallocate memory allocated by earlier call to libssh2 functions. It Deallocate memory allocated by earlier call to libssh2 functions. It
uses the memory allocation callbacks provided by the application, if uses the memory allocation callbacks provided by the application, if
any. Otherwise, this will just call free(). any. Otherwise, this will call free().
This function is mostly useful under Windows when libssh2 is linked to This function is mostly useful under Windows when libssh2 is linked to
one run-time library and the application to another. one run-time library and the application to another.