On Mon, Mar 1, 2010 at 4:45 PM, Mads Hjorth <[email protected]> wrote:
> I am sorry. I was building an older version. I am just use to press the
> biggest and brightest button on the page :-)
>
>
I can't quite figure out how Sourceforge chooses the "latest" verion. They
keep "improving" their file upload process, but they seem to have lost the
concept of a release.
> 2.7p29 is a different story.
>
> Besides two new dependencies to bash and sed (that I will try to fix), I
> see a problem in the owhttpd part.
>
> ...
>
> /home/download/owfs-2.7p29/module/owlib/src/c/.libs/libow.so: warning:
> strcpy() is almost always misused, please use strlcpy()
> /home/download/owfs-2.7p29/module/owlib/src/c/.libs/libow.so: warning:
> strcat() is almost always misused, please use strlcat()
> /home/download/owfs-2.7p29/module/owlib/src/c/.libs/libow.so: warning:
> sprintf() is often misused, please use snprintf()
>
This is a BSD vs Gnu difference. I like the BSD versions of the string
functions, but they aren't consistently available in Linux. In any case, the
functions are NOT misused in this case. And I do test.
> owhttpd_handler.o(.text+0x63f): In function `handle_POST':
> /home/download/owfs-2.7p29/module/owhttpd/src/c/owhttpd_handler.c:193:
> undefined reference to `getline'
> owhttpd_handler.o(.text+0xbb1): In function `ReadToCRLF':
> /home/download/owfs-2.7p29/module/owhttpd/src/c/owhttpd_handler.c:335:
> undefined reference to `getline'
> owhttpd_handler.o(.text+0xcad): In function `GetPostPath':
> /home/download/owfs-2.7p29/module/owhttpd/src/c/owhttpd_handler.c:372:
> undefined reference to `getline'
> owhttpd_handler.o(.text+0xdce): In function `GetPostData':
> /home/download/owfs-2.7p29/module/owhttpd/src/c/owhttpd_handler.c:411:
> undefined reference to `getline'
>
>
Another BSD vs Gnu fight. The gnu getline is far better than using fgets.
Perhaps there is a compatible replacement function to use if getline isn't
available.
Paul Alfille
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers