unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#45645: Please revoke this commit: 7dd1a2174a8376c521dcf271e3b76f64096074fe
@ 2021-01-04  1:52 luhux
  2021-01-04 14:14 ` Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: luhux @ 2021-01-04  1:52 UTC (permalink / raw)
  To: 45645



Sorry for submitting the wrong patch.

Recently, when I checked the sdcv source code, I found that this environment variable does not support multiple paths and is separated by colons.


```
    const gchar *stardict_data_dir = g_getenv("STARDICT_DATA_DIR");
    std::string data_dir;
    if (!opt_data_dir) {
        if (!only_data_dir) {
            if (stardict_data_dir)
                data_dir = stardict_data_dir;
            else
                data_dir = "/usr/share/stardict/dic";
        }
    } else {
        data_dir = get_impl(opt_data_dir);
    }

```

Please revoke the content of this commit.

luhux




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#45645: Please revoke this commit: 7dd1a2174a8376c521dcf271e3b76f64096074fe
  2021-01-04  1:52 bug#45645: Please revoke this commit: 7dd1a2174a8376c521dcf271e3b76f64096074fe luhux
@ 2021-01-04 14:14 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2021-01-04 14:14 UTC (permalink / raw)
  To: luhux; +Cc: 45645

[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]

On Mon, Jan 04, 2021 at 09:52:38AM +0800, luhux wrote:
> 
> 
> Sorry for submitting the wrong patch.
> 
> Recently, when I checked the sdcv source code, I found that this environment variable does not support multiple paths and is separated by colons.
> 
> 
> ```
>     const gchar *stardict_data_dir = g_getenv("STARDICT_DATA_DIR");
>     std::string data_dir;
>     if (!opt_data_dir) {
>         if (!only_data_dir) {
>             if (stardict_data_dir)
>                 data_dir = stardict_data_dir;
>             else
>                 data_dir = "/usr/share/stardict/dic";
>         }
>     } else {
>         data_dir = get_impl(opt_data_dir);
>     }
> 
> ```
> 
> Please revoke the content of this commit.
> 
> luhux
> 

Do you have an easy test case? Something like 'guix environment --ad-hoc
sdvc stardict-en stardict-es -- sdvc'? I'd like to get it working. What
is it looking for, just one directory?

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-04 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-04  1:52 bug#45645: Please revoke this commit: 7dd1a2174a8376c521dcf271e3b76f64096074fe luhux
2021-01-04 14:14 ` Efraim Flashner

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git