[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

CVS:dmake-deb/patches libtarget-fix.diff,NONE,1.1



Update of /cvs/debian-openoffice/dmake-deb/patches
In directory gluck:/tmp/cvs-serv11654/patches

Added Files:
	libtarget-fix.diff 
Log Message:
dmake (4.2+cvs20031009-3) unstable; urgency=low

  * Add patch by Richard Levitte: libtarget-fix.diff
    from IZ#20504.  Fixes problems with targets with .LIBRARY attribute.


--- NEW FILE: libtarget-fix.diff ---
>From issue#20504: dmake doesn't always update library targets (attribute .LIBRARY)
Patch by rlevitte@openoffice.org

User: waratah 
Date: 03/10/19 15:38:30

Modified:    dmake    Tag: cws_src680_ooo20031110 make.c
Log:
#i20504#  Correct processing of library code, not always built

Revision  Changes    Path
No                   revision

http://tools.openoffice.org/source/browse/tools/dmake/Tag:
No                   revision

http://tools.openoffice.org/source/browse/tools/dmake/cws_src680_ooo20031110
1.3.24.1  +3 -3      tools/dmake/make.c

http://tools.openoffice.org/source/browse/tools/dmake/make.c.diff?r1=1.3&r2=1.3.24.1

(In the diff below, changes in quantity of whitespace are not shown.)

Index: make.c
===================================================================
RCS file: /cvs/tools/dmake/make.c,v
retrieving revision 1.3
retrieving revision 1.3.24.1
diff -u -3 -p -r1.3 -r1.3.24.1
--- make.c	25 Mar 2003 14:02:12 -0000	1.3
+++ make.c	19 Oct 2003 22:38:29 -0000	1.3.24.1
@@ -584,7 +584,7 @@ CELLPTR setdirroot;
        * is newer then set the time stamps so that the archived member is
        * replaced. */
       if( cp->ce_attr & A_LIBRARY )
-	 if( tcp->ce_time < cp->ce_time ) {
+	 if( tcp->ce_time <= cp->ce_time ) {
 	    time_t mtime = Do_stat( name, tcp->ce_lib, NIL(char *), FALSE );
 	    if( mtime < tcp->ce_time ) tcp->ce_time = cp->ce_time+1L;
 	 }



Reply to: