Mail Archives: djgpp/2000/09/20/18:05:21
In article <tathss002t13qf03ol5chdijdklf8s1sk1 AT 4ax DOT com>,
Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p> wrote:
> On Tue, 19 Sep 2000 23:57:13 GMT, damon AT redshift DOT com wrote:
>
> >I'm working on a proprietary file compression program
>
> Why not just use zlib or bzip2 (non-copylefted free software lossless
> data compression libraries)?
> http://www.info-zip.org/pub/infozip/zlib/
> http://sources.redhat.com/bzip2/
>
> >for an emergency OS recovery package
>
> Oh, a backup program. Continue.
Sort of. It backs up the data along with long filenames, etc... ^^;;;
> >and I've run across a problem with _fixpath. I'm porting my code
> >from MSVC 1.52 and I'd rather not have to change all of my
> >backslashes to forward slashes in the directory parsing code unless
> >I absolutely have to.
>
> search for \\ and replace with /
> is it that tough?
I'd rather not do that because I'm trying to maintain cross-compiler
compatibility for the moment. I ended up fixing up the output of
_fixpath instead. I might make the changeover later, tho.
> >I understand that _fixpath, by default, returns lower case paths with
> >UNIX-style (forward) slashes.
>
> short answer: It's not a bug; it's a feature. ;-)
Umm...yeah. Woops. ^^;;;;
> long answer:
> This type of behavior fits into the UNIX framework around which the C
> language was built (even though _fixpath() itself isn't defined in the
> POSIX standard) and makes your backup program a bit more portable to
> other systems.
It's not designed to be portable, actually. It's designed to back up
WinBlows OS installations. ;-)
Damon Casale, damon AT redshift DOT com
Portable? In the 80's, "portable" meant a 30-pound "suitcase" computer.
Sent via Deja.com http://www.deja.com/
Before you buy.
- Raw text -