svn commit: samba r12467 - in branches/SAMBA_3_0: .
examples/libsmbclient
derrell at samba.org
derrell at samba.org
Sun Dec 25 02:00:36 GMT 2005
Author: derrell
Date: 2005-12-25 02:00:35 +0000 (Sun, 25 Dec 2005)
New Revision: 12467
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12467
Log:
r12029 at cabra: derrell | 2005-12-24 20:25:59 -0500
add another libsmbclient test program
Modified:
branches/SAMBA_3_0/
branches/SAMBA_3_0/examples/libsmbclient/Makefile
branches/SAMBA_3_0/examples/libsmbclient/teststat.c
Changeset:
Property changes on: branches/SAMBA_3_0
___________________________________________________________________
Name: svk:merge
- 3a72dc49-98ff-0310-ab52-9b7ed7945d91:/local/samba3:12028
+ 3a72dc49-98ff-0310-ab52-9b7ed7945d91:/local/samba3:12029
Modified: branches/SAMBA_3_0/examples/libsmbclient/Makefile
===================================================================
--- branches/SAMBA_3_0/examples/libsmbclient/Makefile 2005-12-25 02:00:21 UTC (rev 12466)
+++ branches/SAMBA_3_0/examples/libsmbclient/Makefile 2005-12-25 02:00:35 UTC (rev 12467)
@@ -17,6 +17,7 @@
testbrowse \
testbrowse2 \
teststat \
+ teststat2 \
testchmod \
testutime \
testread
@@ -47,6 +48,10 @@
@echo Linking teststat
@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ /usr/local/samba/lib/libsmbclient.so -lpopt $<
+teststat2: teststat2.o
+ @echo Linking teststat2
+ @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ /usr/local/samba/lib/libsmbclient.so -lpopt $<
+
testchmod: testchmod.o
@echo Linking testchmod
@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ /usr/local/samba/lib/libsmbclient.so -lpopt $<
Modified: branches/SAMBA_3_0/examples/libsmbclient/teststat.c
===================================================================
--- branches/SAMBA_3_0/examples/libsmbclient/teststat.c 2005-12-25 02:00:21 UTC (rev 12466)
+++ branches/SAMBA_3_0/examples/libsmbclient/teststat.c 2005-12-25 02:00:35 UTC (rev 12467)
@@ -48,7 +48,7 @@
return 1;
}
- printf("SAMBA\n mtime:%lu/%s ctime:%lu/%s atime:%lu/%s\n",
+ printf("\nSAMBA\n mtime:%lu/%s ctime:%lu/%s atime:%lu/%s\n",
st.st_mtime, ctime_r(&st.st_mtime, mtime),
st.st_ctime, ctime_r(&st.st_ctime, ctime),
st.st_atime, ctime_r(&st.st_atime, atime));
More information about the samba-cvs
mailing list