diff options
| author | Parag Nemade <pnemade@redhat.com> | 2020-11-22 12:13:27 +0000 | 
|---|---|---|
| committer | Tatsuya Kinoshita <tats@debian.org> | 2020-11-22 12:13:27 +0000 | 
| commit | f1fd7215d2e031679b64f647744bab3da710716c (patch) | |
| tree | 942baf52d62da59f3f32068ed191ae5f3e77d34c | |
| parent | Update ChangeLog (diff) | |
| download | w3m-f1fd7215d2e031679b64f647744bab3da710716c.tar.gz w3m-f1fd7215d2e031679b64f647744bab3da710716c.zip | |
Fix FTBFS due to redefinition of sys_errlist
Origin: https://src.fedoraproject.org/rpms/w3m/c/99f30870caac12a3949b6736aa70b7233f4414d5?branch=master
Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1038009
Bug-MacPorts: https://trac.macports.org/ticket/61356
| -rw-r--r-- | etc.c | 18 | ||||
| -rw-r--r-- | main.c | 4 | 
2 files changed, 0 insertions, 22 deletions
| @@ -634,24 +634,6 @@ strerror(int errno)  }  #endif				/* not HAVE_STRERROR */ -#ifndef HAVE_SYS_ERRLIST -char **sys_errlist; - -prepare_sys_errlist() -{ -    int i, n; - -    i = 1; -    while (strerror(i) != NULL) -	i++; -    n = i; -    sys_errlist = New_N(char *, n); -    sys_errlist[0] = ""; -    for (i = 1; i < n; i++) -	sys_errlist[i] = strerror(i); -} -#endif				/* not HAVE_SYS_ERRLIST */ -  int  next_status(char c, int *status)  { @@ -435,10 +435,6 @@ main(int argc, char **argv, char **envp)      textdomain(PACKAGE);  #endif -#ifndef HAVE_SYS_ERRLIST -    prepare_sys_errlist(); -#endif				/* not HAVE_SYS_ERRLIST */ -      NO_proxy_domains = newTextList();      fileToDelete = newTextList(); | 
