FileRunner - my personal patched version
From: mfarner (slan.netw.wwws_at_dfgh.net)
Date: 07/17/04
- Previous message: Pat Thoyts: "Re: [Windows - Cygwin] 'exec' command and { -> \{"
- Next in thread: Kevin Kenny: "Re: FileRunner - my personal patched version"
- Reply: Kevin Kenny: "Re: FileRunner - my personal patched version"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: Pat Thoyts: "Re: [Windows - Cygwin] 'exec' command and { -> \{"
- Next in thread: Kevin Kenny: "Re: FileRunner - my personal patched version"
- Reply: Kevin Kenny: "Re: FileRunner - my personal patched version"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|