CiscoDevNet / csmp-agent-lib

OpenCSMP: CiscoDevNet Opensource CSMP-Agent Library (Formerly CSMP-Agent)
https://github.com/CiscoDevNet/csmp-agent-lib
Apache License 2.0
5 stars 3 forks source link

Fix file encoding issues #7

Closed manojnacsl closed 1 year ago

manojnacsl commented 1 year ago

Fix file (eol) encoding issues A few files had Windows CRLF(^M) line encoding instead of the recommended Unix encodings causing a few SCM tools to break.

manojnacsl@lnx: ~/csmp-agent-lib
% file include/csmp_service.h
include/csmp_service.h: c program text, Unicode text, UTF-8 text

manojnacsl@lnx: ~/csmp-agent-lib
% file include/csmp_info.h
include/csmp_info.h: c program text, ASCII text, with CRLF, LF line terminators

manojnacsl@lnx: ~/csmp-agent-lib
% file src/csmpapi/csmpinfo.h
src/csmpapi/csmpinfo.h: c program text, ASCII text, with CRLF, LF line terminators

 33 ^M
 34 ^M
 35 // structs for each tlv^M
 36 typedef struct _Hardware_Desc Hardware_Desc;^M
 37 typedef struct _Interface_Desc Interface_Desc;^M
 38 typedef struct _IP_Address IP_Address;^M
 39 typedef struct _IP_Route IP_Route;^M
 40 typedef struct _Current_Time Current_Time;^M
 41 typedef struct _Up_time Up_Time;^M