mirror of
https://github.com/curl/curl.git
synced 2026-08-06 09:16:12 +03:00
language: s/behaviour/behavior/g
We currently use both spellings the british "behaviour" and the american "behavior". However "behavior" is more used in the project so I think it's worth dropping the british name. Closes #6395
This commit is contained in:
parent
aa71750687
commit
725ec470e2
28 changed files with 51 additions and 50 deletions
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 2017 - 2020 Red Hat, Inc.
|
||||
* Copyright (C) 2017 - 2021 Red Hat, Inc.
|
||||
*
|
||||
* Authors: Nikos Mavrogiannopoulos, Tomas Mraz, Stanislav Zidek,
|
||||
* Robert Kolcun, Andreas Schneider
|
||||
|
|
@ -1228,7 +1228,7 @@ static CURLcode myssh_statemach_act(struct connectdata *conn, bool *block)
|
|||
/* If we have restart position then open for append */
|
||||
flags = O_WRONLY|O_APPEND;
|
||||
else
|
||||
/* Clear file before writing (normal behaviour) */
|
||||
/* Clear file before writing (normal behavior) */
|
||||
flags = O_WRONLY|O_CREAT|O_TRUNC;
|
||||
|
||||
if(sshc->sftp_file)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -1894,7 +1894,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
|
|||
/* If we have restart position then open for append */
|
||||
flags = LIBSSH2_FXF_WRITE|LIBSSH2_FXF_APPEND;
|
||||
else
|
||||
/* Clear file before writing (normal behaviour) */
|
||||
/* Clear file before writing (normal behavior) */
|
||||
flags = LIBSSH2_FXF_WRITE|LIBSSH2_FXF_CREAT|LIBSSH2_FXF_TRUNC;
|
||||
|
||||
sshc->sftp_handle =
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 2019 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 2019 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -583,7 +583,7 @@ static CURLcode wssh_statemach_act(struct connectdata *conn, bool *block)
|
|||
/* If we have restart position then open for append */
|
||||
flags = WOLFSSH_FXF_WRITE|WOLFSSH_FXF_APPEND;
|
||||
else
|
||||
/* Clear file before writing (normal behaviour) */
|
||||
/* Clear file before writing (normal behavior) */
|
||||
flags = WOLFSSH_FXF_WRITE|WOLFSSH_FXF_CREAT|WOLFSSH_FXF_TRUNC;
|
||||
|
||||
memset(&createattrs, 0, sizeof(createattrs));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue