-
I ran valgrind on GNU's ls (and ls with any flag) and received the following results:
tzick002@hammer $ valgrind ls
==19159== Memcheck, a memory error detector
==19159== Copyright (C) 2002-2012, an…
-
In my preview homework, sometimes it is said that my test cases were not enough. If I would like to reshow it, what should I do? Do I delete my old tags and create ones with new scripts? Or I just upd…
-
`getlogin()` works fine when I do `./a.out` by itself, but when I run `script` and then `./a.out`, `getlogin()` fails to return the login name until I exit the script in which case it works fine agai…
-
My idea for homework 4 is to create a side by side comparison of how to use strtok and boost tokenizer in the same tutorial. In this way the user/ reader can see the pros and cons of using each other.…
-
Running valgrind on my executable reveals that I have 70 bytes possibly lost.
I tried to interpret what I could from valgrind and it looks like it is finding issues within the following functions
ma…
-
When I run rshell in a normal terminal, it works perfectly fine. However when I start a script and attempt to my rshell it gives me a segfault right away. I ran gdb during the script to find the segfa…
-
I believe my `rshell` has been misgraded. Zachary Benavides authored my grade file.
My grade file: [link](https://github.com/M-Evans/ucr-cs100/blob/grades/assignments/hw/hw3-signals/grade)
My test f…
-
I got a 0/100 for this:
`-100: no test script for hw3 found`
After looking at my tags, I must have forgotten to add my test script to a commit, and did not update my tag when I later found out on my…
-
In our script should we do all our tests while running valgrind?
For example, calling "valgrind bin/rshell" and then doing all our tests with valgrind displaying the memory leak report at the end?
-
When I run `rshell` within itself, `getenv("PATH")` only gets one path when it should get just as many paths as the original `rshell`.
For instance, my first call to `rshell` gives the paths:
`/usr…