please test my code!!!

This is a discussion on please test my code!!! within the Linux Programming forums, part of the Platform Specific Boards category; I am a long time redhat user and I need someone else running linux/GNU to compile and test a brief ...

  1. #1
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300

    please test my code!!!

    I am a long time redhat user and I need someone else running linux/GNU to compile and test a brief piece of code for me. I posted it this morning on the C programming board, and I've also posted it on comp.lang.c and comp.unix.programmer. Altho I got I number of helpful comments, formatting tips, et. al. no one actually addressed the question i actually asked or tested the script itself -- I would like to know if it produces the same (unexpected, unexplained) results i got and why YOU think that happened, since obviously the reason for the error is not apparent to those who just scanned it.

    Anyway the original post is directory operations, linux.

    please help!!
    Last edited by MK27; 07-09-2008 at 07:52 PM. Reason: punctuation

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Or get a small distro and try it out for yourself, it'd be about a 50mb download. Try Feather Linux, Puppy or Arch (I say Arch ) -- to name a few

    Not to mention if you had any other 'requests' in the future, you could run it for yourself. Rather than making demands.

    Or use Cygwin, http://www.cygwin.com/ (closer to Linux than Windows )
    Last edited by zacs7; 07-09-2008 at 07:30 PM.

  3. #3
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    There is a misunderstanding -- I AM USING LINUX, gcc 4.1.2 & 3.36, I just want to confirm that the problem i am having is not some form of file system corruption here -- in other words the code i wrote may work flawlessly for you.

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,494
    One thread is enough.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 03:17 PM
  2. test code
    By egomaster69 in forum C Programming
    Replies: 3
    Last Post: 12-20-2004, 06:04 PM
  3. Code to test if a tree is balanced
    By rahuls in forum C Programming
    Replies: 1
    Last Post: 03-20-2003, 01:41 PM
  4. Seems like correct code, but results are not right...
    By OmniMirror in forum C Programming
    Replies: 4
    Last Post: 02-13-2003, 12:33 PM
  5. Replies: 4
    Last Post: 01-15-2002, 11:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21