[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] ccvs emx/ChangeLog emx/filesubr.c os2/ChangeLog...
From: |
Derek Robert Price |
Subject: |
[Cvs-cvs] ccvs emx/ChangeLog emx/filesubr.c os2/ChangeLog... |
Date: |
Thu, 06 Jul 2006 13:58:47 +0000 |
CVSROOT: /cvsroot/cvs
Module name: ccvs
Changes by: Derek Robert Price <dprice> 06/07/06 13:58:47
Modified files:
emx : ChangeLog filesubr.c
os2 : ChangeLog filesubr.c
vms : ChangeLog filesubr.c
windows-NT : ChangeLog filesubr.c
Log message:
* {emx,os2,vms,windows-NT}/filesubr.c (last_component): Remove, in
favor of GNULIB version from lib/basename.c.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ccvs/emx/ChangeLog?cvsroot=cvs&r1=1.46&r2=1.47
http://cvs.savannah.gnu.org/viewcvs/ccvs/emx/filesubr.c?cvsroot=cvs&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/ccvs/os2/ChangeLog?cvsroot=cvs&r1=1.206&r2=1.207
http://cvs.savannah.gnu.org/viewcvs/ccvs/os2/filesubr.c?cvsroot=cvs&r1=1.35&r2=1.36
http://cvs.savannah.gnu.org/viewcvs/ccvs/vms/ChangeLog?cvsroot=cvs&r1=1.108&r2=1.109
http://cvs.savannah.gnu.org/viewcvs/ccvs/vms/filesubr.c?cvsroot=cvs&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/ccvs/windows-NT/ChangeLog?cvsroot=cvs&r1=1.370&r2=1.371
http://cvs.savannah.gnu.org/viewcvs/ccvs/windows-NT/filesubr.c?cvsroot=cvs&r1=1.66&r2=1.67
Patches:
Index: emx/ChangeLog
===================================================================
RCS file: /cvsroot/cvs/ccvs/emx/ChangeLog,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- emx/ChangeLog 23 May 2006 17:02:49 -0000 1.46
+++ emx/ChangeLog 6 Jul 2006 13:58:46 -0000 1.47
@@ -1,3 +1,8 @@
+2006-07-06 Derek Price <address@hidden>
+
+ * filesubr.c (last_component): Remove, in favor of GNULIB version from
+ lib/basename.c.
+
2006-05-23 Mark D. Baushke <address@hidden>
* filesubr.c: Reformat according to HACKING standards.
Index: emx/filesubr.c
===================================================================
RCS file: /cvsroot/cvs/ccvs/emx/filesubr.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- emx/filesubr.c 23 May 2006 17:02:49 -0000 1.10
+++ emx/filesubr.c 6 Jul 2006 13:58:46 -0000 1.11
@@ -632,23 +632,6 @@
-/* Return a pointer into PATH's last component. */
-char *
-last_component (char *path)
-{
- char *last;
-
- /* We can't be sure here if 'path' is already slashified. */
- _fnslashify (path);
-
- last = strrchr (path, '/');
-
- if (last && (last != path))
- return last + 1;
- else
- return path;
-}
-
/* Return the home directory. Returns a pointer to storage
managed by this function or its callees (currently getenv).
This function will return the same thing every time it is
Index: os2/ChangeLog
===================================================================
RCS file: /cvsroot/cvs/ccvs/os2/ChangeLog,v
retrieving revision 1.206
retrieving revision 1.207
diff -u -b -r1.206 -r1.207
--- os2/ChangeLog 23 May 2006 17:39:26 -0000 1.206
+++ os2/ChangeLog 6 Jul 2006 13:58:46 -0000 1.207
@@ -1,3 +1,8 @@
+2006-07-06 Derek Price <address@hidden>
+
+ * filesubr.c (last_component): Remove, in favor of GNULIB version from
+ lib/basename.c.
+
2006-05-23 Mark D. Baushke <address@hidden>
* filesubr.c: Reformat according to HACKING standards.
Index: os2/filesubr.c
===================================================================
RCS file: /cvsroot/cvs/ccvs/os2/filesubr.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- os2/filesubr.c 23 May 2006 17:39:26 -0000 1.35
+++ os2/filesubr.c 6 Jul 2006 13:58:46 -0000 1.36
@@ -732,24 +732,6 @@
-/* Return a pointer into PATH's last component. */
-char *
-last_component (char *path)
-{
- char *scan;
- char *last = 0;
-
- for (scan = path; *scan; scan++)
- if (ISDIRSEP (*scan))
- last = scan;
-
- if (last && (last != path))
- return last + 1;
- else
- return path;
-}
-
-
/* Return the home directory. Returns a pointer to storage
managed by this function or its callees (currently getenv). */
char *
Index: vms/ChangeLog
===================================================================
RCS file: /cvsroot/cvs/ccvs/vms/ChangeLog,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -b -r1.108 -r1.109
--- vms/ChangeLog 23 May 2006 17:46:43 -0000 1.108
+++ vms/ChangeLog 6 Jul 2006 13:58:46 -0000 1.109
@@ -1,3 +1,8 @@
+2006-07-06 Derek Price <address@hidden>
+
+ * filesubr.c (last_component): Remove, in favor of GNULIB version from
+ lib/basename.c.
+
2006-05-23 Mark D. Baushke <address@hidden>
* filesubr.c: Reformat according to HACKING standards.
Index: vms/filesubr.c
===================================================================
RCS file: /cvsroot/cvs/ccvs/vms/filesubr.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- vms/filesubr.c 23 May 2006 17:46:43 -0000 1.23
+++ vms/filesubr.c 6 Jul 2006 13:58:47 -0000 1.24
@@ -859,20 +859,6 @@
-/* Return a pointer into PATH's last component. */
-const char *
-last_component (char *path)
-{
- char *last = strrchr (path, '/');
-
- if (last && (last != path))
- return last + 1;
- else
- return path;
-}
-
-
-
/* Return the home directory. Returns a pointer to storage
managed by this function or its callees (currently getenv). */
char *
Index: windows-NT/ChangeLog
===================================================================
RCS file: /cvsroot/cvs/ccvs/windows-NT/ChangeLog,v
retrieving revision 1.370
retrieving revision 1.371
diff -u -b -r1.370 -r1.371
--- windows-NT/ChangeLog 28 Jun 2006 19:09:27 -0000 1.370
+++ windows-NT/ChangeLog 6 Jul 2006 13:58:47 -0000 1.371
@@ -1,3 +1,8 @@
+2006-07-06 Derek Price <address@hidden>
+
+ * filesubr.c (last_component): Remove, in favor of GNULIB version from
+ lib/basename.c.
+
2006-06-28 Derek Price <address@hidden>
* config.h.in.in [HAVE_UTIME_NULL]: Remove to sync with configure.in.
Index: windows-NT/filesubr.c
===================================================================
RCS file: /cvsroot/cvs/ccvs/windows-NT/filesubr.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -b -r1.66 -r1.67
--- windows-NT/filesubr.c 12 Jun 2006 02:33:47 -0000 1.66
+++ windows-NT/filesubr.c 6 Jul 2006 13:58:47 -0000 1.67
@@ -783,24 +783,6 @@
-/* Return a pointer into PATH's last component. */
-const char *
-last_component (const char *path)
-{
- const char *scan;
- const char *last = 0;
-
- for (scan = path; *scan; scan++)
- if (ISSLASH (*scan))
- last = scan;
-
- if (last && (last != path))
- return last + 1;
- else
- return path;
-}
-
-
/* NT has two evironment variables, HOMEPATH and HOMEDRIVE, which,
when combined as ${HOMEDRIVE}${HOMEPATH}, give the unix equivalent
of HOME. Some NT users are just too unixy, though, and set the
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Cvs-cvs] ccvs emx/ChangeLog emx/filesubr.c os2/ChangeLog...,
Derek Robert Price <=