Task #129

Write a utility function to hide converting to a native path

Added by Alistair Leslie-Hughes almost 8 years ago. Updated almost 8 years ago.

Status:FixedStart date:06/09/2010
Priority:NormalDue date:
Assignee:Alistair Leslie-Hughes% Done:

100%

Category:-
Target version:0.64.5

Description

Write some utility functions to hide the some #ifdef. We then have less places using #

#ifdef __CYGWIN
cygwin_conv_to_posix_path(info->scene, scene);
#else
strncpy(scene,info->scene,MAXCMDLEN-1);
#endif

New Function;
void drw_convert_to_path(char *pDst, int nMaxDstLen, const char *pSrc)
with the above #ifdef.

History

#1 Updated by Andreas Schröder almost 8 years ago

  • Tracker changed from Bug to Task

#2 Updated by Alistair Leslie-Hughes almost 8 years ago

  • % Done changed from 0 to 100

#3 Updated by Alistair Leslie-Hughes almost 8 years ago

  • Status changed from New to Fixed

Also available in: Atom PDF