Package: csh / 20240808-2

Metadata

Package Version Patches format
csh 20240808-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_gnu_source.diff | (download)

Makefile | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 define _gnu_source to enable bsd and gnu features
02_libbsd.diff | (download)

Makefile | 1 1 0 - 0 !
csh.c | 3 2 1 - 0 !
dir.c | 1 1 0 - 0 !
glob.c | 1 1 0 - 0 !
sem.c | 1 1 0 - 0 !
str.c | 2 1 1 - 0 !
6 files changed, 7 insertions( ), 2 deletions(-)

 use libbsd for strlcpy, vis
  publib needed for xfree,xrealloc
03_maxpathlen.diff | (download)

csh.h | 4 4 0 - 0 !
1 file changed, 4 insertions( )

 define maxpathlen if missing (e.g. on the hurd)
Bug-Debian: http://bugs.debian.org/54993
04_fpurge.diff | (download)

csh.h | 3 3 0 - 0 !
1 file changed, 3 insertions( )

 replace bsd-specific fpurge with gnu-specific __fpurge
05_fhs_pathnames.diff | (download)

pathnames.h | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 adjust pathnames for fhs
06_time_h_for_time_t.diff | (download)

csh.c | 1 1 0 - 0 !
1 file changed, 1 insertion( )

 include <time.h> for time_t etc.
07_funopen.diff | (download)

csh.c | 22 10 12 - 0 !
1 file changed, 10 insertions( ), 12 deletions(-)

 replace bsd-specific funopen with gnu-specific fopencookie
08_glob.diff | (download)

glob.c | 109 81 28 - 0 !
1 file changed, 81 insertions( ), 28 deletions(-)

 adjust for differences between bsd and gnu glob
 See detailed code comments.
Bug-Debian: http://bugs.debian.org/88780
Bug-Debian: http://bugs.debian.org/106097
Bug-Debian: http://bugs.debian.org/220170
Bug-Debian: http://bugs.debian.org/350869
Bug-GNU: http://sourceware.org/bugzilla/show_bug.cgi?id=1342
09_sys_signame.diff | (download)

proc.c | 29 18 11 - 0 !
1 file changed, 18 insertions( ), 11 deletions(-)

 replace bsd-specific sys_signame with gnu-specific strsignal
10_groff_no_sgr.diff | (download)

USD.doc/Makefile | 1 1 0 - 0 !
1 file changed, 1 insertion( )

 enable groff_no_sgr for traditional (non-ansi) escape sequences
11_groff_schar.diff | (download)

USD.doc/csh.1 | 8 8 0 - 0 !
1 file changed, 8 insertions( )

 make footnote marks legible in csh.txt
 Symptoms:
 .
  csh.2:296: warning: can't find special character `dg'
  csh.2:542: warning: can't find special character `dd'
Bug: http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=6604
13_fix_arithmetic_precedence.diff | (download)

exp.c | 12 6 6 - 0 !
1 file changed, 6 insertions( ), 6 deletions(-)

 fix arithmetic precedence for consecutive addop or mulop
14_makefile.patch | (download)

Makefile | 2 2 0 - 0 !
1 file changed, 2 insertions( )

---
glibc strsignal.diff | (download)

proc.c | 3 1 2 - 0 !
1 file changed, 1 insertion( ), 2 deletions(-)

 use strsignal() in favor of sys_siglist[]
 The sys_siglist, _sys_siglist and sys_sigabbrev arrays have been deprecated.
 All programs should use strsignal() instead.
 .
missing_tiocstat.patch | (download)

file.c | 8 7 1 - 0 !
1 file changed, 7 insertions( ), 1 deletion(-)

---
no_pledge.patch | (download)

csh.c | 6 0 6 - 0 !
1 file changed, 6 deletions(-)

---
g 14.patch | (download)

csh.c | 8 4 4 - 0 !
glob.c | 1 1 0 - 0 !
proc.c | 4 3 1 - 0 !
time.c | 2 2 0 - 0 !
4 files changed, 10 insertions( ), 5 deletions(-)

 fix ftbfs with g  -14 (no implicit declarations)