[Ubuntu-x-swat] [Bug 1024785] Re: makedepend fails on CIFS mounted share

2012-08-09 Thread Glenn Burkhardt
I had submitted the bug report and patch to X.org at the same time I logged it 
here.  Please reference 
https://bugs.freedesktop.org/show_bug.cgi?id=52099


** Bug watch added: freedesktop.org Bugzilla #52099
   https://bugs.freedesktop.org/show_bug.cgi?id=52099

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xutils-dev in Ubuntu.
https://bugs.launchpad.net/bugs/1024785

Title:
  makedepend fails on CIFS mounted share

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xutils-dev/+bug/1024785/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1024785] [NEW] makedepend fails on CIFS mounted share

2012-07-14 Thread Glenn Burkhardt
Public bug reported:

When a filesystem is mounted with 'smbfs', or as a shared folder in
VirtualBox, and the filesystem host is a Windows system, 'makedepend'
will fail when it tries to rename the target makefile.  It's been
recognized that this operation doesn't work, for there is conditional
code to handle it when the target OS is WIN32, UNIXOS2, or CYGWIN.  The
problem is that if the program has opened the 'makefile', and has an
active file descriptor to the file, the 'rename()' function won't work.

A modest rewrite of the code will allow it to work for all OS's, and
avoid the conditional code.  The check for file exists can be made by
handing the return from 'stat()' in the case when -f has specified the
'makefile'.

Please see attached patch.

** Affects: xutils-dev (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xutils-dev in Ubuntu.
https://bugs.launchpad.net/bugs/1024785

Title:
  makedepend fails on CIFS mounted share

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xutils-dev/+bug/1024785/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1024785] Re: makedepend fails on CIFS mounted share

2012-07-14 Thread Glenn Burkhardt
** Patch added: Patch for 'makedepend' rename() bug on CIFS shares
   
https://bugs.launchpad.net/bugs/1024785/+attachment/3223433/+files/renamePatch

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xutils-dev in Ubuntu.
https://bugs.launchpad.net/bugs/1024785

Title:
  makedepend fails on CIFS mounted share

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xutils-dev/+bug/1024785/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp