Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Improvement/fix for RecursiveCreateDir() (Windows version)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Michael L  
View profile  
 More options May 31 2012, 9:14 pm
From: Michael L <michael.lofg...@csiro.au>
Date: Thu, 31 May 2012 18:14:10 -0700 (PDT)
Local: Thurs, May 31 2012 9:14 pm
Subject: Improvement/fix for RecursiveCreateDir() (Windows version)
Hi,

The below changes alter the Windows version of RecursiveCreateDir() to
interpret both '/' and '\' as directory separators.

In ./libsrc/winnt/dirops_ew.c:
Change line 134 to:
char            find[] = "\\/";

Change line 161 to:
while ((where = strpbrk(dname, find)) != NULL) {

and we're done!

Cheers,

Michael


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.