Ticket #6384 (assigned defect)

Bug contains 4 commit(s) | SVN Diffs for #6384

 

Opened 2 months ago

Last modified 3 weeks ago

uprv_mkdir gives error in cygwin when trying to create existing directory

Reported by: bdrower Assigned to: bdrower (accepted)
Priority: major Milestone: 4.2
Component: tools Version: 4.0
Keywords: Cc:
Load: Xref:
Java Version: Operating System:
Project (C/J): ICU4C Weeks:
Review: srl

Description

when running icupkg from the genrb make file on cygwin, uprv_mkdir gives an error code 4

Code where error is printed is in icu4c/source/tools/toolutil/package.cpp: makeFullFilenameAndDirs

error looks like this:

INFO: {Command: /cygdrive/c/icu4c/source/tools/genrb/../../../source/bin/icupkg -tb /cygdrive/c/icu4c/source/tools/genrb/../../../source/data/out/build/icudt40l /*.*} Command: /cygdrive/c/icu4c/source/tools/genrb/../../../source/bin/icupkg -tb /cy gdrive/c/icu4c/source/tools/genrb/../../../source/data/out/build/icudt40l/af.res

/cygdrive/c/icu4c/source/tools/genrb/temp/com/ibm/icu/impl/data/icudt40b/af.res

.. icupkg: unable to create tree directory "/cygdrive/c" ERROR: Execution of Command: /cygdrive/c/icu4c/source/tools/genrb/../../../sourc e/bin/icupkg -tb /cygdrive/c/icu4c/source/tools/genrb/../../../source/data/out/b uild/icudt40l/af.res /cygdrive/c/icu4c/source/tools/genrb/temp/com/ibm/icu/impl/ data/icudt40b/af.res.. returned (4) make: *** [build-icu4j] Error 1

Attachments

Change History

06/25/08 14:09:02 changed by bdrower

  • status changed from new to assigned.

Modifications made: In icu4c/source/tools/toolutil/toolutil.c: Added Cygwin specific code to upvr_mkdir so that Cygwin will not error out when trying to mkdir a directory that already exists.

07/10/08 14:54:43 changed by yoshito

  • milestone changed from 4.0 to 4.2.

08/08/08 14:03:16 changed by bdrower

  • revw set to srl.

Committed changes. Review assigned


Add/Change #6384 (uprv_mkdir gives error in cygwin when trying to create existing directory)




Anti spam check: