It's UWAweek 30 (2nd semester, week 1)

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 1168 articles.
Currently 14 other people reading this forum.


 UWA week 41 (2nd semester, week 11) ↓
SVG not supported

Login to reply

👍?
helpful
1:18pm Mon 9th Oct, Christopher M.

ANONYMOUS wrote:
> Hi Chris, > > In my file system I have: > dir1 > └── dir2 > └── hi.txt > > When I run `./mysync.c -r dir1 dir1/dir2`, my code goes on infinitely creating a copy of dir2 inside itself. I was wondering if this is meant to happen (and it is simply invalid to sync a directory and it's child), or is there another way to sync them without an infinite chain?
Clearly it makes no sense to create infinitely long directory chains (no utilitiy program would correctly do that). It sounds like you're creating things before you determine whether you need to.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  7:24AM Jul 25 2024
Privacy policy