summaryrefslogtreecommitdiff
path: root/testsuite/libsmbclient/src/rename
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/libsmbclient/src/rename')
-rw-r--r--testsuite/libsmbclient/src/rename/rename_1.c4
-rw-r--r--testsuite/libsmbclient/src/rename/rename_10.c4
-rw-r--r--testsuite/libsmbclient/src/rename/rename_11.c4
-rw-r--r--testsuite/libsmbclient/src/rename/rename_12.c4
-rw-r--r--testsuite/libsmbclient/src/rename/rename_13.c4
-rw-r--r--testsuite/libsmbclient/src/rename/rename_14.c4
-rw-r--r--testsuite/libsmbclient/src/rename/rename_2.c4
-rw-r--r--testsuite/libsmbclient/src/rename/rename_3.c4
-rw-r--r--testsuite/libsmbclient/src/rename/rename_4.c4
-rw-r--r--testsuite/libsmbclient/src/rename/rename_5.c4
-rw-r--r--testsuite/libsmbclient/src/rename/rename_6.c4
-rw-r--r--testsuite/libsmbclient/src/rename/rename_7.c4
-rw-r--r--testsuite/libsmbclient/src/rename/rename_8.c4
-rw-r--r--testsuite/libsmbclient/src/rename/rename_9.c4
14 files changed, 28 insertions, 28 deletions
diff --git a/testsuite/libsmbclient/src/rename/rename_1.c b/testsuite/libsmbclient/src/rename/rename_1.c
index 707ccffcf6..d2650f9615 100644
--- a/testsuite/libsmbclient/src/rename/rename_1.c
+++ b/testsuite/libsmbclient/src/rename/rename_1.c
@@ -31,8 +31,8 @@ int main(int argc, char** argv)
int err = -1;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 6 )
{
diff --git a/testsuite/libsmbclient/src/rename/rename_10.c b/testsuite/libsmbclient/src/rename/rename_10.c
index 3953cb1d39..42e5b55138 100644
--- a/testsuite/libsmbclient/src/rename/rename_10.c
+++ b/testsuite/libsmbclient/src/rename/rename_10.c
@@ -32,8 +32,8 @@ int main(int argc, char** argv)
int fd1 = 0;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 9 )
{
diff --git a/testsuite/libsmbclient/src/rename/rename_11.c b/testsuite/libsmbclient/src/rename/rename_11.c
index 5341197061..e161fd35ec 100644
--- a/testsuite/libsmbclient/src/rename/rename_11.c
+++ b/testsuite/libsmbclient/src/rename/rename_11.c
@@ -32,8 +32,8 @@ int main(int argc, char** argv)
int fd1 = 0;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 5 )
{
diff --git a/testsuite/libsmbclient/src/rename/rename_12.c b/testsuite/libsmbclient/src/rename/rename_12.c
index a088f66c4d..b4e80c897f 100644
--- a/testsuite/libsmbclient/src/rename/rename_12.c
+++ b/testsuite/libsmbclient/src/rename/rename_12.c
@@ -32,8 +32,8 @@ int main(int argc, char** argv)
int fd1 = 0;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 5 )
{
diff --git a/testsuite/libsmbclient/src/rename/rename_13.c b/testsuite/libsmbclient/src/rename/rename_13.c
index 073fbb6eaf..46fa9e312f 100644
--- a/testsuite/libsmbclient/src/rename/rename_13.c
+++ b/testsuite/libsmbclient/src/rename/rename_13.c
@@ -32,8 +32,8 @@ int main(int argc, char** argv)
int fd1 = 0;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 5 )
{
diff --git a/testsuite/libsmbclient/src/rename/rename_14.c b/testsuite/libsmbclient/src/rename/rename_14.c
index dc96a9e1a9..2ba64a56ce 100644
--- a/testsuite/libsmbclient/src/rename/rename_14.c
+++ b/testsuite/libsmbclient/src/rename/rename_14.c
@@ -32,8 +32,8 @@ int main(int argc, char** argv)
int fd1 = 0;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 5 )
{
diff --git a/testsuite/libsmbclient/src/rename/rename_2.c b/testsuite/libsmbclient/src/rename/rename_2.c
index ee0ad9734d..5340577036 100644
--- a/testsuite/libsmbclient/src/rename/rename_2.c
+++ b/testsuite/libsmbclient/src/rename/rename_2.c
@@ -31,8 +31,8 @@ int main(int argc, char** argv)
int err = -1;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 6 )
{
diff --git a/testsuite/libsmbclient/src/rename/rename_3.c b/testsuite/libsmbclient/src/rename/rename_3.c
index 06684a7d24..84dc3b440a 100644
--- a/testsuite/libsmbclient/src/rename/rename_3.c
+++ b/testsuite/libsmbclient/src/rename/rename_3.c
@@ -31,8 +31,8 @@ int main(int argc, char** argv)
int err = -1;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 6 )
{
diff --git a/testsuite/libsmbclient/src/rename/rename_4.c b/testsuite/libsmbclient/src/rename/rename_4.c
index 46d1119f26..fc75fca14c 100644
--- a/testsuite/libsmbclient/src/rename/rename_4.c
+++ b/testsuite/libsmbclient/src/rename/rename_4.c
@@ -31,8 +31,8 @@ int main(int argc, char** argv)
int err = -1;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 6 )
{
diff --git a/testsuite/libsmbclient/src/rename/rename_5.c b/testsuite/libsmbclient/src/rename/rename_5.c
index c579f2e94e..58cc902905 100644
--- a/testsuite/libsmbclient/src/rename/rename_5.c
+++ b/testsuite/libsmbclient/src/rename/rename_5.c
@@ -32,8 +32,8 @@ int main(int argc, char** argv)
int fd = 0;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 6 )
{
diff --git a/testsuite/libsmbclient/src/rename/rename_6.c b/testsuite/libsmbclient/src/rename/rename_6.c
index 4886298fce..7ea2afc603 100644
--- a/testsuite/libsmbclient/src/rename/rename_6.c
+++ b/testsuite/libsmbclient/src/rename/rename_6.c
@@ -32,8 +32,8 @@ int main(int argc, char** argv)
int fd = 0;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 6 )
{
diff --git a/testsuite/libsmbclient/src/rename/rename_7.c b/testsuite/libsmbclient/src/rename/rename_7.c
index aa2cbd2485..773cb6926d 100644
--- a/testsuite/libsmbclient/src/rename/rename_7.c
+++ b/testsuite/libsmbclient/src/rename/rename_7.c
@@ -33,8 +33,8 @@ int main(int argc, char** argv)
int fd2 = 0;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 6 )
{
diff --git a/testsuite/libsmbclient/src/rename/rename_8.c b/testsuite/libsmbclient/src/rename/rename_8.c
index 857286a9dc..6a44d9fb63 100644
--- a/testsuite/libsmbclient/src/rename/rename_8.c
+++ b/testsuite/libsmbclient/src/rename/rename_8.c
@@ -33,8 +33,8 @@ int main(int argc, char** argv)
int fd2 = 0;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 7 )
{
diff --git a/testsuite/libsmbclient/src/rename/rename_9.c b/testsuite/libsmbclient/src/rename/rename_9.c
index a868cb1b45..3f0386db00 100644
--- a/testsuite/libsmbclient/src/rename/rename_9.c
+++ b/testsuite/libsmbclient/src/rename/rename_9.c
@@ -32,8 +32,8 @@ int main(int argc, char** argv)
int fd1 = 0;
char url[MAX_BUFF_SIZE];
- bzero(g_workgroup,MAX_BUFF_SIZE);
- bzero(url,MAX_BUFF_SIZE);
+ memset(g_workgroup, '\0', MAX_BUFF_SIZE);
+ memset(url, '\0', MAX_BUFF_SIZE);
if ( argc == 9 )
{