FileRunner - my personal patched version

From: mfarner (slan.netw.wwws_at_dfgh.net)
Date: 07/17/04

  • Next message: Clemens Hintze: "Re: tcl strings"
    Date: 17 Jul 2004 01:25:34 -0700
    
    

    if anyone's interested, i've got a mega patched FileRunner
    which will now list most archives, defaults to bzip2 archiving
    as well as tar.bz2 archiving, some other mindless tweaks,
    and some example configs.
    It can be found here:
    http://www.freewebs.com/specfiles/specalls/specalls.html
    If you don't use slackware or don't have rpm,
    just get the slaker and edit the slackbuild to your needs.

    Note: I am not a programmer, but I do have a code question.
    When compiling FileRunner with the tcl 8.4.x,
    I get the following 'warning' during compilation.
    Is there an easy fix for these warnings?
    The program still compiles and works fine.

    This is probably going to get wrapped and look all wrong.

    gcc -Wall -fPIC -O3 -march=i686 -I/usr/lib/tcl8.4 -I/usr/lib/tk8.4
    -I/usr/X11R6/include -c -o ext.o ext.c
    ext.c: In function `Ext_Init':
    ext.c:95: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:96: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:97: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:98: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:99: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:100: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:101: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:102: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:103: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:104: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:105: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:106: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:107: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:108: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    ext.c:109: warning: passing arg 3 of `Tcl_CreateCommand' from
    incompatible pointer type
    gcc -shared -Wl,-soname,ext.so -o ext.so ext.o

     and here are the lines in ext.c:

        Tcl_CreateCommand(interp, "GetTimeFromSecs", GetTimeFromSecs,
    NULL, NULL);
        Tcl_CreateCommand(interp, "GetTimeFromSecsSetFormat",
    GetTimeFromSecsSetFormat, NULL, NULL);
        Tcl_CreateCommand(interp, "GetStringFromMode", GetStringFromMode,
    NULL, NULL);
        Tcl_CreateCommand(interp, "GetUidGidString", GetUidGidString,
    NULL, NULL);
        Tcl_CreateCommand(interp, "FTP_CreateServerSocket",
    FTP_CreateServerSocket, NULL, NULL);
        Tcl_CreateCommand(interp, "FTP_Socket", FTP_Socket, NULL, NULL);
        Tcl_CreateCommand(interp, "FTP_AcceptConnect", FTP_AcceptConnect,
    NULL, NULL);
        Tcl_CreateCommand(interp, "FTP_Copy", FTP_Copy, NULL, NULL);
        Tcl_CreateCommand(interp, "FTP_Close", FTP_Close, NULL, NULL);
        Tcl_CreateCommand(interp, "FTP_OpenFile", FTP_OpenFile, NULL,
    NULL);
        Tcl_CreateCommand(interp, "FTP_ReadText", FTP_ReadText, NULL,
    NULL);
        Tcl_CreateCommand(interp, "FTP_WriteText", FTP_WriteText, NULL,
    NULL);
        Tcl_CreateCommand(interp, "GetDF", GetDF, NULL, NULL);
        Tcl_CreateCommand(interp, "ClockMilliSeconds", ClockMilliSeconds,
    NULL, NULL);
        Tcl_CreateCommand(interp, "GetEuid", GetEuid, NULL, NULL);

     the whole ext.c file is dedicated to these commands but I didn't
    want to post the whole thing here. i told you i was not a programmer.


  • Next message: Clemens Hintze: "Re: tcl strings"

    Relevant Pages

    • Re: Creating Driver for ACX100 wireless adapter
      ... ../include/p80211netdev.h:587: warning: implicit declaration of function ... acx100.c:551: warning: assignment from incompatible pointer type ... acx100.c:566: warning: passing arg 1 of `acx100_reset_dev' from ...
      (alt.os.linux.suse)
    • Installation of Tcl/Tk on IBM-AIX
      ... tclUnixChan.c:1665: warning: passing arg 3 of `ngetpeername' from ... tclUnixChan.c:2490: error: `readyMasks' undeclared (first use in this ...
      (comp.unix.aix)
    • Re: [ANN] OpenGL-0.32g for Apple MacOS X
      ... > your compile includes this flag? ... glu.c:1185: warning: passing arg 2 of `ary2cint' from incompatible pointer type ...
      (comp.lang.ruby)
    • Pb to build GD 1.38
      ... GD.xs:368: warning: passing arg 1 of `gdImageCreateFromPng' from ...
      (comp.lang.perl.modules)
    • DBD::ODBC compile problem from v1.00 to 1.09 on RH73
      ... Warning: LD_LIBRARY_PATH doesn't include /usr ... dbdimp.c:162: warning: passing arg 1 of `fprintf' makes pointer from ... integer without a cast ...
      (perl.dbi.users)