Messages - Jibz [ switch to compact view ]

Pages: prev1 [2] 3 4 5 6 7 ... 230next
6
If you allow moving between folders as well as renaming you may get into some interesting issues.

One problem is that you are not guaranteed what order you get files and folders in, so one run could have a move fail because the target file exists, while another can succeed because the file with the target name was processed earlier and moved.

For instance if you have x/x/x/ containing x/foo and x/x/foo, and you move foo to x/foo recursively, then if you process x/foo before recursing into x/x/, it will fail, but if you recurse into x/x/ and move x/x/foo first, then moving x/foo will later succeed.

Even worse, C++ does not guarantee if any files or folders created after you create the directory iterator show up in it, so you could potentially have a rename bomb if you rename for instance f(o+)x to f$1$1x.

7
Living Room / Re: I'm getting married, wish me luck!
« on: December 05, 2018, 06:01 AM »
How did I miss this thread?! Congratulations! :-*

8
Found Deals and Discounts / Re: Black Friday / Cyber Monday 2018
« on: November 26, 2018, 04:25 PM »
Beyond Compare - 25% off, monday only

9
Found Deals and Discounts / Re: Black Friday / Cyber Monday 2018
« on: November 26, 2018, 10:27 AM »
Missed this one:

The Pragmatic Bookshelf 40% off

10
Found Deals and Discounts / Re: Black Friday / Cyber Monday 2018
« on: November 26, 2018, 09:27 AM »
Another couple of regulars:

IDM (makers of UltraEdit) 25% off, cyber monday

CintaNotes - 50% off lifetime with CMON2018LIFETIME, 25% off regular and renewals with CMON2018

Pages: prev1 [2] 3 4 5 6 7 ... 230next
Go to full version