search for: 2lf

Displaying 3 results from an estimated 3 matches for "2lf".

Did you mean: 2l
2006 Feb 09
6
gcc4 compiler warnings
Hi all! The following files emits warnings when compiled with gcc 4.0: al175.c bcmxcp_ser.c belkinunv.c cyberpower.c everups.c powercom.c solis.c All warnings seem to be of this variety: everups.c:38: warning: pointer targets in passing argument 2 of 'ser_get_char' differ in signedness I suggest that those who fiddles with those drivers fixes the warnings and verifies that it works
2012 Feb 08
2
slow creating files
...e_t start, end; double diff; time(&start); to=fopen(argv[1], "w+"); for(i=0; i < fsize/100; i++) { fprintf(to, "\n%7d-%s",i, str); / fflush(to); // makes it slow!/ } fclose(to); time(&end); diff=difftime(end,start); printf("\n \t time_diff = %.2lf", diff); } This was started on Win7 client PC, It creates about 40 mbytes size file in pointed path. Comparing timings on our samba share and win2k3 share gives: ~40 seconds on Samba and on 3-4 seconds win2k3! That means that fflush cause dramatically slow down of fileshare. Alexey
2006 Aug 10
16
Error on Solaris
Hi everyone, I''m having a problem starting rails on solaris. I have made the changes suggested in the joyeur article but it doesn''t make any difference. The error is below. Does anyone have any idea? /opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:666:in `register'': undefined method `resolve'' for nil:Mongrel::URIClassifier (NoMethodError)