Re: Portability of $(expr) vs `expr` in bash

2005-07-30 Thread Leonard den Ottolander
Hi wwp,

On Fri, 2005-07-29 at 08:53, wwp wrote:
 If your concern is bash only:

Yes. Although I somewhat presumptuously assumed /bin/sh == bash. Not
sure if that is too presumptuous, or that this assumption is shared
throughout the code base.

 How old are the bash versions that don't support $(expr)?

Are there ways to use macros in .sh.in files to substitute with either
'`'  '`' or '$('  ')'?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


[bug #13832] Cannot execute user menu command if temporary directory is in filesystem mounted with noexec option

2005-07-30 Thread Leonard den Ottolander

Follow-up Comment #5, bug #13832 (project mc):

Before committing this patch I'd like to see it extended in either of the
following ways first:

a) Test for mount options of $MC_TMPDIR and concatenate /bin/sh  only when
necessary.
b) Extend shell_execute(), do_execute() to pass the error generated by
my_system on failure. Execute the command plainly and in case of an error
caused by the mount options execute it once again with a concatenated shell.
c) Extend to pass error as in b). Test on init and set a parameter
(need_shell) so we don't have to do this test on every invokation of
shell_execute(). In case of failure because the mount option changed during
the session reset the parameter need_shell to new value and retry.

I would prefer the last option.


___

Reply to this item at:

  http://savannah.gnu.org/bugs/?func=detailitemitem_id=13832

___
  Message sent via/by Savannah
  http://savannah.gnu.org/

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Reconfigure bugzilla to only allow reports by logged in users

2005-07-30 Thread Leonard den Ottolander
Hi Pavel,

Would it be possible to reconfigure mc bugzilla so only logged in users
can post (to) bug reports. This makes it much easier to track the
reports. All it requires for the user is to create an account which only
requires him to supply a valid email address.

Maybe you could forward this request to the Savannah administrators? Or
I could contact them directly if you would introduce me to them. More
generally speaking I don't mind taking over some of the organizational
responsibilities of the project.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


[bug #13984] -P option in wrapper script doesn't work

2005-07-30 Thread Marcel Pol

URL:
  http://savannah.gnu.org/bugs/?func=detailitemitem_id=13984

 Summary: -P option in wrapper script doesn't work
 Project: GNU Midnight Commander
Submitted by: mpol
Submitted on: Sat 07/30/2005 at 21:51
Category: None
Severity: 3 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Release: current (CVS or snapshot)
Platform Version: GNU/Linux

___

Details:

In mc 4.6.1, the -P option in the wrapper script doesn't work.
Starting mc does make a TMPDIR (/tmp/mc-user) but it doesn't make a pwd file
with contents.
Running the wrapperscript manually doesn't change anything.

This is on Mandriva Cooker with glibc 2.3.4 and gcc 4.0.1.






___

Reply to this item at:

  http://savannah.gnu.org/bugs/?func=detailitemitem_id=13984

___
  Message sent via/by Savannah
  http://savannah.gnu.org/

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Debian Bug#320533: mc: crashes with bad address

2005-07-30 Thread Ludovic Drolez
Hi !

We received this bug report yesterday:

http://bugs.debian.org/320533

Bad address in a read(). Any clues ?

Cheers,

-- 
Ludovic Drolez.

http://www.palmopensource.com   - The PalmOS Open Source Portal
http://www.drolez.com  - Personal site - Linux and PalmOS stuff
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


[bug #13988] MC version 4.6.1 doesnt build on Mac OS X 10.3 when configured to use mcslang

2005-07-30 Thread anonymous

URL:
  http://savannah.gnu.org/bugs/?func=detailitemitem_id=13988

 Summary: MC version 4.6.1 doesnt build on Mac OS X 10.3 when
configured to use mcslang
 Project: GNU Midnight Commander
Submitted by: None
Submitted on: Sat 07/30/2005 at 18:34
Category: Core
Severity: 3 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Release: current (CVS or snapshot)
Platform Version: Other

___

Details:

After successful run of the configure script mc fails to build with numerous
undefined symbols. All of them are defined in slang/include/slang.h within the
ifdef's REAL_UNIX_SYSTEM.

Evenually I succeeded to build and run MC  4.6.1 after modifying the line 27
in slang.h. There I added check for __MACH__, so it became:
#if defined(unix) || defined(__unix) || defined (_AIX) || defined(__NetBSD__)
|| defined(__MACH__) 








___

Reply to this item at:

  http://savannah.gnu.org/bugs/?func=detailitemitem_id=13988

___
  Message sent via/by Savannah
  http://savannah.gnu.org/

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [bug #13734] viewer should save position mode per file

2005-07-30 Thread Roland Illig

/dev/rob0 wrote:

Roland Illig wrote:

Thus I have dozens of files listed with position 1;0 in filepos. 
Why are those saved at all? Would it be possible to save file 
position unless the position happens to be 1;0? Even #utar and 
other such temporary files have their position saved.



I just fixed that.



Excellent, thanks! Meaning just the position 1;0 issue, or that the 
VFS files are not saved, too?


Only the position issue.

Roland
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel