Search results

  1. Alt

    valgrind in jail

    Your int* will be cut by the compiler cus because it is not used.
  2. Alt

    valgrind in jail

    Hello gentlemen, I have an issue with valgrind - seems it's not working in a jail (on my VPS). Sample program: #include <iostream> int main() {...
  3. Alt

    svn setting

    So its opened but can be filtered with firewall
  4. Alt

    Question on installing pl files

    /usr/local/lib/perl is a place for perl libraries, not scripts
  5. Alt

    svn setting

    What is zenmap? xD Try to look port from console:sockstat -ln4
  6. Alt

    svn setting

    Put this in /etc/rc.conf: svnserve_enable="YES" #Optional lines svnserve_flags="-d --listen-port=1234" svnserve_user="www" svnserve_data="/store/svn/" And start daemon with /usr/local/etc/rc.d/svnserve start So, SVN can work with apache (webdav) or standalone daemon (svnserve).
  7. Alt

    image not being output with script

    echo is a tool for printing text not a binary data like images. binary mode forbids editing stream being output to stdout. And I dont know how to switch it in shellscript =)
  8. Alt

    image not being output with script

    Script output must be in binmode, right?
  9. Alt

    Bug in Perl script

    I'd say it should be like my $eRes = eval { ...; return 1; }; unless( $eRes ) { ...; }Or maybe more simple variant:eval { ...; return 1; } || do { ...; } This cus some errors can put "0" or "" into $@ variable. Already got this kind of problem with DBI exceptions
  10. Alt

    Problem with fonctions c file.

    Yes without prototype it will be "unresolve" error. But one *.o file should have declaration normal while other file should have somthing like this extern int fonction1(void);
  11. Alt

    Problem with fonctions c file.

    Including function.h from your main.c should give fail if you trying to make two object files (main.o and function.o). This is because including function.h declares "int fonction1(void)" protoype which is not resolved without function.c. For this things there is a extern modifier in C language...
  12. Alt

    Great Uptime FYI

    Haha this list should be renamed to "hackme top list"
  13. Alt

    Great Uptime FYI

    ...and seems it outlived most of kernel patches...
  14. Alt

    Add a FreeBSD user from c++

    Open adduser's source and look xD
  15. Alt

    Bug in Perl script

    I think there is no such glob LOG outside eval block so your close ignored. Anyway better if you dont use external programs in your script, so SirDice's suggestion is better
  16. Alt

    /bin/sh read words with string.

    Why not use makefile for that ? CXX = cc CXXFLAGS = -Wall -I /usr/home/iam/work LDFLAGS = all: mypo mypo: mypo.c file1.c file2.c file3.c $(CXX) $(CXXFLAGS) $(LDFLAGS) $> .PHONY: clean clean: rm -f mypo *.o
  17. Alt

    C - include + define - I have a question.

    Instead #define (or with them) you can set #pragma once - most compilers support it
  18. Alt

    problem with seq

    Script kiddiez attack
  19. Alt

    problem with seq

    I hope you will get a 1 month ban for each extra topic
  20. Alt

    problem with seq

    deleted
Back
Top