Meco Man hace 3 años
padre
commit
acb1e56b29

+ 0 - 20
CHANGELOG

@@ -1,20 +0,0 @@
-Changes on version 1.2.4 (current):
-- Minor code fixes and change code formatting.
-
-Changes on version 1.2.2:
-- Fix problem with TCP transmission stick package. Thanks to ljia310.
-
-Changes on version 1.2.1:
-- Fix allocating string memory.
-
-Changes on version 1.2.0:
-- Rename source files to avoid duplication with other software.
-
-Changes on version 1.1.0:
-- Add Objective-C client.
-
-Changes on version 1.0.0:
-- Stable release.
-
-Changes on version 0.0.1:
-- Initial implementation.

+ 3 - 3
SConscript

@@ -9,13 +9,13 @@ src = []
 inc = []
 
 # add librws common include
-inc = inc + [cwd + '/librws/inc']
+inc = inc + [cwd + '/inc']
 
 # add librws basic code
-src = src + Glob('librws/src/*.c')
+src = src + Glob('src/*.c')
 
 # add group to IDE project
-objs = DefineGroup('librws_rtthread', src, depend = ['PKG_USING_LIBRWS', 'RT_USING_PTHREADS'], CPPPATH = inc)
+objs = DefineGroup('librws', src, depend = ['PKG_USING_LIBRWS', 'RT_USING_PTHREADS'], CPPPATH = inc)
 
 # traversal subscript
 list = os.listdir(cwd)

+ 1 - 1
examples/SConscript

@@ -12,7 +12,7 @@ inc = []
 inc = inc + [cwd]
 
 # add librws basic code
-src = src + Glob('./*.c')
+src = src + Glob('*.c')
 
 # add group to IDE project
 objs = DefineGroup('librws_example', src, depend = ['LIBRWS_USING_EXAMPLE'], CPPPATH = inc)

+ 0 - 0
librws/inc/librws.h → inc/librws.h


+ 0 - 0
librws/inc/rws_common.h → inc/rws_common.h


+ 0 - 0
librws/inc/rws_error.h → inc/rws_error.h


+ 0 - 0
librws/inc/rws_frame.h → inc/rws_frame.h


+ 0 - 0
librws/inc/rws_list.h → inc/rws_list.h


+ 0 - 0
librws/inc/rws_memory.h → inc/rws_memory.h


+ 0 - 0
librws/inc/rws_socket.h → inc/rws_socket.h


+ 0 - 0
librws/inc/rws_string.h → inc/rws_string.h


+ 0 - 0
librws/inc/rws_thread.h → inc/rws_thread.h


+ 0 - 0
librws/src/librws.c → src/librws.c


+ 0 - 0
librws/src/rws_common.c → src/rws_common.c


+ 0 - 0
librws/src/rws_error.c → src/rws_error.c


+ 0 - 0
librws/src/rws_frame.c → src/rws_frame.c


+ 0 - 0
librws/src/rws_list.c → src/rws_list.c


+ 0 - 0
librws/src/rws_memory.c → src/rws_memory.c


+ 2 - 2
librws/src/rws_socketpriv.c → src/rws_socketpriv.c

@@ -1519,8 +1519,8 @@ void rws_socket_check_write_error(_rws_socket *s, int error_num)
     // send errors
     case EACCES: //
 
-    //		case EAGAIN: // The socket is marked nonblocking and the requested operation would block
-    //		case EWOULDBLOCK: // The socket is marked nonblocking and the receive operation would block
+    //      case EAGAIN: // The socket is marked nonblocking and the requested operation would block
+    //      case EWOULDBLOCK: // The socket is marked nonblocking and the receive operation would block
 
     case EBADF:        // An invalid descriptor was specified
     case ECONNRESET:   // Connection reset by peer

+ 0 - 0
librws/src/rws_socketpub.c → src/rws_socketpub.c


+ 0 - 0
librws/src/rws_string.c → src/rws_string.c


+ 0 - 0
librws/src/rws_thread.c → src/rws_thread.c